28typedef enum pm_token_type {
36 PM_TOKEN_NOT_PROVIDED,
42 PM_TOKEN_AMPERSAND_AMPERSAND,
45 PM_TOKEN_AMPERSAND_AMPERSAND_EQUAL,
48 PM_TOKEN_AMPERSAND_DOT,
51 PM_TOKEN_AMPERSAND_EQUAL,
57 PM_TOKEN_BACK_REFERENCE,
75 PM_TOKEN_BRACKET_LEFT,
78 PM_TOKEN_BRACKET_LEFT_ARRAY,
81 PM_TOKEN_BRACKET_LEFT_RIGHT,
84 PM_TOKEN_BRACKET_LEFT_RIGHT_EQUAL,
87 PM_TOKEN_BRACKET_RIGHT,
96 PM_TOKEN_CHARACTER_LITERAL,
99 PM_TOKEN_CLASS_VARIABLE,
105 PM_TOKEN_COLON_COLON,
123 PM_TOKEN_DOT_DOT_DOT,
126 PM_TOKEN_EMBDOC_BEGIN,
132 PM_TOKEN_EMBDOC_LINE,
135 PM_TOKEN_EMBEXPR_BEGIN,
138 PM_TOKEN_EMBEXPR_END,
147 PM_TOKEN_EQUAL_EQUAL,
150 PM_TOKEN_EQUAL_EQUAL_EQUAL,
153 PM_TOKEN_EQUAL_GREATER,
156 PM_TOKEN_EQUAL_TILDE,
162 PM_TOKEN_FLOAT_IMAGINARY,
165 PM_TOKEN_FLOAT_RATIONAL,
168 PM_TOKEN_FLOAT_RATIONAL_IMAGINARY,
171 PM_TOKEN_GLOBAL_VARIABLE,
177 PM_TOKEN_GREATER_EQUAL,
180 PM_TOKEN_GREATER_GREATER,
183 PM_TOKEN_GREATER_GREATER_EQUAL,
186 PM_TOKEN_HEREDOC_END,
189 PM_TOKEN_HEREDOC_START,
195 PM_TOKEN_IGNORED_NEWLINE,
198 PM_TOKEN_INSTANCE_VARIABLE,
204 PM_TOKEN_INTEGER_IMAGINARY,
207 PM_TOKEN_INTEGER_RATIONAL,
210 PM_TOKEN_INTEGER_RATIONAL_IMAGINARY,
213 PM_TOKEN_KEYWORD_ALIAS,
216 PM_TOKEN_KEYWORD_AND,
219 PM_TOKEN_KEYWORD_BEGIN,
222 PM_TOKEN_KEYWORD_BEGIN_UPCASE,
225 PM_TOKEN_KEYWORD_BREAK,
228 PM_TOKEN_KEYWORD_CASE,
231 PM_TOKEN_KEYWORD_CLASS,
234 PM_TOKEN_KEYWORD_DEF,
237 PM_TOKEN_KEYWORD_DEFINED,
243 PM_TOKEN_KEYWORD_DO_LOOP,
246 PM_TOKEN_KEYWORD_ELSE,
249 PM_TOKEN_KEYWORD_ELSIF,
252 PM_TOKEN_KEYWORD_END,
255 PM_TOKEN_KEYWORD_END_UPCASE,
258 PM_TOKEN_KEYWORD_ENSURE,
261 PM_TOKEN_KEYWORD_FALSE,
264 PM_TOKEN_KEYWORD_FOR,
270 PM_TOKEN_KEYWORD_IF_MODIFIER,
276 PM_TOKEN_KEYWORD_MODULE,
279 PM_TOKEN_KEYWORD_NEXT,
282 PM_TOKEN_KEYWORD_NIL,
285 PM_TOKEN_KEYWORD_NOT,
291 PM_TOKEN_KEYWORD_REDO,
294 PM_TOKEN_KEYWORD_RESCUE,
297 PM_TOKEN_KEYWORD_RESCUE_MODIFIER,
300 PM_TOKEN_KEYWORD_RETRY,
303 PM_TOKEN_KEYWORD_RETURN,
306 PM_TOKEN_KEYWORD_SELF,
309 PM_TOKEN_KEYWORD_SUPER,
312 PM_TOKEN_KEYWORD_THEN,
315 PM_TOKEN_KEYWORD_TRUE,
318 PM_TOKEN_KEYWORD_UNDEF,
321 PM_TOKEN_KEYWORD_UNLESS,
324 PM_TOKEN_KEYWORD_UNLESS_MODIFIER,
327 PM_TOKEN_KEYWORD_UNTIL,
330 PM_TOKEN_KEYWORD_UNTIL_MODIFIER,
333 PM_TOKEN_KEYWORD_WHEN,
336 PM_TOKEN_KEYWORD_WHILE,
339 PM_TOKEN_KEYWORD_WHILE_MODIFIER,
342 PM_TOKEN_KEYWORD_YIELD,
345 PM_TOKEN_KEYWORD___ENCODING__,
348 PM_TOKEN_KEYWORD___FILE__,
351 PM_TOKEN_KEYWORD___LINE__,
360 PM_TOKEN_LAMBDA_BEGIN,
369 PM_TOKEN_LESS_EQUAL_GREATER,
375 PM_TOKEN_LESS_LESS_EQUAL,
378 PM_TOKEN_METHOD_NAME,
384 PM_TOKEN_MINUS_EQUAL,
387 PM_TOKEN_MINUS_GREATER,
393 PM_TOKEN_NUMBERED_REFERENCE,
396 PM_TOKEN_PARENTHESIS_LEFT,
399 PM_TOKEN_PARENTHESIS_LEFT_PARENTHESES,
402 PM_TOKEN_PARENTHESIS_RIGHT,
408 PM_TOKEN_PERCENT_EQUAL,
411 PM_TOKEN_PERCENT_LOWER_I,
414 PM_TOKEN_PERCENT_LOWER_W,
417 PM_TOKEN_PERCENT_LOWER_X,
420 PM_TOKEN_PERCENT_UPPER_I,
423 PM_TOKEN_PERCENT_UPPER_W,
435 PM_TOKEN_PIPE_PIPE_EQUAL,
444 PM_TOKEN_QUESTION_MARK,
447 PM_TOKEN_REGEXP_BEGIN,
459 PM_TOKEN_SLASH_EQUAL,
471 PM_TOKEN_STAR_STAR_EQUAL,
474 PM_TOKEN_STRING_BEGIN,
477 PM_TOKEN_STRING_CONTENT,
483 PM_TOKEN_SYMBOL_BEGIN,
492 PM_TOKEN_UCOLON_COLON,
498 PM_TOKEN_UDOT_DOT_DOT,
573 PM_ALIAS_GLOBAL_VARIABLE_NODE = 1,
576 PM_ALIAS_METHOD_NODE = 2,
579 PM_ALTERNATION_PATTERN_NODE = 3,
585 PM_ARGUMENTS_NODE = 5,
591 PM_ARRAY_PATTERN_NODE = 7,
597 PM_ASSOC_SPLAT_NODE = 9,
600 PM_BACK_REFERENCE_READ_NODE = 10,
606 PM_BLOCK_ARGUMENT_NODE = 12,
609 PM_BLOCK_LOCAL_VARIABLE_NODE = 13,
615 PM_BLOCK_PARAMETER_NODE = 15,
618 PM_BLOCK_PARAMETERS_NODE = 16,
624 PM_CALL_AND_WRITE_NODE = 18,
630 PM_CALL_OPERATOR_WRITE_NODE = 20,
633 PM_CALL_OR_WRITE_NODE = 21,
636 PM_CALL_TARGET_NODE = 22,
639 PM_CAPTURE_PATTERN_NODE = 23,
642 PM_CASE_MATCH_NODE = 24,
651 PM_CLASS_VARIABLE_AND_WRITE_NODE = 27,
654 PM_CLASS_VARIABLE_OPERATOR_WRITE_NODE = 28,
657 PM_CLASS_VARIABLE_OR_WRITE_NODE = 29,
660 PM_CLASS_VARIABLE_READ_NODE = 30,
663 PM_CLASS_VARIABLE_TARGET_NODE = 31,
666 PM_CLASS_VARIABLE_WRITE_NODE = 32,
669 PM_CONSTANT_AND_WRITE_NODE = 33,
672 PM_CONSTANT_OPERATOR_WRITE_NODE = 34,
675 PM_CONSTANT_OR_WRITE_NODE = 35,
678 PM_CONSTANT_PATH_AND_WRITE_NODE = 36,
681 PM_CONSTANT_PATH_NODE = 37,
684 PM_CONSTANT_PATH_OPERATOR_WRITE_NODE = 38,
687 PM_CONSTANT_PATH_OR_WRITE_NODE = 39,
690 PM_CONSTANT_PATH_TARGET_NODE = 40,
693 PM_CONSTANT_PATH_WRITE_NODE = 41,
696 PM_CONSTANT_READ_NODE = 42,
699 PM_CONSTANT_TARGET_NODE = 43,
702 PM_CONSTANT_WRITE_NODE = 44,
708 PM_DEFINED_NODE = 46,
714 PM_EMBEDDED_STATEMENTS_NODE = 48,
717 PM_EMBEDDED_VARIABLE_NODE = 49,
726 PM_FIND_PATTERN_NODE = 52,
729 PM_FLIP_FLOP_NODE = 53,
738 PM_FORWARDING_ARGUMENTS_NODE = 56,
741 PM_FORWARDING_PARAMETER_NODE = 57,
744 PM_FORWARDING_SUPER_NODE = 58,
747 PM_GLOBAL_VARIABLE_AND_WRITE_NODE = 59,
750 PM_GLOBAL_VARIABLE_OPERATOR_WRITE_NODE = 60,
753 PM_GLOBAL_VARIABLE_OR_WRITE_NODE = 61,
756 PM_GLOBAL_VARIABLE_READ_NODE = 62,
759 PM_GLOBAL_VARIABLE_TARGET_NODE = 63,
762 PM_GLOBAL_VARIABLE_WRITE_NODE = 64,
768 PM_HASH_PATTERN_NODE = 66,
774 PM_IMAGINARY_NODE = 68,
777 PM_IMPLICIT_NODE = 69,
780 PM_IMPLICIT_REST_NODE = 70,
786 PM_INDEX_AND_WRITE_NODE = 72,
789 PM_INDEX_OPERATOR_WRITE_NODE = 73,
792 PM_INDEX_OR_WRITE_NODE = 74,
795 PM_INDEX_TARGET_NODE = 75,
798 PM_INSTANCE_VARIABLE_AND_WRITE_NODE = 76,
801 PM_INSTANCE_VARIABLE_OPERATOR_WRITE_NODE = 77,
804 PM_INSTANCE_VARIABLE_OR_WRITE_NODE = 78,
807 PM_INSTANCE_VARIABLE_READ_NODE = 79,
810 PM_INSTANCE_VARIABLE_TARGET_NODE = 80,
813 PM_INSTANCE_VARIABLE_WRITE_NODE = 81,
816 PM_INTEGER_NODE = 82,
819 PM_INTERPOLATED_MATCH_LAST_LINE_NODE = 83,
822 PM_INTERPOLATED_REGULAR_EXPRESSION_NODE = 84,
825 PM_INTERPOLATED_STRING_NODE = 85,
828 PM_INTERPOLATED_SYMBOL_NODE = 86,
831 PM_INTERPOLATED_X_STRING_NODE = 87,
834 PM_IT_LOCAL_VARIABLE_READ_NODE = 88,
837 PM_IT_PARAMETERS_NODE = 89,
840 PM_KEYWORD_HASH_NODE = 90,
843 PM_KEYWORD_REST_PARAMETER_NODE = 91,
849 PM_LOCAL_VARIABLE_AND_WRITE_NODE = 93,
852 PM_LOCAL_VARIABLE_OPERATOR_WRITE_NODE = 94,
855 PM_LOCAL_VARIABLE_OR_WRITE_NODE = 95,
858 PM_LOCAL_VARIABLE_READ_NODE = 96,
861 PM_LOCAL_VARIABLE_TARGET_NODE = 97,
864 PM_LOCAL_VARIABLE_WRITE_NODE = 98,
867 PM_MATCH_LAST_LINE_NODE = 99,
870 PM_MATCH_PREDICATE_NODE = 100,
873 PM_MATCH_REQUIRED_NODE = 101,
876 PM_MATCH_WRITE_NODE = 102,
879 PM_MISSING_NODE = 103,
882 PM_MODULE_NODE = 104,
885 PM_MULTI_TARGET_NODE = 105,
888 PM_MULTI_WRITE_NODE = 106,
897 PM_NO_KEYWORDS_PARAMETER_NODE = 109,
900 PM_NUMBERED_PARAMETERS_NODE = 110,
903 PM_NUMBERED_REFERENCE_READ_NODE = 111,
906 PM_OPTIONAL_KEYWORD_PARAMETER_NODE = 112,
909 PM_OPTIONAL_PARAMETER_NODE = 113,
915 PM_PARAMETERS_NODE = 115,
918 PM_PARENTHESES_NODE = 116,
921 PM_PINNED_EXPRESSION_NODE = 117,
924 PM_PINNED_VARIABLE_NODE = 118,
927 PM_POST_EXECUTION_NODE = 119,
930 PM_PRE_EXECUTION_NODE = 120,
933 PM_PROGRAM_NODE = 121,
939 PM_RATIONAL_NODE = 123,
945 PM_REGULAR_EXPRESSION_NODE = 125,
948 PM_REQUIRED_KEYWORD_PARAMETER_NODE = 126,
951 PM_REQUIRED_PARAMETER_NODE = 127,
954 PM_RESCUE_MODIFIER_NODE = 128,
957 PM_RESCUE_NODE = 129,
960 PM_REST_PARAMETER_NODE = 130,
966 PM_RETURN_NODE = 132,
972 PM_SHAREABLE_CONSTANT_NODE = 134,
975 PM_SINGLETON_CLASS_NODE = 135,
978 PM_SOURCE_ENCODING_NODE = 136,
981 PM_SOURCE_FILE_NODE = 137,
984 PM_SOURCE_LINE_NODE = 138,
990 PM_STATEMENTS_NODE = 140,
993 PM_STRING_NODE = 141,
999 PM_SYMBOL_NODE = 143,
1005 PM_UNDEF_NODE = 145,
1008 PM_UNLESS_NODE = 146,
1011 PM_UNTIL_NODE = 147,
1017 PM_WHILE_NODE = 149,
1020 PM_X_STRING_NODE = 150,
1023 PM_YIELD_NODE = 151,
1033typedef uint16_t pm_node_type_t;
1039typedef uint16_t pm_node_flags_t;
1045static const pm_node_flags_t PM_NODE_FLAG_NEWLINE = 0x1;
1046static const pm_node_flags_t PM_NODE_FLAG_STATIC_LITERAL = 0x2;
1052#define PM_NODE_TYPE(node) ((enum pm_node_type) (node)->type)
1057#define PM_NODE_TYPE_P(node, type) (PM_NODE_TYPE(node) == (type))
1062#define PM_NODE_FLAG_P(node, flag) ((((pm_node_t *)(node))->flags & (flag)) != 0)
7781typedef enum pm_arguments_node_flags {
7783 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_FORWARDING = 4,
7786 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_KEYWORDS = 8,
7789 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_KEYWORD_SPLAT = 16,
7792 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_SPLAT = 32,
7795 PM_ARGUMENTS_NODE_FLAGS_CONTAINS_MULTIPLE_SPLATS = 64,
7796} pm_arguments_node_flags_t;
7801typedef enum pm_array_node_flags {
7803 PM_ARRAY_NODE_FLAGS_CONTAINS_SPLAT = 4,
7804} pm_array_node_flags_t;
7809typedef enum pm_call_node_flags {
7811 PM_CALL_NODE_FLAGS_SAFE_NAVIGATION = 4,
7814 PM_CALL_NODE_FLAGS_VARIABLE_CALL = 8,
7817 PM_CALL_NODE_FLAGS_ATTRIBUTE_WRITE = 16,
7820 PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY = 32,
7821} pm_call_node_flags_t;
7826typedef enum pm_encoding_flags {
7828 PM_ENCODING_FLAGS_FORCED_UTF8_ENCODING = 4,
7831 PM_ENCODING_FLAGS_FORCED_BINARY_ENCODING = 8,
7832} pm_encoding_flags_t;
7837typedef enum pm_integer_base_flags {
7839 PM_INTEGER_BASE_FLAGS_BINARY = 4,
7842 PM_INTEGER_BASE_FLAGS_DECIMAL = 8,
7845 PM_INTEGER_BASE_FLAGS_OCTAL = 16,
7848 PM_INTEGER_BASE_FLAGS_HEXADECIMAL = 32,
7849} pm_integer_base_flags_t;
7854typedef enum pm_interpolated_string_node_flags {
7856 PM_INTERPOLATED_STRING_NODE_FLAGS_FROZEN = 4,
7859 PM_INTERPOLATED_STRING_NODE_FLAGS_MUTABLE = 8,
7860} pm_interpolated_string_node_flags_t;
7865typedef enum pm_keyword_hash_node_flags {
7867 PM_KEYWORD_HASH_NODE_FLAGS_SYMBOL_KEYS = 4,
7868} pm_keyword_hash_node_flags_t;
7873typedef enum pm_loop_flags {
7875 PM_LOOP_FLAGS_BEGIN_MODIFIER = 4,
7881typedef enum pm_parameter_flags {
7883 PM_PARAMETER_FLAGS_REPEATED_PARAMETER = 4,
7884} pm_parameter_flags_t;
7889typedef enum pm_parentheses_node_flags {
7891 PM_PARENTHESES_NODE_FLAGS_MULTIPLE_STATEMENTS = 4,
7892} pm_parentheses_node_flags_t;
7897typedef enum pm_range_flags {
7899 PM_RANGE_FLAGS_EXCLUDE_END = 4,
7905typedef enum pm_regular_expression_flags {
7907 PM_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE = 4,
7910 PM_REGULAR_EXPRESSION_FLAGS_EXTENDED = 8,
7913 PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE = 16,
7916 PM_REGULAR_EXPRESSION_FLAGS_ONCE = 32,
7919 PM_REGULAR_EXPRESSION_FLAGS_EUC_JP = 64,
7922 PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT = 128,
7925 PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J = 256,
7928 PM_REGULAR_EXPRESSION_FLAGS_UTF_8 = 512,
7931 PM_REGULAR_EXPRESSION_FLAGS_FORCED_UTF8_ENCODING = 1024,
7934 PM_REGULAR_EXPRESSION_FLAGS_FORCED_BINARY_ENCODING = 2048,
7937 PM_REGULAR_EXPRESSION_FLAGS_FORCED_US_ASCII_ENCODING = 4096,
7938} pm_regular_expression_flags_t;
7943typedef enum pm_shareable_constant_node_flags {
7945 PM_SHAREABLE_CONSTANT_NODE_FLAGS_LITERAL = 4,
7948 PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_EVERYTHING = 8,
7951 PM_SHAREABLE_CONSTANT_NODE_FLAGS_EXPERIMENTAL_COPY = 16,
7952} pm_shareable_constant_node_flags_t;
7957typedef enum pm_string_flags {
7959 PM_STRING_FLAGS_FORCED_UTF8_ENCODING = 4,
7962 PM_STRING_FLAGS_FORCED_BINARY_ENCODING = 8,
7965 PM_STRING_FLAGS_FROZEN = 16,
7968 PM_STRING_FLAGS_MUTABLE = 32,
7974typedef enum pm_symbol_flags {
7976 PM_SYMBOL_FLAGS_FORCED_UTF8_ENCODING = 4,
7979 PM_SYMBOL_FLAGS_FORCED_BINARY_ENCODING = 8,
7982 PM_SYMBOL_FLAGS_FORCED_US_ASCII_ENCODING = 16,
7991#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.
struct pm_node * old_name
AliasGlobalVariableNode::old_name.
pm_node_t base
The embedded base node.
struct pm_node * new_name
AliasGlobalVariableNode::new_name.
pm_location_t keyword_loc
AliasGlobalVariableNode::keyword_loc.
struct pm_node * old_name
AliasMethodNode::old_name.
struct pm_node * new_name
AliasMethodNode::new_name.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
AliasMethodNode::keyword_loc.
pm_location_t operator_loc
AlternationPatternNode::operator_loc.
struct pm_node * left
AlternationPatternNode::left.
struct pm_node * right
AlternationPatternNode::right.
pm_node_t base
The embedded base node.
struct pm_node * left
AndNode::left.
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.
struct pm_node * rest
ArrayPatternNode::rest.
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.
struct pm_node * value
AssocNode::value.
struct pm_node * key
AssocNode::key.
pm_location_t operator_loc
AssocNode::operator_loc.
struct pm_node * value
AssocSplatNode::value.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
AssocSplatNode::operator_loc.
pm_constant_id_t name
BackReferenceReadNode::name.
pm_node_t base
The embedded base node.
struct pm_ensure_node * ensure_clause
BeginNode::ensure_clause.
struct pm_rescue_node * rescue_clause
BeginNode::rescue_clause.
struct pm_statements_node * statements
BeginNode::statements.
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.
struct pm_else_node * else_clause
BeginNode::else_clause.
pm_node_t base
The embedded base node.
struct pm_node * expression
BlockArgumentNode::expression.
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.
struct pm_node * parameters
BlockNode::parameters.
pm_location_t opening_loc
BlockNode::opening_loc.
struct pm_node * body
BlockNode::body.
pm_constant_id_list_t locals
BlockNode::locals.
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.
struct pm_parameters_node * parameters
BlockParametersNode::parameters.
pm_node_t base
The embedded base node.
struct pm_node_list locals
BlockParametersNode::locals.
pm_location_t closing_loc
BlockParametersNode::closing_loc.
pm_location_t opening_loc
BlockParametersNode::opening_loc.
struct pm_arguments_node * arguments
BreakNode::arguments.
pm_location_t keyword_loc
BreakNode::keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
CallAndWriteNode::operator_loc.
struct pm_node * value
CallAndWriteNode::value.
pm_node_t base
The embedded base node.
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.
struct pm_node * receiver
CallAndWriteNode::receiver.
pm_location_t opening_loc
CallNode::opening_loc.
pm_location_t closing_loc
CallNode::closing_loc.
struct pm_node * receiver
CallNode::receiver.
pm_constant_id_t name
CallNode::name.
pm_node_t base
The embedded base node.
pm_location_t call_operator_loc
CallNode::call_operator_loc.
pm_location_t message_loc
CallNode::message_loc.
struct pm_arguments_node * arguments
CallNode::arguments.
struct pm_node * block
CallNode::block.
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.
struct pm_node * receiver
CallOperatorWriteNode::receiver.
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.
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_t base
The embedded base node.
struct pm_node * receiver
CallOrWriteNode::receiver.
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.
struct pm_node * receiver
CallTargetNode::receiver.
pm_location_t call_operator_loc
CallTargetNode::call_operator_loc.
pm_location_t message_loc
CallTargetNode::message_loc.
struct pm_local_variable_target_node * target
CapturePatternNode::target.
pm_location_t operator_loc
CapturePatternNode::operator_loc.
struct pm_node * value
CapturePatternNode::value.
pm_node_t base
The embedded base node.
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.
struct pm_else_node * else_clause
CaseMatchNode::else_clause.
struct pm_node * predicate
CaseMatchNode::predicate.
struct pm_node * predicate
CaseNode::predicate.
struct pm_else_node * else_clause
CaseNode::else_clause.
struct pm_node_list conditions
CaseNode::conditions.
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.
struct pm_node * constant_path
ClassNode::constant_path.
pm_constant_id_list_t locals
ClassNode::locals.
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.
struct pm_node * body
ClassNode::body.
struct pm_node * superclass
ClassNode::superclass.
ClassVariableAndWriteNode.
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_location_t name_loc
ClassVariableOperatorWriteNode::name_loc.
pm_constant_id_t binary_operator
ClassVariableOperatorWriteNode::binary_operator.
struct pm_node * value
ClassVariableOperatorWriteNode::value.
pm_location_t binary_operator_loc
ClassVariableOperatorWriteNode::binary_operator_loc.
ClassVariableOrWriteNode.
pm_node_t base
The embedded base node.
pm_location_t name_loc
ClassVariableOrWriteNode::name_loc.
pm_location_t operator_loc
ClassVariableOrWriteNode::operator_loc.
pm_constant_id_t name
ClassVariableOrWriteNode::name.
struct pm_node * value
ClassVariableOrWriteNode::value.
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_t base
The embedded base node.
struct pm_node * value
ClassVariableWriteNode::value.
pm_location_t operator_loc
ClassVariableWriteNode::operator_loc.
pm_constant_id_t name
ClassVariableWriteNode::name.
pm_location_t operator_loc
ConstantAndWriteNode::operator_loc.
pm_location_t name_loc
ConstantAndWriteNode::name_loc.
pm_constant_id_t name
ConstantAndWriteNode::name.
struct pm_node * value
ConstantAndWriteNode::value.
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.
struct pm_node * value
ConstantOperatorWriteNode::value.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
ConstantOrWriteNode::operator_loc.
pm_location_t name_loc
ConstantOrWriteNode::name_loc.
pm_constant_id_t name
ConstantOrWriteNode::name.
pm_node_t base
The embedded base node.
struct pm_node * value
ConstantOrWriteNode::value.
ConstantPathAndWriteNode.
pm_node_t base
The embedded base node.
struct pm_constant_path_node * target
ConstantPathAndWriteNode::target.
pm_location_t operator_loc
ConstantPathAndWriteNode::operator_loc.
struct pm_node * value
ConstantPathAndWriteNode::value.
pm_location_t delimiter_loc
ConstantPathNode::delimiter_loc.
pm_node_t base
The embedded base node.
pm_location_t name_loc
ConstantPathNode::name_loc.
pm_constant_id_t name
ConstantPathNode::name.
struct pm_node * parent
ConstantPathNode::parent.
ConstantPathOperatorWriteNode.
struct pm_constant_path_node * target
ConstantPathOperatorWriteNode::target.
struct pm_node * value
ConstantPathOperatorWriteNode::value.
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_location_t operator_loc
ConstantPathOrWriteNode::operator_loc.
pm_node_t base
The embedded base node.
struct pm_node * value
ConstantPathOrWriteNode::value.
struct pm_constant_path_node * target
ConstantPathOrWriteNode::target.
pm_node_t base
The embedded base node.
struct pm_node * parent
ConstantPathTargetNode::parent.
pm_location_t delimiter_loc
ConstantPathTargetNode::delimiter_loc.
pm_constant_id_t name
ConstantPathTargetNode::name.
pm_location_t name_loc
ConstantPathTargetNode::name_loc.
struct pm_constant_path_node * target
ConstantPathWriteNode::target.
pm_location_t operator_loc
ConstantPathWriteNode::operator_loc.
pm_node_t base
The embedded base node.
struct pm_node * value
ConstantPathWriteNode::value.
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.
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.
struct pm_parameters_node * parameters
DefNode::parameters.
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.
struct pm_node * body
DefNode::body.
pm_location_t equal_loc
DefNode::equal_loc.
pm_location_t def_keyword_loc
DefNode::def_keyword_loc.
struct pm_node * receiver
DefNode::receiver.
pm_node_t base
The embedded base node.
pm_location_t lparen_loc
DefNode::lparen_loc.
pm_location_t operator_loc
DefNode::operator_loc.
pm_constant_id_list_t locals
DefNode::locals.
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.
struct pm_node * value
DefinedNode::value.
struct pm_statements_node * statements
ElseNode::statements.
pm_location_t else_keyword_loc
ElseNode::else_keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t end_keyword_loc
ElseNode::end_keyword_loc.
pm_location_t closing_loc
EmbeddedStatementsNode::closing_loc.
struct pm_statements_node * statements
EmbeddedStatementsNode::statements.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
EmbeddedStatementsNode::opening_loc.
struct pm_node * variable
EmbeddedVariableNode::variable.
pm_location_t operator_loc
EmbeddedVariableNode::operator_loc.
pm_node_t base
The embedded base node.
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.
struct pm_node * constant
FindPatternNode::constant.
struct pm_node * right
FindPatternNode::right.
pm_location_t opening_loc
FindPatternNode::opening_loc.
pm_node_t base
The embedded base node.
struct pm_node_list requireds
FindPatternNode::requireds.
struct pm_splat_node * left
FindPatternNode::left.
pm_location_t closing_loc
FindPatternNode::closing_loc.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
FlipFlopNode::operator_loc.
struct pm_node * left
FlipFlopNode::left.
struct pm_node * right
FlipFlopNode::right.
double value
FloatNode::value.
pm_node_t base
The embedded base node.
struct pm_statements_node * statements
ForNode::statements.
struct pm_node * index
ForNode::index.
struct pm_node * collection
ForNode::collection.
pm_node_t base
The embedded base node.
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.
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_location_t name_loc
GlobalVariableAndWriteNode::name_loc.
struct pm_node * value
GlobalVariableAndWriteNode::value.
pm_constant_id_t name
GlobalVariableAndWriteNode::name.
GlobalVariableOperatorWriteNode.
pm_constant_id_t name
GlobalVariableOperatorWriteNode::name.
pm_constant_id_t binary_operator
GlobalVariableOperatorWriteNode::binary_operator.
struct pm_node * value
GlobalVariableOperatorWriteNode::value.
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.
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.
struct pm_node * value
GlobalVariableWriteNode::value.
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.
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.
struct pm_node_list elements
HashPatternNode::elements.
pm_location_t opening_loc
HashPatternNode::opening_loc.
pm_node_t base
The embedded base node.
struct pm_node * rest
HashPatternNode::rest.
pm_location_t closing_loc
HashPatternNode::closing_loc.
struct pm_node * constant
HashPatternNode::constant.
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.
struct pm_statements_node * statements
IfNode::statements.
pm_node_t base
The embedded base node.
struct pm_node * subsequent
IfNode::subsequent.
pm_location_t then_keyword_loc
IfNode::then_keyword_loc.
struct pm_node * numeric
ImaginaryNode::numeric.
pm_node_t base
The embedded base node.
struct pm_node * value
ImplicitNode::value.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
struct pm_statements_node * statements
InNode::statements.
struct pm_node * pattern
InNode::pattern.
pm_node_t base
The embedded base node.
pm_location_t then_loc
InNode::then_loc.
pm_location_t in_loc
InNode::in_loc.
struct pm_arguments_node * arguments
IndexAndWriteNode::arguments.
struct pm_node * receiver
IndexAndWriteNode::receiver.
pm_node_t base
The embedded base node.
struct pm_block_argument_node * block
IndexAndWriteNode::block.
struct pm_node * value
IndexAndWriteNode::value.
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_t base
The embedded base node.
struct pm_block_argument_node * block
IndexOperatorWriteNode::block.
pm_location_t binary_operator_loc
IndexOperatorWriteNode::binary_operator_loc.
struct pm_node * value
IndexOperatorWriteNode::value.
pm_location_t opening_loc
IndexOperatorWriteNode::opening_loc.
pm_location_t call_operator_loc
IndexOperatorWriteNode::call_operator_loc.
pm_location_t closing_loc
IndexOperatorWriteNode::closing_loc.
struct pm_arguments_node * arguments
IndexOperatorWriteNode::arguments.
pm_constant_id_t binary_operator
IndexOperatorWriteNode::binary_operator.
struct pm_node * receiver
IndexOperatorWriteNode::receiver.
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.
struct pm_block_argument_node * block
IndexOrWriteNode::block.
pm_location_t operator_loc
IndexOrWriteNode::operator_loc.
struct pm_node * receiver
IndexOrWriteNode::receiver.
pm_location_t opening_loc
IndexOrWriteNode::opening_loc.
struct pm_node * value
IndexOrWriteNode::value.
struct pm_arguments_node * arguments
IndexOrWriteNode::arguments.
pm_node_t base
The embedded base node.
struct pm_node * receiver
IndexTargetNode::receiver.
pm_location_t closing_loc
IndexTargetNode::closing_loc.
struct pm_arguments_node * arguments
IndexTargetNode::arguments.
pm_location_t opening_loc
IndexTargetNode::opening_loc.
struct pm_block_argument_node * block
IndexTargetNode::block.
InstanceVariableAndWriteNode.
pm_location_t operator_loc
InstanceVariableAndWriteNode::operator_loc.
pm_location_t name_loc
InstanceVariableAndWriteNode::name_loc.
struct pm_node * value
InstanceVariableAndWriteNode::value.
pm_node_t base
The embedded base node.
pm_constant_id_t name
InstanceVariableAndWriteNode::name.
InstanceVariableOperatorWriteNode.
struct pm_node * value
InstanceVariableOperatorWriteNode::value.
pm_constant_id_t binary_operator
InstanceVariableOperatorWriteNode::binary_operator.
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.
struct pm_node * value
InstanceVariableOrWriteNode::value.
pm_node_t base
The embedded base node.
pm_location_t name_loc
InstanceVariableOrWriteNode::name_loc.
pm_constant_id_t name
InstanceVariableOrWriteNode::name.
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_constant_id_t name
InstanceVariableWriteNode::name.
pm_node_t base
The embedded base node.
struct pm_node * value
InstanceVariableWriteNode::value.
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.
struct pm_node * body
LambdaNode::body.
pm_location_t opening_loc
LambdaNode::opening_loc.
struct pm_node * parameters
LambdaNode::parameters.
pm_location_t operator_loc
LambdaNode::operator_loc.
pm_constant_id_list_t locals
LambdaNode::locals.
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.
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.
struct pm_node * value
LocalVariableOperatorWriteNode::value.
pm_location_t name_loc
LocalVariableOperatorWriteNode::name_loc.
pm_location_t binary_operator_loc
LocalVariableOperatorWriteNode::binary_operator_loc.
pm_constant_id_t name
LocalVariableOperatorWriteNode::name.
LocalVariableOrWriteNode.
uint32_t depth
LocalVariableOrWriteNode::depth.
pm_location_t operator_loc
LocalVariableOrWriteNode::operator_loc.
struct pm_node * value
LocalVariableOrWriteNode::value.
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_location_t operator_loc
LocalVariableWriteNode::operator_loc.
pm_location_t name_loc
LocalVariableWriteNode::name_loc.
pm_node_t base
The embedded base node.
struct pm_node * value
LocalVariableWriteNode::value.
uint32_t depth
LocalVariableWriteNode::depth.
pm_constant_id_t name
LocalVariableWriteNode::name.
This represents a range of bytes in the source string to which a node or token corresponds.
const uint8_t * start
A pointer to the start location of the range in the source.
const uint8_t * end
A pointer to the end location of the range in the source.
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.
struct pm_node * pattern
MatchPredicateNode::pattern.
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.
struct pm_node * value
MatchRequiredNode::value.
struct pm_node * pattern
MatchRequiredNode::pattern.
pm_node_t base
The embedded base node.
struct pm_node_list targets
MatchWriteNode::targets.
struct pm_call_node * call
MatchWriteNode::call.
pm_node_t base
The embedded base node.
pm_location_t end_keyword_loc
ModuleNode::end_keyword_loc.
struct pm_node * constant_path
ModuleNode::constant_path.
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_t base
The embedded base node.
pm_location_t lparen_loc
MultiTargetNode::lparen_loc.
struct pm_node_list lefts
MultiTargetNode::lefts.
struct pm_node * rest
MultiTargetNode::rest.
pm_location_t rparen_loc
MultiTargetNode::rparen_loc.
struct pm_node_list rights
MultiTargetNode::rights.
pm_location_t rparen_loc
MultiWriteNode::rparen_loc.
struct pm_node * value
MultiWriteNode::value.
struct pm_node * rest
MultiWriteNode::rest.
struct pm_node_list rights
MultiWriteNode::rights.
pm_location_t operator_loc
MultiWriteNode::operator_loc.
pm_location_t lparen_loc
MultiWriteNode::lparen_loc.
struct pm_node_list lefts
MultiWriteNode::lefts.
pm_node_t base
The embedded base node.
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
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.
struct pm_node * value
OptionalKeywordParameterNode::value.
pm_location_t name_loc
OptionalKeywordParameterNode::name_loc.
pm_location_t name_loc
OptionalParameterNode::name_loc.
struct pm_node * value
OptionalParameterNode::value.
pm_constant_id_t name
OptionalParameterNode::name.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
OptionalParameterNode::operator_loc.
struct pm_node * left
OrNode::left.
struct pm_node * right
OrNode::right.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
OrNode::operator_loc.
struct pm_node * rest
ParametersNode::rest.
struct pm_node_list requireds
ParametersNode::requireds.
struct pm_block_parameter_node * block
ParametersNode::block.
struct pm_node_list optionals
ParametersNode::optionals.
struct pm_node_list posts
ParametersNode::posts.
pm_node_t base
The embedded base node.
struct pm_node * keyword_rest
ParametersNode::keyword_rest.
struct pm_node_list keywords
ParametersNode::keywords.
struct pm_node * body
ParenthesesNode::body.
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_t base
The embedded base node.
pm_location_t rparen_loc
PinnedExpressionNode::rparen_loc.
struct pm_node * expression
PinnedExpressionNode::expression.
pm_location_t lparen_loc
PinnedExpressionNode::lparen_loc.
pm_location_t operator_loc
PinnedExpressionNode::operator_loc.
struct pm_node * variable
PinnedVariableNode::variable.
pm_node_t base
The embedded base node.
pm_location_t operator_loc
PinnedVariableNode::operator_loc.
pm_location_t closing_loc
PostExecutionNode::closing_loc.
struct pm_statements_node * statements
PostExecutionNode::statements.
pm_node_t base
The embedded base node.
pm_location_t opening_loc
PostExecutionNode::opening_loc.
pm_location_t keyword_loc
PostExecutionNode::keyword_loc.
struct pm_statements_node * statements
PreExecutionNode::statements.
pm_location_t closing_loc
PreExecutionNode::closing_loc.
pm_location_t opening_loc
PreExecutionNode::opening_loc.
pm_node_t base
The embedded base node.
pm_location_t keyword_loc
PreExecutionNode::keyword_loc.
struct pm_statements_node * statements
ProgramNode::statements.
pm_node_t base
The embedded base node.
pm_constant_id_list_t locals
ProgramNode::locals.
struct pm_node * right
RangeNode::right.
pm_location_t operator_loc
RangeNode::operator_loc.
pm_node_t base
The embedded base node.
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_t base
The embedded base node.
struct pm_node * rescue_expression
RescueModifierNode::rescue_expression.
pm_location_t keyword_loc
RescueModifierNode::keyword_loc.
struct pm_node * expression
RescueModifierNode::expression.
pm_location_t keyword_loc
RescueNode::keyword_loc.
struct pm_rescue_node * subsequent
RescueNode::subsequent.
pm_location_t then_keyword_loc
RescueNode::then_keyword_loc.
pm_location_t operator_loc
RescueNode::operator_loc.
struct pm_node * reference
RescueNode::reference.
struct pm_node_list exceptions
RescueNode::exceptions.
struct pm_statements_node * statements
RescueNode::statements.
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_location_t keyword_loc
ReturnNode::keyword_loc.
pm_node_t base
The embedded base node.
struct pm_arguments_node * arguments
ReturnNode::arguments.
pm_node_t base
The embedded base node.
struct pm_node * write
ShareableConstantNode::write.
pm_node_t base
The embedded base node.
pm_node_t base
The embedded base node.
pm_constant_id_list_t locals
SingletonClassNode::locals.
pm_location_t operator_loc
SingletonClassNode::operator_loc.
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.
struct pm_node * body
SingletonClassNode::body.
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.
struct pm_node * expression
SplatNode::expression.
pm_node_t base
The embedded base node.
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.
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.
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_location_t end_keyword_loc
UnlessNode::end_keyword_loc.
pm_node_t base
The embedded base node.
struct pm_statements_node * statements
UnlessNode::statements.
struct pm_node * predicate
UnlessNode::predicate.
struct pm_else_node * else_clause
UnlessNode::else_clause.
struct pm_statements_node * statements
UntilNode::statements.
pm_location_t closing_loc
UntilNode::closing_loc.
struct pm_node * predicate
UntilNode::predicate.
pm_location_t keyword_loc
UntilNode::keyword_loc.
pm_node_t base
The embedded base node.
pm_location_t do_keyword_loc
UntilNode::do_keyword_loc.
struct pm_statements_node * statements
WhenNode::statements.
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.
struct pm_node_list conditions
WhenNode::conditions.
pm_location_t closing_loc
WhileNode::closing_loc.
pm_location_t keyword_loc
WhileNode::keyword_loc.
struct pm_statements_node * statements
WhileNode::statements.
pm_node_t base
The embedded base node.
pm_location_t do_keyword_loc
WhileNode::do_keyword_loc.
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.
struct pm_arguments_node * arguments
YieldNode::arguments.