26typedef enum pm_token_type {
43 PM_TOKEN_KEYWORD_ELSE,
46 PM_TOKEN_KEYWORD_ELSIF,
52 PM_TOKEN_KEYWORD_ENSURE,
58 PM_TOKEN_KEYWORD_RESCUE,
61 PM_TOKEN_KEYWORD_THEN,
64 PM_TOKEN_KEYWORD_WHEN,
70 PM_TOKEN_PARENTHESIS_RIGHT,
82 PM_TOKEN_AMPERSAND_AMPERSAND,
85 PM_TOKEN_AMPERSAND_AMPERSAND_EQUAL,
88 PM_TOKEN_AMPERSAND_DOT,
91 PM_TOKEN_AMPERSAND_EQUAL,
97 PM_TOKEN_BACK_REFERENCE,
112 PM_TOKEN_BRACKET_LEFT,
115 PM_TOKEN_BRACKET_LEFT_ARRAY,
118 PM_TOKEN_BRACKET_LEFT_RIGHT,
121 PM_TOKEN_BRACKET_LEFT_RIGHT_EQUAL,
124 PM_TOKEN_BRACKET_RIGHT,
130 PM_TOKEN_CARET_EQUAL,
133 PM_TOKEN_CHARACTER_LITERAL,
136 PM_TOKEN_CLASS_VARIABLE,
142 PM_TOKEN_COLON_COLON,
157 PM_TOKEN_DOT_DOT_DOT,
160 PM_TOKEN_EMBDOC_BEGIN,
166 PM_TOKEN_EMBDOC_LINE,
169 PM_TOKEN_EMBEXPR_BEGIN,
178 PM_TOKEN_EQUAL_EQUAL,
181 PM_TOKEN_EQUAL_EQUAL_EQUAL,
184 PM_TOKEN_EQUAL_GREATER,
187 PM_TOKEN_EQUAL_TILDE,
193 PM_TOKEN_FLOAT_IMAGINARY,
196 PM_TOKEN_FLOAT_RATIONAL,
199 PM_TOKEN_FLOAT_RATIONAL_IMAGINARY,
202 PM_TOKEN_GLOBAL_VARIABLE,
208 PM_TOKEN_GREATER_EQUAL,
211 PM_TOKEN_GREATER_GREATER,
214 PM_TOKEN_GREATER_GREATER_EQUAL,
217 PM_TOKEN_HEREDOC_END,
220 PM_TOKEN_HEREDOC_START,
226 PM_TOKEN_IGNORED_NEWLINE,
229 PM_TOKEN_INSTANCE_VARIABLE,
235 PM_TOKEN_INTEGER_IMAGINARY,
238 PM_TOKEN_INTEGER_RATIONAL,
241 PM_TOKEN_INTEGER_RATIONAL_IMAGINARY,
244 PM_TOKEN_KEYWORD_ALIAS,
247 PM_TOKEN_KEYWORD_AND,
250 PM_TOKEN_KEYWORD_BEGIN,
253 PM_TOKEN_KEYWORD_BEGIN_UPCASE,
256 PM_TOKEN_KEYWORD_BREAK,
259 PM_TOKEN_KEYWORD_CASE,
262 PM_TOKEN_KEYWORD_CLASS,
265 PM_TOKEN_KEYWORD_DEF,
268 PM_TOKEN_KEYWORD_DEFINED,
271 PM_TOKEN_KEYWORD_DO_LOOP,
274 PM_TOKEN_KEYWORD_END_UPCASE,
277 PM_TOKEN_KEYWORD_FALSE,
280 PM_TOKEN_KEYWORD_FOR,
286 PM_TOKEN_KEYWORD_IF_MODIFIER,
289 PM_TOKEN_KEYWORD_MODULE,
292 PM_TOKEN_KEYWORD_NEXT,
295 PM_TOKEN_KEYWORD_NIL,
298 PM_TOKEN_KEYWORD_NOT,
304 PM_TOKEN_KEYWORD_REDO,
307 PM_TOKEN_KEYWORD_RESCUE_MODIFIER,
310 PM_TOKEN_KEYWORD_RETRY,
313 PM_TOKEN_KEYWORD_RETURN,
316 PM_TOKEN_KEYWORD_SELF,
319 PM_TOKEN_KEYWORD_SUPER,
322 PM_TOKEN_KEYWORD_TRUE,
325 PM_TOKEN_KEYWORD_UNDEF,
328 PM_TOKEN_KEYWORD_UNLESS,
331 PM_TOKEN_KEYWORD_UNLESS_MODIFIER,
334 PM_TOKEN_KEYWORD_UNTIL,
337 PM_TOKEN_KEYWORD_UNTIL_MODIFIER,
340 PM_TOKEN_KEYWORD_WHILE,
343 PM_TOKEN_KEYWORD_WHILE_MODIFIER,
346 PM_TOKEN_KEYWORD_YIELD,
349 PM_TOKEN_KEYWORD___ENCODING__,
352 PM_TOKEN_KEYWORD___FILE__,
355 PM_TOKEN_KEYWORD___LINE__,
364 PM_TOKEN_LAMBDA_BEGIN,
373 PM_TOKEN_LESS_EQUAL_GREATER,
379 PM_TOKEN_LESS_LESS_EQUAL,
382 PM_TOKEN_METHOD_NAME,
388 PM_TOKEN_MINUS_EQUAL,
391 PM_TOKEN_MINUS_GREATER,
394 PM_TOKEN_NUMBERED_REFERENCE,
397 PM_TOKEN_PARENTHESIS_LEFT,
400 PM_TOKEN_PARENTHESIS_LEFT_PARENTHESES,
406 PM_TOKEN_PERCENT_EQUAL,
409 PM_TOKEN_PERCENT_LOWER_I,
412 PM_TOKEN_PERCENT_LOWER_W,
415 PM_TOKEN_PERCENT_LOWER_X,
418 PM_TOKEN_PERCENT_UPPER_I,
421 PM_TOKEN_PERCENT_UPPER_W,
430 PM_TOKEN_PIPE_PIPE_EQUAL,
439 PM_TOKEN_QUESTION_MARK,
442 PM_TOKEN_REGEXP_BEGIN,
451 PM_TOKEN_SLASH_EQUAL,
463 PM_TOKEN_STAR_STAR_EQUAL,
466 PM_TOKEN_STRING_BEGIN,
469 PM_TOKEN_STRING_CONTENT,
475 PM_TOKEN_SYMBOL_BEGIN,
484 PM_TOKEN_UCOLON_COLON,
490 PM_TOKEN_UDOT_DOT_DOT,
569 PM_ALIAS_GLOBAL_VARIABLE_NODE = 1,
572 PM_ALIAS_METHOD_NODE = 2,
575 PM_ALTERNATION_PATTERN_NODE = 3,
581 PM_ARGUMENTS_NODE = 5,
587 PM_ARRAY_PATTERN_NODE = 7,
593 PM_ASSOC_SPLAT_NODE = 9,
596 PM_BACK_REFERENCE_READ_NODE = 10,
602 PM_BLOCK_ARGUMENT_NODE = 12,
605 PM_BLOCK_LOCAL_VARIABLE_NODE = 13,
611 PM_BLOCK_PARAMETER_NODE = 15,
614 PM_BLOCK_PARAMETERS_NODE = 16,
620 PM_CALL_AND_WRITE_NODE = 18,
626 PM_CALL_OPERATOR_WRITE_NODE = 20,
629 PM_CALL_OR_WRITE_NODE = 21,
632 PM_CALL_TARGET_NODE = 22,
635 PM_CAPTURE_PATTERN_NODE = 23,
638 PM_CASE_MATCH_NODE = 24,
647 PM_CLASS_VARIABLE_AND_WRITE_NODE = 27,
650 PM_CLASS_VARIABLE_OPERATOR_WRITE_NODE = 28,
653 PM_CLASS_VARIABLE_OR_WRITE_NODE = 29,
656 PM_CLASS_VARIABLE_READ_NODE = 30,
659 PM_CLASS_VARIABLE_TARGET_NODE = 31,
662 PM_CLASS_VARIABLE_WRITE_NODE = 32,
665 PM_CONSTANT_AND_WRITE_NODE = 33,
668 PM_CONSTANT_OPERATOR_WRITE_NODE = 34,
671 PM_CONSTANT_OR_WRITE_NODE = 35,
674 PM_CONSTANT_PATH_AND_WRITE_NODE = 36,
677 PM_CONSTANT_PATH_NODE = 37,
680 PM_CONSTANT_PATH_OPERATOR_WRITE_NODE = 38,
683 PM_CONSTANT_PATH_OR_WRITE_NODE = 39,
686 PM_CONSTANT_PATH_TARGET_NODE = 40,
689 PM_CONSTANT_PATH_WRITE_NODE = 41,
692 PM_CONSTANT_READ_NODE = 42,
695 PM_CONSTANT_TARGET_NODE = 43,
698 PM_CONSTANT_WRITE_NODE = 44,
704 PM_DEFINED_NODE = 46,
710 PM_EMBEDDED_STATEMENTS_NODE = 48,
713 PM_EMBEDDED_VARIABLE_NODE = 49,
722 PM_FIND_PATTERN_NODE = 52,
725 PM_FLIP_FLOP_NODE = 53,
734 PM_FORWARDING_ARGUMENTS_NODE = 56,
737 PM_FORWARDING_PARAMETER_NODE = 57,
740 PM_FORWARDING_SUPER_NODE = 58,
743 PM_GLOBAL_VARIABLE_AND_WRITE_NODE = 59,
746 PM_GLOBAL_VARIABLE_OPERATOR_WRITE_NODE = 60,
749 PM_GLOBAL_VARIABLE_OR_WRITE_NODE = 61,
752 PM_GLOBAL_VARIABLE_READ_NODE = 62,
755 PM_GLOBAL_VARIABLE_TARGET_NODE = 63,
758 PM_GLOBAL_VARIABLE_WRITE_NODE = 64,
764 PM_HASH_PATTERN_NODE = 66,
770 PM_IMAGINARY_NODE = 68,
773 PM_IMPLICIT_NODE = 69,
776 PM_IMPLICIT_REST_NODE = 70,
782 PM_INDEX_AND_WRITE_NODE = 72,
785 PM_INDEX_OPERATOR_WRITE_NODE = 73,
788 PM_INDEX_OR_WRITE_NODE = 74,
791 PM_INDEX_TARGET_NODE = 75,
794 PM_INSTANCE_VARIABLE_AND_WRITE_NODE = 76,
797 PM_INSTANCE_VARIABLE_OPERATOR_WRITE_NODE = 77,
800 PM_INSTANCE_VARIABLE_OR_WRITE_NODE = 78,
803 PM_INSTANCE_VARIABLE_READ_NODE = 79,
806 PM_INSTANCE_VARIABLE_TARGET_NODE = 80,
809 PM_INSTANCE_VARIABLE_WRITE_NODE = 81,
812 PM_INTEGER_NODE = 82,
815 PM_INTERPOLATED_MATCH_LAST_LINE_NODE = 83,
818 PM_INTERPOLATED_REGULAR_EXPRESSION_NODE = 84,
821 PM_INTERPOLATED_STRING_NODE = 85,
824 PM_INTERPOLATED_SYMBOL_NODE = 86,
827 PM_INTERPOLATED_X_STRING_NODE = 87,
830 PM_IT_LOCAL_VARIABLE_READ_NODE = 88,
833 PM_IT_PARAMETERS_NODE = 89,
836 PM_KEYWORD_HASH_NODE = 90,
839 PM_KEYWORD_REST_PARAMETER_NODE = 91,
845 PM_LOCAL_VARIABLE_AND_WRITE_NODE = 93,
848 PM_LOCAL_VARIABLE_OPERATOR_WRITE_NODE = 94,
851 PM_LOCAL_VARIABLE_OR_WRITE_NODE = 95,
854 PM_LOCAL_VARIABLE_READ_NODE = 96,
857 PM_LOCAL_VARIABLE_TARGET_NODE = 97,
860 PM_LOCAL_VARIABLE_WRITE_NODE = 98,
863 PM_MATCH_LAST_LINE_NODE = 99,
866 PM_MATCH_PREDICATE_NODE = 100,
869 PM_MATCH_REQUIRED_NODE = 101,
872 PM_MATCH_WRITE_NODE = 102,
875 PM_MISSING_NODE = 103,
878 PM_MODULE_NODE = 104,
881 PM_MULTI_TARGET_NODE = 105,
884 PM_MULTI_WRITE_NODE = 106,
893 PM_NO_BLOCK_PARAMETER_NODE = 109,
896 PM_NO_KEYWORDS_PARAMETER_NODE = 110,
899 PM_NUMBERED_PARAMETERS_NODE = 111,
902 PM_NUMBERED_REFERENCE_READ_NODE = 112,
905 PM_OPTIONAL_KEYWORD_PARAMETER_NODE = 113,
908 PM_OPTIONAL_PARAMETER_NODE = 114,
914 PM_PARAMETERS_NODE = 116,
917 PM_PARENTHESES_NODE = 117,
920 PM_PINNED_EXPRESSION_NODE = 118,
923 PM_PINNED_VARIABLE_NODE = 119,
926 PM_POST_EXECUTION_NODE = 120,
929 PM_PRE_EXECUTION_NODE = 121,
932 PM_PROGRAM_NODE = 122,
938 PM_RATIONAL_NODE = 124,
944 PM_REGULAR_EXPRESSION_NODE = 126,
947 PM_REQUIRED_KEYWORD_PARAMETER_NODE = 127,
950 PM_REQUIRED_PARAMETER_NODE = 128,
953 PM_RESCUE_MODIFIER_NODE = 129,
956 PM_RESCUE_NODE = 130,
959 PM_REST_PARAMETER_NODE = 131,
965 PM_RETURN_NODE = 133,
971 PM_SHAREABLE_CONSTANT_NODE = 135,
974 PM_SINGLETON_CLASS_NODE = 136,
977 PM_SOURCE_ENCODING_NODE = 137,
980 PM_SOURCE_FILE_NODE = 138,
983 PM_SOURCE_LINE_NODE = 139,
989 PM_STATEMENTS_NODE = 141,
992 PM_STRING_NODE = 142,
998 PM_SYMBOL_NODE = 144,
1004 PM_UNDEF_NODE = 146,
1007 PM_UNLESS_NODE = 147,
1010 PM_UNTIL_NODE = 148,
1016 PM_WHILE_NODE = 150,
1019 PM_X_STRING_NODE = 151,
1022 PM_YIELD_NODE = 152,
1032typedef uint16_t pm_node_type_t;
1038typedef uint16_t pm_node_flags_t;
1044static const pm_node_flags_t PM_NODE_FLAG_NEWLINE = 0x1;
1045static const pm_node_flags_t PM_NODE_FLAG_STATIC_LITERAL = 0x2;
1080#define PM_NODE_UPCAST(node_) ((pm_node_t *) (node_))
1086#define PM_NODE_TYPE(node_) ((enum pm_node_type) (node_)->type)
1091#define PM_NODE_TYPE_P(node_, type_) (PM_NODE_TYPE(node_) == (type_))
1096#define PM_NODE_FLAGS(node_) (PM_NODE_UPCAST(node_)->flags)
1101#define PM_NODE_FLAG_P(node_, flag_) ((PM_NODE_FLAGS(node_) & (flag_)) != 0)
1107#define PM_NODE_ALIGNAS __declspec(align(8))
1109#define PM_NODE_ALIGNAS PRISM_ALIGNAS(PRISM_ALIGNOF(void *))
7892typedef enum pm_arguments_node_flags {
7894 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_FORWARDING = 4,
7897 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_KEYWORDS = 8,
7900 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_KEYWORD_SPLAT = 16,
7903 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_SPLAT = 32,
7906 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_MULTIPLE_SPLATS = 64,
7908 PM_ARGUMENTS_NODE_FLAGS_LAST,
7909} pm_arguments_node_flags_t;
7914typedef enum pm_array_node_flags {
7916 PM_ARRAY_NODE_FLAGS_CONTAINS_SPLAT = 4,
7918 PM_ARRAY_NODE_FLAGS_LAST,
7919} pm_array_node_flags_t;
7924typedef enum pm_call_node_flags {
7926 PM_CALL_NODE_FLAGS_SAFE_NAVIGATION = 4,
7929 PM_CALL_NODE_FLAGS_VARIABLE_CALL = 8,
7932 PM_CALL_NODE_FLAGS_ATTRIBUTE_WRITE = 16,
7935 PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY = 32,
7937 PM_CALL_NODE_FLAGS_LAST,
7938} pm_call_node_flags_t;
7943typedef enum pm_encoding_flags {
7945 PM_ENCODING_FLAGS_FORCED_UTF8_ENCODING = 4,
7948 PM_ENCODING_FLAGS_FORCED_BINARY_ENCODING = 8,
7950 PM_ENCODING_FLAGS_LAST,
7951} pm_encoding_flags_t;
7956typedef enum pm_integer_base_flags {
7958 PM_INTEGER_BASE_FLAGS_BINARY = 4,
7961 PM_INTEGER_BASE_FLAGS_DECIMAL = 8,
7964 PM_INTEGER_BASE_FLAGS_OCTAL = 16,
7967 PM_INTEGER_BASE_FLAGS_HEXADECIMAL = 32,
7969 PM_INTEGER_BASE_FLAGS_LAST,
7970} pm_integer_base_flags_t;
7975typedef enum pm_interpolated_string_node_flags {
7977 PM_INTERPOLATED_STRING_NODE_FLAGS_FROZEN = 4,
7980 PM_INTERPOLATED_STRING_NODE_FLAGS_MUTABLE = 8,
7982 PM_INTERPOLATED_STRING_NODE_FLAGS_LAST,
7983} pm_interpolated_string_node_flags_t;
7988typedef enum pm_keyword_hash_node_flags {
7990 PM_KEYWORD_HASH_NODE_FLAGS_SYMBOL_KEYS = 4,
7992 PM_KEYWORD_HASH_NODE_FLAGS_LAST,
7993} pm_keyword_hash_node_flags_t;
7998typedef enum pm_loop_flags {
8000 PM_LOOP_FLAGS_BEGIN_MODIFIER = 4,
8008typedef enum pm_parameter_flags {
8010 PM_PARAMETER_FLAGS_REPEATED_PARAMETER = 4,
8012 PM_PARAMETER_FLAGS_LAST,
8013} pm_parameter_flags_t;
8018typedef enum pm_parentheses_node_flags {
8020 PM_PARENTHESES_NODE_FLAGS_MULTIPLE_STATEMENTS = 4,
8022 PM_PARENTHESES_NODE_FLAGS_LAST,
8023} pm_parentheses_node_flags_t;
8028typedef enum pm_range_flags {
8030 PM_RANGE_FLAGS_EXCLUDE_END = 4,
8032 PM_RANGE_FLAGS_LAST,
8038typedef enum pm_regular_expression_flags {
8040 PM_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE = 4,
8043 PM_REGULAR_EXPRESSION_FLAGS_EXTENDED = 8,
8046 PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE = 16,
8049 PM_REGULAR_EXPRESSION_FLAGS_ONCE = 32,
8052 PM_REGULAR_EXPRESSION_FLAGS_EUC_JP = 64,
8055 PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT = 128,
8058 PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J = 256,
8061 PM_REGULAR_EXPRESSION_FLAGS_UTF_8 = 512,
8064 PM_REGULAR_EXPRESSION_FLAGS_FORCED_UTF8_ENCODING = 1024,
8067 PM_REGULAR_EXPRESSION_FLAGS_FORCED_BINARY_ENCODING = 2048,
8070 PM_REGULAR_EXPRESSION_FLAGS_FORCED_US_ASCII_ENCODING = 4096,
8072 PM_REGULAR_EXPRESSION_FLAGS_LAST,
8073} pm_regular_expression_flags_t;
8078typedef enum pm_shareable_constant_node_flags {
8080 PM_SHAREABLE_CONSTANT_NODE_FLAGS_LITERAL = 4,
8083 PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_EVERYTHING = 8,
8086 PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_COPY = 16,
8088 PM_SHAREABLE_CONSTANT_NODE_FLAGS_LAST,
8089} pm_shareable_constant_node_flags_t;
8094typedef enum pm_string_flags {
8096 PM_STRING_FLAGS_FORCED_UTF8_ENCODING = 4,
8099 PM_STRING_FLAGS_FORCED_BINARY_ENCODING = 8,
8102 PM_STRING_FLAGS_FROZEN = 16,
8105 PM_STRING_FLAGS_MUTABLE = 32,
8107 PM_STRING_FLAGS_LAST,
8113typedef enum pm_symbol_flags {
8115 PM_SYMBOL_FLAGS_FORCED_UTF8_ENCODING = 4,
8118 PM_SYMBOL_FLAGS_FORCED_BINARY_ENCODING = 8,
8121 PM_SYMBOL_FLAGS_FORCED_US_ASCII_ENCODING = 16,
8123 PM_SYMBOL_FLAGS_LAST,
8132#define PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS 0
A data structure that stores a set of strings.
uint32_t pm_constant_id_t
A constant id is a unique identifier for a constant in the constant pool.
This module provides functions for working with arbitrary-sized integers.
A generic string type that can have various ownership semantics.
Macro definitions used throughout the prism library.
PM_NODE_ALIGNAS struct pm_node * new_name
AliasGlobalVariableNode::new_name.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
AliasGlobalVariableNode::keyword_loc.
PM_NODE_ALIGNAS struct pm_node * old_name
AliasGlobalVariableNode::old_name.
PM_NODE_ALIGNAS struct pm_node * old_name
AliasMethodNode::old_name.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
AliasMethodNode::keyword_loc.
PM_NODE_ALIGNAS struct pm_node * new_name
AliasMethodNode::new_name.
pm_location_t operator_loc
AlternationPatternNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * left
AlternationPatternNode::left.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * right
AlternationPatternNode::right.
PM_NODE_ALIGNAS struct pm_node * left
AndNode::left.
PM_NODE_ALIGNAS struct pm_node * right
AndNode::right.
pm_location_t operator_loc
AndNode::operator_loc.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
struct pm_node_list arguments
ArgumentsNode::arguments.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
ArrayNode::closing_loc.
struct pm_node_list elements
ArrayNode::elements.
pm_location_t opening_loc
ArrayNode::opening_loc.
struct pm_node_list requireds
ArrayPatternNode::requireds.
PM_NODE_ALIGNAS struct pm_node * rest
ArrayPatternNode::rest.
PM_NODE_ALIGNAS struct pm_node * constant
ArrayPatternNode::constant.
pm_location_t opening_loc
ArrayPatternNode::opening_loc.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
ArrayPatternNode::closing_loc.
struct pm_node_list posts
ArrayPatternNode::posts.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
AssocNode::value.
PM_NODE_ALIGNAS struct pm_node * key
AssocNode::key.
pm_location_t operator_loc
AssocNode::operator_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
AssocSplatNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
AssocSplatNode::value.
pm_constant_id_t name
BackReferenceReadNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_else_node * else_clause
BeginNode::else_clause.
PM_NODE_ALIGNAS struct pm_ensure_node * ensure_clause
BeginNode::ensure_clause.
PM_NODE_ALIGNAS struct pm_statements_node * statements
BeginNode::statements.
PM_NODE_ALIGNAS struct pm_rescue_node * rescue_clause
BeginNode::rescue_clause.
pm_node_t base
The embedded base node.
pm_location_t end_keyword_loc
BeginNode::end_keyword_loc.
pm_location_t begin_keyword_loc
BeginNode::begin_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * expression
BlockArgumentNode::expression.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
BlockArgumentNode::operator_loc.
pm_node_t base
The embedded base node.
pm_constant_id_t name
BlockLocalVariableNode::name.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
BlockNode::closing_loc.
PM_NODE_ALIGNAS struct pm_node * parameters
BlockNode::parameters.
pm_location_t opening_loc
BlockNode::opening_loc.
pm_constant_id_list_t locals
BlockNode::locals.
PM_NODE_ALIGNAS struct pm_node * body
BlockNode::body.
pm_location_t operator_loc
BlockParameterNode::operator_loc.
pm_location_t name_loc
BlockParameterNode::name_loc.
pm_constant_id_t name
BlockParameterNode::name.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
struct pm_node_list locals
BlockParametersNode::locals.
PM_NODE_ALIGNAS struct pm_parameters_node * parameters
BlockParametersNode::parameters.
pm_location_t closing_loc
BlockParametersNode::closing_loc.
pm_location_t opening_loc
BlockParametersNode::opening_loc.
pm_location_t keyword_loc
BreakNode::keyword_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
BreakNode::arguments.
pm_location_t operator_loc
CallAndWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * receiver
CallAndWriteNode::receiver.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
CallAndWriteNode::value.
pm_location_t call_operator_loc
CallAndWriteNode::call_operator_loc.
pm_location_t message_loc
CallAndWriteNode::message_loc.
pm_constant_id_t read_name
CallAndWriteNode::read_name.
pm_constant_id_t write_name
CallAndWriteNode::write_name.
pm_location_t opening_loc
CallNode::opening_loc.
pm_location_t closing_loc
CallNode::closing_loc.
pm_constant_id_t name
CallNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
CallNode::arguments.
pm_location_t equal_loc
CallNode::equal_loc.
pm_location_t call_operator_loc
CallNode::call_operator_loc.
pm_location_t message_loc
CallNode::message_loc.
PM_NODE_ALIGNAS struct pm_node * block
CallNode::block.
PM_NODE_ALIGNAS struct pm_node * receiver
CallNode::receiver.
pm_constant_id_t read_name
CallOperatorWriteNode::read_name.
pm_constant_id_t binary_operator
CallOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
CallOperatorWriteNode::binary_operator_loc.
pm_node_t base
The embedded base node.
pm_constant_id_t write_name
CallOperatorWriteNode::write_name.
pm_location_t message_loc
CallOperatorWriteNode::message_loc.
PM_NODE_ALIGNAS struct pm_node * receiver
CallOperatorWriteNode::receiver.
PM_NODE_ALIGNAS struct pm_node * value
CallOperatorWriteNode::value.
pm_location_t call_operator_loc
CallOperatorWriteNode::call_operator_loc.
pm_location_t operator_loc
CallOrWriteNode::operator_loc.
pm_location_t call_operator_loc
CallOrWriteNode::call_operator_loc.
PM_NODE_ALIGNAS struct pm_node * receiver
CallOrWriteNode::receiver.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
CallOrWriteNode::value.
pm_constant_id_t write_name
CallOrWriteNode::write_name.
pm_constant_id_t read_name
CallOrWriteNode::read_name.
pm_location_t message_loc
CallOrWriteNode::message_loc.
pm_node_t base
The embedded base node.
pm_constant_id_t name
CallTargetNode::name.
PM_NODE_ALIGNAS struct pm_node * receiver
CallTargetNode::receiver.
pm_location_t call_operator_loc
CallTargetNode::call_operator_loc.
pm_location_t message_loc
CallTargetNode::message_loc.
pm_location_t operator_loc
CapturePatternNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
CapturePatternNode::value.
PM_NODE_ALIGNAS struct pm_local_variable_target_node * target
CapturePatternNode::target.
pm_location_t end_keyword_loc
CaseMatchNode::end_keyword_loc.
struct pm_node_list conditions
CaseMatchNode::conditions.
pm_node_t base
The embedded base node.
pm_location_t case_keyword_loc
CaseMatchNode::case_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * predicate
CaseMatchNode::predicate.
PM_NODE_ALIGNAS struct pm_else_node * else_clause
CaseMatchNode::else_clause.
PM_NODE_ALIGNAS struct pm_else_node * else_clause
CaseNode::else_clause.
struct pm_node_list conditions
CaseNode::conditions.
PM_NODE_ALIGNAS struct pm_node * predicate
CaseNode::predicate.
pm_node_t base
The embedded base node.
pm_location_t case_keyword_loc
CaseNode::case_keyword_loc.
pm_location_t end_keyword_loc
CaseNode::end_keyword_loc.
pm_location_t class_keyword_loc
ClassNode::class_keyword_loc.
pm_location_t end_keyword_loc
ClassNode::end_keyword_loc.
pm_constant_id_list_t locals
ClassNode::locals.
PM_NODE_ALIGNAS struct pm_node * superclass
ClassNode::superclass.
pm_location_t inheritance_operator_loc
ClassNode::inheritance_operator_loc.
pm_constant_id_t name
ClassNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * constant_path
ClassNode::constant_path.
PM_NODE_ALIGNAS struct pm_node * body
ClassNode::body.
ClassVariableAndWriteNode.
PM_NODE_ALIGNAS struct pm_node * value
ClassVariableAndWriteNode::value.
pm_constant_id_t name
ClassVariableAndWriteNode::name.
pm_location_t operator_loc
ClassVariableAndWriteNode::operator_loc.
pm_node_t base
The embedded base node.
pm_location_t name_loc
ClassVariableAndWriteNode::name_loc.
ClassVariableOperatorWriteNode.
pm_node_t base
The embedded base node.
pm_constant_id_t name
ClassVariableOperatorWriteNode::name.
PM_NODE_ALIGNAS struct pm_node * value
ClassVariableOperatorWriteNode::value.
pm_location_t name_loc
ClassVariableOperatorWriteNode::name_loc.
pm_constant_id_t binary_operator
ClassVariableOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
ClassVariableOperatorWriteNode::binary_operator_loc.
ClassVariableOrWriteNode.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
ClassVariableOrWriteNode::value.
pm_location_t name_loc
ClassVariableOrWriteNode::name_loc.
pm_location_t operator_loc
ClassVariableOrWriteNode::operator_loc.
pm_constant_id_t name
ClassVariableOrWriteNode::name.
pm_node_t base
The embedded base node.
pm_constant_id_t name
ClassVariableReadNode::name.
pm_node_t base
The embedded base node.
pm_constant_id_t name
ClassVariableTargetNode::name.
pm_location_t name_loc
ClassVariableWriteNode::name_loc.
PM_NODE_ALIGNAS struct pm_node * value
ClassVariableWriteNode::value.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
ClassVariableWriteNode::operator_loc.
pm_constant_id_t name
ClassVariableWriteNode::name.
pm_location_t operator_loc
ConstantAndWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
ConstantAndWriteNode::value.
pm_location_t name_loc
ConstantAndWriteNode::name_loc.
pm_constant_id_t name
ConstantAndWriteNode::name.
pm_node_t base
The embedded base node.
ConstantOperatorWriteNode.
pm_constant_id_t name
ConstantOperatorWriteNode::name.
pm_location_t name_loc
ConstantOperatorWriteNode::name_loc.
pm_constant_id_t binary_operator
ConstantOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
ConstantOperatorWriteNode::binary_operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
ConstantOperatorWriteNode::value.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
ConstantOrWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
ConstantOrWriteNode::value.
pm_location_t name_loc
ConstantOrWriteNode::name_loc.
pm_constant_id_t name
ConstantOrWriteNode::name.
pm_node_t base
The embedded base node.
ConstantPathAndWriteNode.
PM_NODE_ALIGNAS struct pm_constant_path_node * target
ConstantPathAndWriteNode::target.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
ConstantPathAndWriteNode::value.
pm_location_t operator_loc
ConstantPathAndWriteNode::operator_loc.
pm_location_t delimiter_loc
ConstantPathNode::delimiter_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * parent
ConstantPathNode::parent.
pm_location_t name_loc
ConstantPathNode::name_loc.
pm_constant_id_t name
ConstantPathNode::name.
ConstantPathOperatorWriteNode.
PM_NODE_ALIGNAS struct pm_constant_path_node * target
ConstantPathOperatorWriteNode::target.
pm_constant_id_t binary_operator
ConstantPathOperatorWriteNode::binary_operator.
pm_node_t base
The embedded base node.
pm_location_t binary_operator_loc
ConstantPathOperatorWriteNode::binary_operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
ConstantPathOperatorWriteNode::value.
pm_location_t operator_loc
ConstantPathOrWriteNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
ConstantPathOrWriteNode::value.
PM_NODE_ALIGNAS struct pm_constant_path_node * target
ConstantPathOrWriteNode::target.
pm_node_t base
The embedded base node.
pm_location_t delimiter_loc
ConstantPathTargetNode::delimiter_loc.
pm_constant_id_t name
ConstantPathTargetNode::name.
PM_NODE_ALIGNAS struct pm_node * parent
ConstantPathTargetNode::parent.
pm_location_t name_loc
ConstantPathTargetNode::name_loc.
PM_NODE_ALIGNAS struct pm_node * value
ConstantPathWriteNode::value.
pm_location_t operator_loc
ConstantPathWriteNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_constant_path_node * target
ConstantPathWriteNode::target.
pm_node_t base
The embedded base node.
pm_constant_id_t name
ConstantReadNode::name.
pm_node_t base
The embedded base node.
pm_constant_id_t name
ConstantTargetNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
ConstantWriteNode::value.
pm_constant_id_t name
ConstantWriteNode::name.
pm_location_t name_loc
ConstantWriteNode::name_loc.
pm_location_t operator_loc
ConstantWriteNode::operator_loc.
pm_location_t end_keyword_loc
DefNode::end_keyword_loc.
pm_constant_id_t name
DefNode::name.
pm_location_t name_loc
DefNode::name_loc.
pm_location_t rparen_loc
DefNode::rparen_loc.
PM_NODE_ALIGNAS struct pm_parameters_node * parameters
DefNode::parameters.
pm_location_t equal_loc
DefNode::equal_loc.
pm_location_t def_keyword_loc
DefNode::def_keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t lparen_loc
DefNode::lparen_loc.
PM_NODE_ALIGNAS struct pm_node * receiver
DefNode::receiver.
PM_NODE_ALIGNAS struct pm_node * body
DefNode::body.
pm_location_t operator_loc
DefNode::operator_loc.
pm_constant_id_list_t locals
DefNode::locals.
PM_NODE_ALIGNAS struct pm_node * value
DefinedNode::value.
pm_location_t lparen_loc
DefinedNode::lparen_loc.
pm_node_t base
The embedded base node.
pm_location_t rparen_loc
DefinedNode::rparen_loc.
pm_location_t keyword_loc
DefinedNode::keyword_loc.
pm_location_t else_keyword_loc
ElseNode::else_keyword_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_statements_node * statements
ElseNode::statements.
pm_location_t end_keyword_loc
ElseNode::end_keyword_loc.
PM_NODE_ALIGNAS struct pm_statements_node * statements
EmbeddedStatementsNode::statements.
pm_location_t closing_loc
EmbeddedStatementsNode::closing_loc.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
EmbeddedStatementsNode::opening_loc.
PM_NODE_ALIGNAS struct pm_node * variable
EmbeddedVariableNode::variable.
pm_location_t operator_loc
EmbeddedVariableNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_statements_node * statements
EnsureNode::statements.
pm_node_t base
The embedded base node.
pm_location_t ensure_keyword_loc
EnsureNode::ensure_keyword_loc.
pm_location_t end_keyword_loc
EnsureNode::end_keyword_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_splat_node * left
FindPatternNode::left.
pm_location_t opening_loc
FindPatternNode::opening_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * constant
FindPatternNode::constant.
struct pm_node_list requireds
FindPatternNode::requireds.
pm_location_t closing_loc
FindPatternNode::closing_loc.
PM_NODE_ALIGNAS struct pm_node * right
FindPatternNode::right.
PM_NODE_ALIGNAS struct pm_node * left
FlipFlopNode::left.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
FlipFlopNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * right
FlipFlopNode::right.
double value
FloatNode::value.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * index
ForNode::index.
PM_NODE_ALIGNAS struct pm_node * collection
ForNode::collection.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_statements_node * statements
ForNode::statements.
pm_location_t end_keyword_loc
ForNode::end_keyword_loc.
pm_location_t for_keyword_loc
ForNode::for_keyword_loc.
pm_location_t do_keyword_loc
ForNode::do_keyword_loc.
pm_location_t in_keyword_loc
ForNode::in_keyword_loc.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_block_node * block
ForwardingSuperNode::block.
GlobalVariableAndWriteNode.
pm_location_t operator_loc
GlobalVariableAndWriteNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
GlobalVariableAndWriteNode::value.
pm_location_t name_loc
GlobalVariableAndWriteNode::name_loc.
pm_constant_id_t name
GlobalVariableAndWriteNode::name.
GlobalVariableOperatorWriteNode.
PM_NODE_ALIGNAS struct pm_node * value
GlobalVariableOperatorWriteNode::value.
pm_constant_id_t name
GlobalVariableOperatorWriteNode::name.
pm_constant_id_t binary_operator
GlobalVariableOperatorWriteNode::binary_operator.
pm_location_t name_loc
GlobalVariableOperatorWriteNode::name_loc.
pm_node_t base
The embedded base node.
pm_location_t binary_operator_loc
GlobalVariableOperatorWriteNode::binary_operator_loc.
GlobalVariableOrWriteNode.
pm_constant_id_t name
GlobalVariableOrWriteNode::name.
pm_location_t name_loc
GlobalVariableOrWriteNode::name_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
GlobalVariableOrWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
GlobalVariableOrWriteNode::value.
pm_node_t base
The embedded base node.
pm_constant_id_t name
GlobalVariableReadNode::name.
GlobalVariableTargetNode.
pm_constant_id_t name
GlobalVariableTargetNode::name.
pm_node_t base
The embedded base node.
pm_location_t name_loc
GlobalVariableWriteNode::name_loc.
pm_location_t operator_loc
GlobalVariableWriteNode::operator_loc.
pm_constant_id_t name
GlobalVariableWriteNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
GlobalVariableWriteNode::value.
struct pm_node_list elements
HashNode::elements.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
HashNode::closing_loc.
pm_location_t opening_loc
HashNode::opening_loc.
PM_NODE_ALIGNAS struct pm_node * constant
HashPatternNode::constant.
struct pm_node_list elements
HashPatternNode::elements.
pm_location_t opening_loc
HashPatternNode::opening_loc.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
HashPatternNode::closing_loc.
PM_NODE_ALIGNAS struct pm_node * rest
HashPatternNode::rest.
PM_NODE_ALIGNAS struct pm_node * predicate
IfNode::predicate.
pm_location_t end_keyword_loc
IfNode::end_keyword_loc.
pm_location_t if_keyword_loc
IfNode::if_keyword_loc.
PM_NODE_ALIGNAS struct pm_statements_node * statements
IfNode::statements.
pm_node_t base
The embedded base node.
pm_location_t then_keyword_loc
IfNode::then_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * subsequent
IfNode::subsequent.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * numeric
ImaginaryNode::numeric.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
ImplicitNode::value.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * pattern
InNode::pattern.
PM_NODE_ALIGNAS struct pm_statements_node * statements
InNode::statements.
pm_node_t base
The embedded base node.
pm_location_t then_loc
InNode::then_loc.
pm_location_t in_loc
InNode::in_loc.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
IndexAndWriteNode::arguments.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
IndexAndWriteNode::operator_loc.
pm_location_t closing_loc
IndexAndWriteNode::closing_loc.
pm_location_t opening_loc
IndexAndWriteNode::opening_loc.
pm_location_t call_operator_loc
IndexAndWriteNode::call_operator_loc.
PM_NODE_ALIGNAS struct pm_block_argument_node * block
IndexAndWriteNode::block.
PM_NODE_ALIGNAS struct pm_node * receiver
IndexAndWriteNode::receiver.
PM_NODE_ALIGNAS struct pm_node * value
IndexAndWriteNode::value.
PM_NODE_ALIGNAS struct pm_block_argument_node * block
IndexOperatorWriteNode::block.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * receiver
IndexOperatorWriteNode::receiver.
pm_location_t binary_operator_loc
IndexOperatorWriteNode::binary_operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
IndexOperatorWriteNode::value.
pm_location_t opening_loc
IndexOperatorWriteNode::opening_loc.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
IndexOperatorWriteNode::arguments.
pm_location_t call_operator_loc
IndexOperatorWriteNode::call_operator_loc.
pm_location_t closing_loc
IndexOperatorWriteNode::closing_loc.
pm_constant_id_t binary_operator
IndexOperatorWriteNode::binary_operator.
pm_location_t closing_loc
IndexOrWriteNode::closing_loc.
pm_location_t call_operator_loc
IndexOrWriteNode::call_operator_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
IndexOrWriteNode::operator_loc.
pm_location_t opening_loc
IndexOrWriteNode::opening_loc.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
IndexOrWriteNode::arguments.
PM_NODE_ALIGNAS struct pm_node * value
IndexOrWriteNode::value.
PM_NODE_ALIGNAS struct pm_node * receiver
IndexOrWriteNode::receiver.
PM_NODE_ALIGNAS struct pm_block_argument_node * block
IndexOrWriteNode::block.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
IndexTargetNode::arguments.
pm_location_t closing_loc
IndexTargetNode::closing_loc.
PM_NODE_ALIGNAS struct pm_block_argument_node * block
IndexTargetNode::block.
pm_location_t opening_loc
IndexTargetNode::opening_loc.
PM_NODE_ALIGNAS struct pm_node * receiver
IndexTargetNode::receiver.
InstanceVariableAndWriteNode.
PM_NODE_ALIGNAS struct pm_node * value
InstanceVariableAndWriteNode::value.
pm_location_t operator_loc
InstanceVariableAndWriteNode::operator_loc.
pm_location_t name_loc
InstanceVariableAndWriteNode::name_loc.
pm_node_t base
The embedded base node.
pm_constant_id_t name
InstanceVariableAndWriteNode::name.
InstanceVariableOperatorWriteNode.
pm_constant_id_t binary_operator
InstanceVariableOperatorWriteNode::binary_operator.
PM_NODE_ALIGNAS struct pm_node * value
InstanceVariableOperatorWriteNode::value.
pm_location_t binary_operator_loc
InstanceVariableOperatorWriteNode::binary_operator_loc.
pm_constant_id_t name
InstanceVariableOperatorWriteNode::name.
pm_node_t base
The embedded base node.
pm_location_t name_loc
InstanceVariableOperatorWriteNode::name_loc.
InstanceVariableOrWriteNode.
pm_location_t operator_loc
InstanceVariableOrWriteNode::operator_loc.
pm_node_t base
The embedded base node.
pm_location_t name_loc
InstanceVariableOrWriteNode::name_loc.
pm_constant_id_t name
InstanceVariableOrWriteNode::name.
PM_NODE_ALIGNAS struct pm_node * value
InstanceVariableOrWriteNode::value.
InstanceVariableReadNode.
pm_constant_id_t name
InstanceVariableReadNode::name.
pm_node_t base
The embedded base node.
InstanceVariableTargetNode.
pm_constant_id_t name
InstanceVariableTargetNode::name.
pm_node_t base
The embedded base node.
InstanceVariableWriteNode.
pm_location_t operator_loc
InstanceVariableWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
InstanceVariableWriteNode::value.
pm_constant_id_t name
InstanceVariableWriteNode::name.
pm_node_t base
The embedded base node.
pm_location_t name_loc
InstanceVariableWriteNode::name_loc.
pm_integer_t value
IntegerNode::value.
pm_node_t base
The embedded base node.
A structure represents an arbitrary-sized integer.
InterpolatedMatchLastLineNode.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
InterpolatedMatchLastLineNode::closing_loc.
struct pm_node_list parts
InterpolatedMatchLastLineNode::parts.
pm_location_t opening_loc
InterpolatedMatchLastLineNode::opening_loc.
InterpolatedRegularExpressionNode.
pm_location_t opening_loc
InterpolatedRegularExpressionNode::opening_loc.
struct pm_node_list parts
InterpolatedRegularExpressionNode::parts.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
InterpolatedRegularExpressionNode::closing_loc.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
InterpolatedStringNode::closing_loc.
pm_location_t opening_loc
InterpolatedStringNode::opening_loc.
struct pm_node_list parts
InterpolatedStringNode::parts.
struct pm_node_list parts
InterpolatedSymbolNode::parts.
pm_location_t closing_loc
InterpolatedSymbolNode::closing_loc.
pm_location_t opening_loc
InterpolatedSymbolNode::opening_loc.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
InterpolatedXStringNode::opening_loc.
pm_location_t closing_loc
InterpolatedXStringNode::closing_loc.
pm_node_t base
The embedded base node.
struct pm_node_list parts
InterpolatedXStringNode::parts.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
struct pm_node_list elements
KeywordHashNode::elements.
KeywordRestParameterNode.
pm_node_t base
The embedded base node.
pm_constant_id_t name
KeywordRestParameterNode::name.
pm_location_t operator_loc
KeywordRestParameterNode::operator_loc.
pm_location_t name_loc
KeywordRestParameterNode::name_loc.
pm_location_t closing_loc
LambdaNode::closing_loc.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
LambdaNode::opening_loc.
pm_location_t operator_loc
LambdaNode::operator_loc.
pm_constant_id_list_t locals
LambdaNode::locals.
PM_NODE_ALIGNAS struct pm_node * body
LambdaNode::body.
PM_NODE_ALIGNAS struct pm_node * parameters
LambdaNode::parameters.
LocalVariableAndWriteNode.
pm_constant_id_t name
LocalVariableAndWriteNode::name.
pm_node_t base
The embedded base node.
uint32_t depth
LocalVariableAndWriteNode::depth.
pm_location_t operator_loc
LocalVariableAndWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
LocalVariableAndWriteNode::value.
pm_location_t name_loc
LocalVariableAndWriteNode::name_loc.
LocalVariableOperatorWriteNode.
uint32_t depth
LocalVariableOperatorWriteNode::depth.
pm_constant_id_t binary_operator
LocalVariableOperatorWriteNode::binary_operator.
pm_node_t base
The embedded base node.
pm_location_t name_loc
LocalVariableOperatorWriteNode::name_loc.
pm_location_t binary_operator_loc
LocalVariableOperatorWriteNode::binary_operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
LocalVariableOperatorWriteNode::value.
pm_constant_id_t name
LocalVariableOperatorWriteNode::name.
LocalVariableOrWriteNode.
PM_NODE_ALIGNAS struct pm_node * value
LocalVariableOrWriteNode::value.
uint32_t depth
LocalVariableOrWriteNode::depth.
pm_location_t operator_loc
LocalVariableOrWriteNode::operator_loc.
pm_node_t base
The embedded base node.
pm_constant_id_t name
LocalVariableOrWriteNode::name.
pm_location_t name_loc
LocalVariableOrWriteNode::name_loc.
uint32_t depth
LocalVariableReadNode::depth.
pm_constant_id_t name
LocalVariableReadNode::name.
pm_node_t base
The embedded base node.
uint32_t depth
LocalVariableTargetNode::depth.
pm_constant_id_t name
LocalVariableTargetNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * value
LocalVariableWriteNode::value.
pm_location_t operator_loc
LocalVariableWriteNode::operator_loc.
pm_location_t name_loc
LocalVariableWriteNode::name_loc.
pm_node_t base
The embedded base node.
uint32_t depth
LocalVariableWriteNode::depth.
pm_constant_id_t name
LocalVariableWriteNode::name.
This struct represents a slice in the source code, defined by an offset and a length.
uint32_t start
The offset of the location from the start of the source.
uint32_t length
The length of the location.
pm_location_t content_loc
MatchLastLineNode::content_loc.
pm_location_t opening_loc
MatchLastLineNode::opening_loc.
pm_location_t closing_loc
MatchLastLineNode::closing_loc.
pm_string_t unescaped
MatchLastLineNode::unescaped.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
MatchPredicateNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * pattern
MatchPredicateNode::pattern.
PM_NODE_ALIGNAS struct pm_node * value
MatchPredicateNode::value.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
MatchRequiredNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * pattern
MatchRequiredNode::pattern.
PM_NODE_ALIGNAS struct pm_node * value
MatchRequiredNode::value.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_call_node * call
MatchWriteNode::call.
struct pm_node_list targets
MatchWriteNode::targets.
pm_node_t base
The embedded base node.
pm_location_t end_keyword_loc
ModuleNode::end_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * constant_path
ModuleNode::constant_path.
PM_NODE_ALIGNAS struct pm_node * body
ModuleNode::body.
pm_constant_id_list_t locals
ModuleNode::locals.
pm_node_t base
The embedded base node.
pm_location_t module_keyword_loc
ModuleNode::module_keyword_loc.
pm_constant_id_t name
ModuleNode::name.
PM_NODE_ALIGNAS struct pm_node * rest
MultiTargetNode::rest.
pm_node_t base
The embedded base node.
pm_location_t lparen_loc
MultiTargetNode::lparen_loc.
struct pm_node_list lefts
MultiTargetNode::lefts.
pm_location_t rparen_loc
MultiTargetNode::rparen_loc.
struct pm_node_list rights
MultiTargetNode::rights.
pm_location_t rparen_loc
MultiWriteNode::rparen_loc.
PM_NODE_ALIGNAS struct pm_node * rest
MultiWriteNode::rest.
struct pm_node_list rights
MultiWriteNode::rights.
pm_location_t operator_loc
MultiWriteNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
MultiWriteNode::value.
pm_location_t lparen_loc
MultiWriteNode::lparen_loc.
struct pm_node_list lefts
MultiWriteNode::lefts.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
NextNode::arguments.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
NextNode::keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
NoBlockParameterNode::keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
NoBlockParameterNode::operator_loc.
pm_location_t keyword_loc
NoKeywordsParameterNode::keyword_loc.
pm_location_t operator_loc
NoKeywordsParameterNode::operator_loc.
pm_node_t base
The embedded base node.
A list of nodes in the source, most often used for lists of children.
size_t size
The number of nodes in the list.
struct pm_node ** nodes
The nodes in the list.
size_t capacity
The capacity of the list that has been allocated.
This is the base structure that represents a node in the syntax tree.
pm_node_type_t type
This represents the type of the node.
uint32_t node_id
The unique identifier for this node, which is deterministic based on the source.
pm_node_flags_t flags
This represents any flags on the node.
pm_location_t location
This is the location of the node in the source.
pm_node_t base
The embedded base node.
uint8_t maximum
NumberedParametersNode::maximum.
NumberedReferenceReadNode.
pm_node_t base
The embedded base node.
uint32_t number
NumberedReferenceReadNode::number.
OptionalKeywordParameterNode.
pm_node_t base
The embedded base node.
pm_constant_id_t name
OptionalKeywordParameterNode::name.
PM_NODE_ALIGNAS struct pm_node * value
OptionalKeywordParameterNode::value.
pm_location_t name_loc
OptionalKeywordParameterNode::name_loc.
pm_location_t name_loc
OptionalParameterNode::name_loc.
pm_constant_id_t name
OptionalParameterNode::name.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
OptionalParameterNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * value
OptionalParameterNode::value.
PM_NODE_ALIGNAS struct pm_node * right
OrNode::right.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * left
OrNode::left.
pm_location_t operator_loc
OrNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * block
ParametersNode::block.
struct pm_node_list requireds
ParametersNode::requireds.
struct pm_node_list optionals
ParametersNode::optionals.
struct pm_node_list posts
ParametersNode::posts.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * rest
ParametersNode::rest.
struct pm_node_list keywords
ParametersNode::keywords.
PM_NODE_ALIGNAS struct pm_node * keyword_rest
ParametersNode::keyword_rest.
pm_location_t closing_loc
ParenthesesNode::closing_loc.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
ParenthesesNode::opening_loc.
PM_NODE_ALIGNAS struct pm_node * body
ParenthesesNode::body.
pm_node_t base
The embedded base node.
pm_location_t rparen_loc
PinnedExpressionNode::rparen_loc.
pm_location_t lparen_loc
PinnedExpressionNode::lparen_loc.
PM_NODE_ALIGNAS struct pm_node * expression
PinnedExpressionNode::expression.
pm_location_t operator_loc
PinnedExpressionNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * variable
PinnedVariableNode::variable.
pm_location_t operator_loc
PinnedVariableNode::operator_loc.
pm_location_t closing_loc
PostExecutionNode::closing_loc.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
PostExecutionNode::opening_loc.
pm_location_t keyword_loc
PostExecutionNode::keyword_loc.
PM_NODE_ALIGNAS struct pm_statements_node * statements
PostExecutionNode::statements.
pm_location_t closing_loc
PreExecutionNode::closing_loc.
pm_location_t opening_loc
PreExecutionNode::opening_loc.
PM_NODE_ALIGNAS struct pm_statements_node * statements
PreExecutionNode::statements.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
PreExecutionNode::keyword_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_statements_node * statements
ProgramNode::statements.
pm_constant_id_list_t locals
ProgramNode::locals.
pm_location_t operator_loc
RangeNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * right
RangeNode::right.
PM_NODE_ALIGNAS struct pm_node * left
RangeNode::left.
pm_node_t base
The embedded base node.
pm_integer_t denominator
RationalNode::denominator.
pm_integer_t numerator
RationalNode::numerator.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
RegularExpressionNode::closing_loc.
pm_node_t base
The embedded base node.
pm_string_t unescaped
RegularExpressionNode::unescaped.
pm_location_t opening_loc
RegularExpressionNode::opening_loc.
pm_location_t content_loc
RegularExpressionNode::content_loc.
RequiredKeywordParameterNode.
pm_location_t name_loc
RequiredKeywordParameterNode::name_loc.
pm_node_t base
The embedded base node.
pm_constant_id_t name
RequiredKeywordParameterNode::name.
pm_constant_id_t name
RequiredParameterNode::name.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * expression
RescueModifierNode::expression.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
RescueModifierNode::keyword_loc.
PM_NODE_ALIGNAS struct pm_node * rescue_expression
RescueModifierNode::rescue_expression.
PM_NODE_ALIGNAS struct pm_statements_node * statements
RescueNode::statements.
PM_NODE_ALIGNAS struct pm_rescue_node * subsequent
RescueNode::subsequent.
pm_location_t keyword_loc
RescueNode::keyword_loc.
PM_NODE_ALIGNAS struct pm_node * reference
RescueNode::reference.
pm_location_t then_keyword_loc
RescueNode::then_keyword_loc.
pm_location_t operator_loc
RescueNode::operator_loc.
struct pm_node_list exceptions
RescueNode::exceptions.
pm_node_t base
The embedded base node.
pm_constant_id_t name
RestParameterNode::name.
pm_location_t name_loc
RestParameterNode::name_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
RestParameterNode::operator_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
ReturnNode::arguments.
pm_location_t keyword_loc
ReturnNode::keyword_loc.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * write
ShareableConstantNode::write.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * body
SingletonClassNode::body.
pm_node_t base
The embedded base node.
pm_constant_id_list_t locals
SingletonClassNode::locals.
pm_location_t operator_loc
SingletonClassNode::operator_loc.
PM_NODE_ALIGNAS struct pm_node * expression
SingletonClassNode::expression.
pm_location_t end_keyword_loc
SingletonClassNode::end_keyword_loc.
pm_location_t class_keyword_loc
SingletonClassNode::class_keyword_loc.
pm_node_t base
The embedded base node.
pm_string_t filepath
SourceFileNode::filepath.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_node * expression
SplatNode::expression.
pm_location_t operator_loc
SplatNode::operator_loc.
struct pm_node_list body
StatementsNode::body.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_string_t unescaped
StringNode::unescaped.
pm_location_t content_loc
StringNode::content_loc.
pm_location_t closing_loc
StringNode::closing_loc.
pm_location_t opening_loc
StringNode::opening_loc.
A generic string type that can have various ownership semantics.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
SuperNode::arguments.
pm_location_t lparen_loc
SuperNode::lparen_loc.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
SuperNode::keyword_loc.
pm_location_t rparen_loc
SuperNode::rparen_loc.
PM_NODE_ALIGNAS struct pm_node * block
SuperNode::block.
pm_location_t opening_loc
SymbolNode::opening_loc.
pm_location_t value_loc
SymbolNode::value_loc.
pm_location_t closing_loc
SymbolNode::closing_loc.
pm_string_t unescaped
SymbolNode::unescaped.
pm_node_t base
The embedded base node.
This struct represents a token in the Ruby source.
const uint8_t * end
A pointer to the end location of the token in the source.
const uint8_t * start
A pointer to the start location of the token in the source.
pm_token_type_t type
The type of the token.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
UndefNode::keyword_loc.
struct pm_node_list names
UndefNode::names.
pm_location_t keyword_loc
UnlessNode::keyword_loc.
pm_location_t then_keyword_loc
UnlessNode::then_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * predicate
UnlessNode::predicate.
PM_NODE_ALIGNAS struct pm_statements_node * statements
UnlessNode::statements.
pm_location_t end_keyword_loc
UnlessNode::end_keyword_loc.
PM_NODE_ALIGNAS struct pm_else_node * else_clause
UnlessNode::else_clause.
pm_node_t base
The embedded base node.
pm_location_t closing_loc
UntilNode::closing_loc.
pm_location_t keyword_loc
UntilNode::keyword_loc.
pm_node_t base
The embedded base node.
PM_NODE_ALIGNAS struct pm_statements_node * statements
UntilNode::statements.
pm_location_t do_keyword_loc
UntilNode::do_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * predicate
UntilNode::predicate.
pm_node_t base
The embedded base node.
pm_location_t then_keyword_loc
WhenNode::then_keyword_loc.
pm_location_t keyword_loc
WhenNode::keyword_loc.
PM_NODE_ALIGNAS struct pm_statements_node * statements
WhenNode::statements.
struct pm_node_list conditions
WhenNode::conditions.
PM_NODE_ALIGNAS struct pm_statements_node * statements
WhileNode::statements.
pm_location_t closing_loc
WhileNode::closing_loc.
pm_location_t keyword_loc
WhileNode::keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t do_keyword_loc
WhileNode::do_keyword_loc.
PM_NODE_ALIGNAS struct pm_node * predicate
WhileNode::predicate.
pm_location_t closing_loc
XStringNode::closing_loc.
pm_location_t opening_loc
XStringNode::opening_loc.
pm_location_t content_loc
XStringNode::content_loc.
pm_string_t unescaped
XStringNode::unescaped.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
YieldNode::keyword_loc.
pm_location_t lparen_loc
YieldNode::lparen_loc.
pm_node_t base
The embedded base node.
pm_location_t rparen_loc
YieldNode::rparen_loc.
PM_NODE_ALIGNAS struct pm_arguments_node * arguments
YieldNode::arguments.