pub enum Node<'pr> {
Show 151 variants
AliasGlobalVariableNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_alias_global_variable_node_t,
marker: PhantomData<&'pr mut pm_alias_global_variable_node_t>,
},
AliasMethodNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_alias_method_node_t,
marker: PhantomData<&'pr mut pm_alias_method_node_t>,
},
AlternationPatternNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_alternation_pattern_node_t,
marker: PhantomData<&'pr mut pm_alternation_pattern_node_t>,
},
AndNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_and_node_t,
marker: PhantomData<&'pr mut pm_and_node_t>,
},
ArgumentsNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_arguments_node_t,
marker: PhantomData<&'pr mut pm_arguments_node_t>,
},
ArrayNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_array_node_t,
marker: PhantomData<&'pr mut pm_array_node_t>,
},
ArrayPatternNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_array_pattern_node_t,
marker: PhantomData<&'pr mut pm_array_pattern_node_t>,
},
AssocNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_assoc_node_t,
marker: PhantomData<&'pr mut pm_assoc_node_t>,
},
AssocSplatNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_assoc_splat_node_t,
marker: PhantomData<&'pr mut pm_assoc_splat_node_t>,
},
BackReferenceReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_back_reference_read_node_t,
marker: PhantomData<&'pr mut pm_back_reference_read_node_t>,
},
BeginNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_begin_node_t,
marker: PhantomData<&'pr mut pm_begin_node_t>,
},
BlockArgumentNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_block_argument_node_t,
marker: PhantomData<&'pr mut pm_block_argument_node_t>,
},
BlockLocalVariableNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_block_local_variable_node_t,
marker: PhantomData<&'pr mut pm_block_local_variable_node_t>,
},
BlockNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_block_node_t,
marker: PhantomData<&'pr mut pm_block_node_t>,
},
BlockParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_block_parameter_node_t,
marker: PhantomData<&'pr mut pm_block_parameter_node_t>,
},
BlockParametersNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_block_parameters_node_t,
marker: PhantomData<&'pr mut pm_block_parameters_node_t>,
},
BreakNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_break_node_t,
marker: PhantomData<&'pr mut pm_break_node_t>,
},
CallAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_call_and_write_node_t,
marker: PhantomData<&'pr mut pm_call_and_write_node_t>,
},
CallNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_call_node_t,
marker: PhantomData<&'pr mut pm_call_node_t>,
},
CallOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_call_operator_write_node_t,
marker: PhantomData<&'pr mut pm_call_operator_write_node_t>,
},
CallOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_call_or_write_node_t,
marker: PhantomData<&'pr mut pm_call_or_write_node_t>,
},
CallTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_call_target_node_t,
marker: PhantomData<&'pr mut pm_call_target_node_t>,
},
CapturePatternNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_capture_pattern_node_t,
marker: PhantomData<&'pr mut pm_capture_pattern_node_t>,
},
CaseMatchNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_case_match_node_t,
marker: PhantomData<&'pr mut pm_case_match_node_t>,
},
CaseNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_case_node_t,
marker: PhantomData<&'pr mut pm_case_node_t>,
},
ClassNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_node_t,
marker: PhantomData<&'pr mut pm_class_node_t>,
},
ClassVariableAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_variable_and_write_node_t,
marker: PhantomData<&'pr mut pm_class_variable_and_write_node_t>,
},
ClassVariableOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_variable_operator_write_node_t,
marker: PhantomData<&'pr mut pm_class_variable_operator_write_node_t>,
},
ClassVariableOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_variable_or_write_node_t,
marker: PhantomData<&'pr mut pm_class_variable_or_write_node_t>,
},
ClassVariableReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_variable_read_node_t,
marker: PhantomData<&'pr mut pm_class_variable_read_node_t>,
},
ClassVariableTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_variable_target_node_t,
marker: PhantomData<&'pr mut pm_class_variable_target_node_t>,
},
ClassVariableWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_class_variable_write_node_t,
marker: PhantomData<&'pr mut pm_class_variable_write_node_t>,
},
ConstantAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_and_write_node_t,
marker: PhantomData<&'pr mut pm_constant_and_write_node_t>,
},
ConstantOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_operator_write_node_t,
marker: PhantomData<&'pr mut pm_constant_operator_write_node_t>,
},
ConstantOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_or_write_node_t,
marker: PhantomData<&'pr mut pm_constant_or_write_node_t>,
},
ConstantPathAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_path_and_write_node_t,
marker: PhantomData<&'pr mut pm_constant_path_and_write_node_t>,
},
ConstantPathNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_path_node_t,
marker: PhantomData<&'pr mut pm_constant_path_node_t>,
},
ConstantPathOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_path_operator_write_node_t,
marker: PhantomData<&'pr mut pm_constant_path_operator_write_node_t>,
},
ConstantPathOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_path_or_write_node_t,
marker: PhantomData<&'pr mut pm_constant_path_or_write_node_t>,
},
ConstantPathTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_path_target_node_t,
marker: PhantomData<&'pr mut pm_constant_path_target_node_t>,
},
ConstantPathWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_path_write_node_t,
marker: PhantomData<&'pr mut pm_constant_path_write_node_t>,
},
ConstantReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_read_node_t,
marker: PhantomData<&'pr mut pm_constant_read_node_t>,
},
ConstantTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_target_node_t,
marker: PhantomData<&'pr mut pm_constant_target_node_t>,
},
ConstantWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_constant_write_node_t,
marker: PhantomData<&'pr mut pm_constant_write_node_t>,
},
DefNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_def_node_t,
marker: PhantomData<&'pr mut pm_def_node_t>,
},
DefinedNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_defined_node_t,
marker: PhantomData<&'pr mut pm_defined_node_t>,
},
ElseNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_else_node_t,
marker: PhantomData<&'pr mut pm_else_node_t>,
},
EmbeddedStatementsNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_embedded_statements_node_t,
marker: PhantomData<&'pr mut pm_embedded_statements_node_t>,
},
EmbeddedVariableNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_embedded_variable_node_t,
marker: PhantomData<&'pr mut pm_embedded_variable_node_t>,
},
EnsureNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_ensure_node_t,
marker: PhantomData<&'pr mut pm_ensure_node_t>,
},
FalseNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_false_node_t,
marker: PhantomData<&'pr mut pm_false_node_t>,
},
FindPatternNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_find_pattern_node_t,
marker: PhantomData<&'pr mut pm_find_pattern_node_t>,
},
FlipFlopNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_flip_flop_node_t,
marker: PhantomData<&'pr mut pm_flip_flop_node_t>,
},
FloatNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_float_node_t,
marker: PhantomData<&'pr mut pm_float_node_t>,
},
ForNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_for_node_t,
marker: PhantomData<&'pr mut pm_for_node_t>,
},
ForwardingArgumentsNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_forwarding_arguments_node_t,
marker: PhantomData<&'pr mut pm_forwarding_arguments_node_t>,
},
ForwardingParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_forwarding_parameter_node_t,
marker: PhantomData<&'pr mut pm_forwarding_parameter_node_t>,
},
ForwardingSuperNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_forwarding_super_node_t,
marker: PhantomData<&'pr mut pm_forwarding_super_node_t>,
},
GlobalVariableAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_global_variable_and_write_node_t,
marker: PhantomData<&'pr mut pm_global_variable_and_write_node_t>,
},
GlobalVariableOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_global_variable_operator_write_node_t,
marker: PhantomData<&'pr mut pm_global_variable_operator_write_node_t>,
},
GlobalVariableOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_global_variable_or_write_node_t,
marker: PhantomData<&'pr mut pm_global_variable_or_write_node_t>,
},
GlobalVariableReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_global_variable_read_node_t,
marker: PhantomData<&'pr mut pm_global_variable_read_node_t>,
},
GlobalVariableTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_global_variable_target_node_t,
marker: PhantomData<&'pr mut pm_global_variable_target_node_t>,
},
GlobalVariableWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_global_variable_write_node_t,
marker: PhantomData<&'pr mut pm_global_variable_write_node_t>,
},
HashNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_hash_node_t,
marker: PhantomData<&'pr mut pm_hash_node_t>,
},
HashPatternNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_hash_pattern_node_t,
marker: PhantomData<&'pr mut pm_hash_pattern_node_t>,
},
IfNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_if_node_t,
marker: PhantomData<&'pr mut pm_if_node_t>,
},
ImaginaryNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_imaginary_node_t,
marker: PhantomData<&'pr mut pm_imaginary_node_t>,
},
ImplicitNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_implicit_node_t,
marker: PhantomData<&'pr mut pm_implicit_node_t>,
},
ImplicitRestNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_implicit_rest_node_t,
marker: PhantomData<&'pr mut pm_implicit_rest_node_t>,
},
InNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_in_node_t,
marker: PhantomData<&'pr mut pm_in_node_t>,
},
IndexAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_index_and_write_node_t,
marker: PhantomData<&'pr mut pm_index_and_write_node_t>,
},
IndexOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_index_operator_write_node_t,
marker: PhantomData<&'pr mut pm_index_operator_write_node_t>,
},
IndexOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_index_or_write_node_t,
marker: PhantomData<&'pr mut pm_index_or_write_node_t>,
},
IndexTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_index_target_node_t,
marker: PhantomData<&'pr mut pm_index_target_node_t>,
},
InstanceVariableAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_instance_variable_and_write_node_t,
marker: PhantomData<&'pr mut pm_instance_variable_and_write_node_t>,
},
InstanceVariableOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_instance_variable_operator_write_node_t,
marker: PhantomData<&'pr mut pm_instance_variable_operator_write_node_t>,
},
InstanceVariableOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_instance_variable_or_write_node_t,
marker: PhantomData<&'pr mut pm_instance_variable_or_write_node_t>,
},
InstanceVariableReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_instance_variable_read_node_t,
marker: PhantomData<&'pr mut pm_instance_variable_read_node_t>,
},
InstanceVariableTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_instance_variable_target_node_t,
marker: PhantomData<&'pr mut pm_instance_variable_target_node_t>,
},
InstanceVariableWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_instance_variable_write_node_t,
marker: PhantomData<&'pr mut pm_instance_variable_write_node_t>,
},
IntegerNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_integer_node_t,
marker: PhantomData<&'pr mut pm_integer_node_t>,
},
InterpolatedMatchLastLineNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_interpolated_match_last_line_node_t,
marker: PhantomData<&'pr mut pm_interpolated_match_last_line_node_t>,
},
InterpolatedRegularExpressionNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_interpolated_regular_expression_node_t,
marker: PhantomData<&'pr mut pm_interpolated_regular_expression_node_t>,
},
InterpolatedStringNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_interpolated_string_node_t,
marker: PhantomData<&'pr mut pm_interpolated_string_node_t>,
},
InterpolatedSymbolNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_interpolated_symbol_node_t,
marker: PhantomData<&'pr mut pm_interpolated_symbol_node_t>,
},
InterpolatedXStringNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_interpolated_x_string_node_t,
marker: PhantomData<&'pr mut pm_interpolated_x_string_node_t>,
},
ItLocalVariableReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_it_local_variable_read_node_t,
marker: PhantomData<&'pr mut pm_it_local_variable_read_node_t>,
},
ItParametersNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_it_parameters_node_t,
marker: PhantomData<&'pr mut pm_it_parameters_node_t>,
},
KeywordHashNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_keyword_hash_node_t,
marker: PhantomData<&'pr mut pm_keyword_hash_node_t>,
},
KeywordRestParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_keyword_rest_parameter_node_t,
marker: PhantomData<&'pr mut pm_keyword_rest_parameter_node_t>,
},
LambdaNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_lambda_node_t,
marker: PhantomData<&'pr mut pm_lambda_node_t>,
},
LocalVariableAndWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_local_variable_and_write_node_t,
marker: PhantomData<&'pr mut pm_local_variable_and_write_node_t>,
},
LocalVariableOperatorWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_local_variable_operator_write_node_t,
marker: PhantomData<&'pr mut pm_local_variable_operator_write_node_t>,
},
LocalVariableOrWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_local_variable_or_write_node_t,
marker: PhantomData<&'pr mut pm_local_variable_or_write_node_t>,
},
LocalVariableReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_local_variable_read_node_t,
marker: PhantomData<&'pr mut pm_local_variable_read_node_t>,
},
LocalVariableTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_local_variable_target_node_t,
marker: PhantomData<&'pr mut pm_local_variable_target_node_t>,
},
LocalVariableWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_local_variable_write_node_t,
marker: PhantomData<&'pr mut pm_local_variable_write_node_t>,
},
MatchLastLineNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_match_last_line_node_t,
marker: PhantomData<&'pr mut pm_match_last_line_node_t>,
},
MatchPredicateNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_match_predicate_node_t,
marker: PhantomData<&'pr mut pm_match_predicate_node_t>,
},
MatchRequiredNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_match_required_node_t,
marker: PhantomData<&'pr mut pm_match_required_node_t>,
},
MatchWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_match_write_node_t,
marker: PhantomData<&'pr mut pm_match_write_node_t>,
},
MissingNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_missing_node_t,
marker: PhantomData<&'pr mut pm_missing_node_t>,
},
ModuleNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_module_node_t,
marker: PhantomData<&'pr mut pm_module_node_t>,
},
MultiTargetNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_multi_target_node_t,
marker: PhantomData<&'pr mut pm_multi_target_node_t>,
},
MultiWriteNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_multi_write_node_t,
marker: PhantomData<&'pr mut pm_multi_write_node_t>,
},
NextNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_next_node_t,
marker: PhantomData<&'pr mut pm_next_node_t>,
},
NilNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_nil_node_t,
marker: PhantomData<&'pr mut pm_nil_node_t>,
},
NoKeywordsParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_no_keywords_parameter_node_t,
marker: PhantomData<&'pr mut pm_no_keywords_parameter_node_t>,
},
NumberedParametersNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_numbered_parameters_node_t,
marker: PhantomData<&'pr mut pm_numbered_parameters_node_t>,
},
NumberedReferenceReadNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_numbered_reference_read_node_t,
marker: PhantomData<&'pr mut pm_numbered_reference_read_node_t>,
},
OptionalKeywordParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_optional_keyword_parameter_node_t,
marker: PhantomData<&'pr mut pm_optional_keyword_parameter_node_t>,
},
OptionalParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_optional_parameter_node_t,
marker: PhantomData<&'pr mut pm_optional_parameter_node_t>,
},
OrNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_or_node_t,
marker: PhantomData<&'pr mut pm_or_node_t>,
},
ParametersNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_parameters_node_t,
marker: PhantomData<&'pr mut pm_parameters_node_t>,
},
ParenthesesNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_parentheses_node_t,
marker: PhantomData<&'pr mut pm_parentheses_node_t>,
},
PinnedExpressionNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_pinned_expression_node_t,
marker: PhantomData<&'pr mut pm_pinned_expression_node_t>,
},
PinnedVariableNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_pinned_variable_node_t,
marker: PhantomData<&'pr mut pm_pinned_variable_node_t>,
},
PostExecutionNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_post_execution_node_t,
marker: PhantomData<&'pr mut pm_post_execution_node_t>,
},
PreExecutionNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_pre_execution_node_t,
marker: PhantomData<&'pr mut pm_pre_execution_node_t>,
},
ProgramNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_program_node_t,
marker: PhantomData<&'pr mut pm_program_node_t>,
},
RangeNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_range_node_t,
marker: PhantomData<&'pr mut pm_range_node_t>,
},
RationalNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_rational_node_t,
marker: PhantomData<&'pr mut pm_rational_node_t>,
},
RedoNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_redo_node_t,
marker: PhantomData<&'pr mut pm_redo_node_t>,
},
RegularExpressionNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_regular_expression_node_t,
marker: PhantomData<&'pr mut pm_regular_expression_node_t>,
},
RequiredKeywordParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_required_keyword_parameter_node_t,
marker: PhantomData<&'pr mut pm_required_keyword_parameter_node_t>,
},
RequiredParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_required_parameter_node_t,
marker: PhantomData<&'pr mut pm_required_parameter_node_t>,
},
RescueModifierNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_rescue_modifier_node_t,
marker: PhantomData<&'pr mut pm_rescue_modifier_node_t>,
},
RescueNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_rescue_node_t,
marker: PhantomData<&'pr mut pm_rescue_node_t>,
},
RestParameterNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_rest_parameter_node_t,
marker: PhantomData<&'pr mut pm_rest_parameter_node_t>,
},
RetryNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_retry_node_t,
marker: PhantomData<&'pr mut pm_retry_node_t>,
},
ReturnNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_return_node_t,
marker: PhantomData<&'pr mut pm_return_node_t>,
},
SelfNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_self_node_t,
marker: PhantomData<&'pr mut pm_self_node_t>,
},
ShareableConstantNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_shareable_constant_node_t,
marker: PhantomData<&'pr mut pm_shareable_constant_node_t>,
},
SingletonClassNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_singleton_class_node_t,
marker: PhantomData<&'pr mut pm_singleton_class_node_t>,
},
SourceEncodingNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_source_encoding_node_t,
marker: PhantomData<&'pr mut pm_source_encoding_node_t>,
},
SourceFileNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_source_file_node_t,
marker: PhantomData<&'pr mut pm_source_file_node_t>,
},
SourceLineNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_source_line_node_t,
marker: PhantomData<&'pr mut pm_source_line_node_t>,
},
SplatNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_splat_node_t,
marker: PhantomData<&'pr mut pm_splat_node_t>,
},
StatementsNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_statements_node_t,
marker: PhantomData<&'pr mut pm_statements_node_t>,
},
StringNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_string_node_t,
marker: PhantomData<&'pr mut pm_string_node_t>,
},
SuperNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_super_node_t,
marker: PhantomData<&'pr mut pm_super_node_t>,
},
SymbolNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_symbol_node_t,
marker: PhantomData<&'pr mut pm_symbol_node_t>,
},
TrueNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_true_node_t,
marker: PhantomData<&'pr mut pm_true_node_t>,
},
UndefNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_undef_node_t,
marker: PhantomData<&'pr mut pm_undef_node_t>,
},
UnlessNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_unless_node_t,
marker: PhantomData<&'pr mut pm_unless_node_t>,
},
UntilNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_until_node_t,
marker: PhantomData<&'pr mut pm_until_node_t>,
},
WhenNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_when_node_t,
marker: PhantomData<&'pr mut pm_when_node_t>,
},
WhileNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_while_node_t,
marker: PhantomData<&'pr mut pm_while_node_t>,
},
XStringNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_x_string_node_t,
marker: PhantomData<&'pr mut pm_x_string_node_t>,
},
YieldNode {
parser: NonNull<pm_parser_t>,
pointer: *mut pm_yield_node_t,
marker: PhantomData<&'pr mut pm_yield_node_t>,
},
}
Expand description
An enum representing the different kinds of nodes that can be parsed.
Variants§
AliasGlobalVariableNode
The AliasGlobalVariableNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_alias_global_variable_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_alias_global_variable_node_t>
The marker to indicate the lifetime of the pointer.
AliasMethodNode
The AliasMethodNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_alias_method_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_alias_method_node_t>
The marker to indicate the lifetime of the pointer.
AlternationPatternNode
The AlternationPatternNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_alternation_pattern_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_alternation_pattern_node_t>
The marker to indicate the lifetime of the pointer.
AndNode
The AndNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_and_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_and_node_t>
The marker to indicate the lifetime of the pointer.
ArgumentsNode
The ArgumentsNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_arguments_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_arguments_node_t>
The marker to indicate the lifetime of the pointer.
ArrayNode
The ArrayNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_array_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_array_node_t>
The marker to indicate the lifetime of the pointer.
ArrayPatternNode
The ArrayPatternNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_array_pattern_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_array_pattern_node_t>
The marker to indicate the lifetime of the pointer.
AssocNode
The AssocNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_assoc_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_assoc_node_t>
The marker to indicate the lifetime of the pointer.
AssocSplatNode
The AssocSplatNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_assoc_splat_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_assoc_splat_node_t>
The marker to indicate the lifetime of the pointer.
BackReferenceReadNode
The BackReferenceReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_back_reference_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_back_reference_read_node_t>
The marker to indicate the lifetime of the pointer.
BeginNode
The BeginNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_begin_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_begin_node_t>
The marker to indicate the lifetime of the pointer.
BlockArgumentNode
The BlockArgumentNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_block_argument_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_block_argument_node_t>
The marker to indicate the lifetime of the pointer.
BlockLocalVariableNode
The BlockLocalVariableNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_block_local_variable_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_block_local_variable_node_t>
The marker to indicate the lifetime of the pointer.
BlockNode
The BlockNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_block_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_block_node_t>
The marker to indicate the lifetime of the pointer.
BlockParameterNode
The BlockParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_block_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_block_parameter_node_t>
The marker to indicate the lifetime of the pointer.
BlockParametersNode
The BlockParametersNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_block_parameters_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_block_parameters_node_t>
The marker to indicate the lifetime of the pointer.
BreakNode
The BreakNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_break_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_break_node_t>
The marker to indicate the lifetime of the pointer.
CallAndWriteNode
The CallAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_call_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_call_and_write_node_t>
The marker to indicate the lifetime of the pointer.
CallNode
The CallNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_call_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_call_node_t>
The marker to indicate the lifetime of the pointer.
CallOperatorWriteNode
The CallOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_call_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_call_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
CallOrWriteNode
The CallOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_call_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_call_or_write_node_t>
The marker to indicate the lifetime of the pointer.
CallTargetNode
The CallTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_call_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_call_target_node_t>
The marker to indicate the lifetime of the pointer.
CapturePatternNode
The CapturePatternNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_capture_pattern_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_capture_pattern_node_t>
The marker to indicate the lifetime of the pointer.
CaseMatchNode
The CaseMatchNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_case_match_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_case_match_node_t>
The marker to indicate the lifetime of the pointer.
CaseNode
The CaseNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_case_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_case_node_t>
The marker to indicate the lifetime of the pointer.
ClassNode
The ClassNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_node_t>
The marker to indicate the lifetime of the pointer.
ClassVariableAndWriteNode
The ClassVariableAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_variable_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_variable_and_write_node_t>
The marker to indicate the lifetime of the pointer.
ClassVariableOperatorWriteNode
The ClassVariableOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_variable_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_variable_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
ClassVariableOrWriteNode
The ClassVariableOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_variable_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_variable_or_write_node_t>
The marker to indicate the lifetime of the pointer.
ClassVariableReadNode
The ClassVariableReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_variable_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_variable_read_node_t>
The marker to indicate the lifetime of the pointer.
ClassVariableTargetNode
The ClassVariableTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_variable_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_variable_target_node_t>
The marker to indicate the lifetime of the pointer.
ClassVariableWriteNode
The ClassVariableWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_class_variable_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_class_variable_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantAndWriteNode
The ConstantAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_and_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantOperatorWriteNode
The ConstantOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantOrWriteNode
The ConstantOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_or_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantPathAndWriteNode
The ConstantPathAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_path_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_path_and_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantPathNode
The ConstantPathNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_path_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_path_node_t>
The marker to indicate the lifetime of the pointer.
ConstantPathOperatorWriteNode
The ConstantPathOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_path_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_path_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantPathOrWriteNode
The ConstantPathOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_path_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_path_or_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantPathTargetNode
The ConstantPathTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_path_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_path_target_node_t>
The marker to indicate the lifetime of the pointer.
ConstantPathWriteNode
The ConstantPathWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_path_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_path_write_node_t>
The marker to indicate the lifetime of the pointer.
ConstantReadNode
The ConstantReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_read_node_t>
The marker to indicate the lifetime of the pointer.
ConstantTargetNode
The ConstantTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_target_node_t>
The marker to indicate the lifetime of the pointer.
ConstantWriteNode
The ConstantWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_constant_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_constant_write_node_t>
The marker to indicate the lifetime of the pointer.
DefNode
The DefNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_def_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_def_node_t>
The marker to indicate the lifetime of the pointer.
DefinedNode
The DefinedNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_defined_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_defined_node_t>
The marker to indicate the lifetime of the pointer.
ElseNode
The ElseNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_else_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_else_node_t>
The marker to indicate the lifetime of the pointer.
EmbeddedStatementsNode
The EmbeddedStatementsNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_embedded_statements_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_embedded_statements_node_t>
The marker to indicate the lifetime of the pointer.
EmbeddedVariableNode
The EmbeddedVariableNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_embedded_variable_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_embedded_variable_node_t>
The marker to indicate the lifetime of the pointer.
EnsureNode
The EnsureNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_ensure_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_ensure_node_t>
The marker to indicate the lifetime of the pointer.
FalseNode
The FalseNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_false_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_false_node_t>
The marker to indicate the lifetime of the pointer.
FindPatternNode
The FindPatternNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_find_pattern_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_find_pattern_node_t>
The marker to indicate the lifetime of the pointer.
FlipFlopNode
The FlipFlopNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_flip_flop_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_flip_flop_node_t>
The marker to indicate the lifetime of the pointer.
FloatNode
The FloatNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_float_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_float_node_t>
The marker to indicate the lifetime of the pointer.
ForNode
The ForNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_for_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_for_node_t>
The marker to indicate the lifetime of the pointer.
ForwardingArgumentsNode
The ForwardingArgumentsNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_forwarding_arguments_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_forwarding_arguments_node_t>
The marker to indicate the lifetime of the pointer.
ForwardingParameterNode
The ForwardingParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_forwarding_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_forwarding_parameter_node_t>
The marker to indicate the lifetime of the pointer.
ForwardingSuperNode
The ForwardingSuperNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_forwarding_super_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_forwarding_super_node_t>
The marker to indicate the lifetime of the pointer.
GlobalVariableAndWriteNode
The GlobalVariableAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_global_variable_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_global_variable_and_write_node_t>
The marker to indicate the lifetime of the pointer.
GlobalVariableOperatorWriteNode
The GlobalVariableOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_global_variable_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_global_variable_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
GlobalVariableOrWriteNode
The GlobalVariableOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_global_variable_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_global_variable_or_write_node_t>
The marker to indicate the lifetime of the pointer.
GlobalVariableReadNode
The GlobalVariableReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_global_variable_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_global_variable_read_node_t>
The marker to indicate the lifetime of the pointer.
GlobalVariableTargetNode
The GlobalVariableTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_global_variable_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_global_variable_target_node_t>
The marker to indicate the lifetime of the pointer.
GlobalVariableWriteNode
The GlobalVariableWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_global_variable_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_global_variable_write_node_t>
The marker to indicate the lifetime of the pointer.
HashNode
The HashNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_hash_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_hash_node_t>
The marker to indicate the lifetime of the pointer.
HashPatternNode
The HashPatternNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_hash_pattern_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_hash_pattern_node_t>
The marker to indicate the lifetime of the pointer.
IfNode
The IfNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_if_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_if_node_t>
The marker to indicate the lifetime of the pointer.
ImaginaryNode
The ImaginaryNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_imaginary_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_imaginary_node_t>
The marker to indicate the lifetime of the pointer.
ImplicitNode
The ImplicitNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_implicit_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_implicit_node_t>
The marker to indicate the lifetime of the pointer.
ImplicitRestNode
The ImplicitRestNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_implicit_rest_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_implicit_rest_node_t>
The marker to indicate the lifetime of the pointer.
InNode
The InNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_in_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_in_node_t>
The marker to indicate the lifetime of the pointer.
IndexAndWriteNode
The IndexAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_index_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_index_and_write_node_t>
The marker to indicate the lifetime of the pointer.
IndexOperatorWriteNode
The IndexOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_index_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_index_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
IndexOrWriteNode
The IndexOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_index_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_index_or_write_node_t>
The marker to indicate the lifetime of the pointer.
IndexTargetNode
The IndexTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_index_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_index_target_node_t>
The marker to indicate the lifetime of the pointer.
InstanceVariableAndWriteNode
The InstanceVariableAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_instance_variable_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_instance_variable_and_write_node_t>
The marker to indicate the lifetime of the pointer.
InstanceVariableOperatorWriteNode
The InstanceVariableOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_instance_variable_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_instance_variable_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
InstanceVariableOrWriteNode
The InstanceVariableOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_instance_variable_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_instance_variable_or_write_node_t>
The marker to indicate the lifetime of the pointer.
InstanceVariableReadNode
The InstanceVariableReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_instance_variable_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_instance_variable_read_node_t>
The marker to indicate the lifetime of the pointer.
InstanceVariableTargetNode
The InstanceVariableTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_instance_variable_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_instance_variable_target_node_t>
The marker to indicate the lifetime of the pointer.
InstanceVariableWriteNode
The InstanceVariableWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_instance_variable_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_instance_variable_write_node_t>
The marker to indicate the lifetime of the pointer.
IntegerNode
The IntegerNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_integer_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_integer_node_t>
The marker to indicate the lifetime of the pointer.
InterpolatedMatchLastLineNode
The InterpolatedMatchLastLineNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_interpolated_match_last_line_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_interpolated_match_last_line_node_t>
The marker to indicate the lifetime of the pointer.
InterpolatedRegularExpressionNode
The InterpolatedRegularExpressionNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_interpolated_regular_expression_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_interpolated_regular_expression_node_t>
The marker to indicate the lifetime of the pointer.
InterpolatedStringNode
The InterpolatedStringNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_interpolated_string_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_interpolated_string_node_t>
The marker to indicate the lifetime of the pointer.
InterpolatedSymbolNode
The InterpolatedSymbolNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_interpolated_symbol_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_interpolated_symbol_node_t>
The marker to indicate the lifetime of the pointer.
InterpolatedXStringNode
The InterpolatedXStringNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_interpolated_x_string_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_interpolated_x_string_node_t>
The marker to indicate the lifetime of the pointer.
ItLocalVariableReadNode
The ItLocalVariableReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_it_local_variable_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_it_local_variable_read_node_t>
The marker to indicate the lifetime of the pointer.
ItParametersNode
The ItParametersNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_it_parameters_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_it_parameters_node_t>
The marker to indicate the lifetime of the pointer.
KeywordHashNode
The KeywordHashNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_keyword_hash_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_keyword_hash_node_t>
The marker to indicate the lifetime of the pointer.
KeywordRestParameterNode
The KeywordRestParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_keyword_rest_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_keyword_rest_parameter_node_t>
The marker to indicate the lifetime of the pointer.
LambdaNode
The LambdaNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_lambda_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_lambda_node_t>
The marker to indicate the lifetime of the pointer.
LocalVariableAndWriteNode
The LocalVariableAndWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_local_variable_and_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_local_variable_and_write_node_t>
The marker to indicate the lifetime of the pointer.
LocalVariableOperatorWriteNode
The LocalVariableOperatorWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_local_variable_operator_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_local_variable_operator_write_node_t>
The marker to indicate the lifetime of the pointer.
LocalVariableOrWriteNode
The LocalVariableOrWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_local_variable_or_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_local_variable_or_write_node_t>
The marker to indicate the lifetime of the pointer.
LocalVariableReadNode
The LocalVariableReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_local_variable_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_local_variable_read_node_t>
The marker to indicate the lifetime of the pointer.
LocalVariableTargetNode
The LocalVariableTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_local_variable_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_local_variable_target_node_t>
The marker to indicate the lifetime of the pointer.
LocalVariableWriteNode
The LocalVariableWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_local_variable_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_local_variable_write_node_t>
The marker to indicate the lifetime of the pointer.
MatchLastLineNode
The MatchLastLineNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_match_last_line_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_match_last_line_node_t>
The marker to indicate the lifetime of the pointer.
MatchPredicateNode
The MatchPredicateNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_match_predicate_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_match_predicate_node_t>
The marker to indicate the lifetime of the pointer.
MatchRequiredNode
The MatchRequiredNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_match_required_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_match_required_node_t>
The marker to indicate the lifetime of the pointer.
MatchWriteNode
The MatchWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_match_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_match_write_node_t>
The marker to indicate the lifetime of the pointer.
MissingNode
The MissingNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_missing_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_missing_node_t>
The marker to indicate the lifetime of the pointer.
ModuleNode
The ModuleNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_module_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_module_node_t>
The marker to indicate the lifetime of the pointer.
MultiTargetNode
The MultiTargetNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_multi_target_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_multi_target_node_t>
The marker to indicate the lifetime of the pointer.
MultiWriteNode
The MultiWriteNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_multi_write_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_multi_write_node_t>
The marker to indicate the lifetime of the pointer.
NextNode
The NextNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_next_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_next_node_t>
The marker to indicate the lifetime of the pointer.
NilNode
The NilNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_nil_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_nil_node_t>
The marker to indicate the lifetime of the pointer.
NoKeywordsParameterNode
The NoKeywordsParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_no_keywords_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_no_keywords_parameter_node_t>
The marker to indicate the lifetime of the pointer.
NumberedParametersNode
The NumberedParametersNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_numbered_parameters_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_numbered_parameters_node_t>
The marker to indicate the lifetime of the pointer.
NumberedReferenceReadNode
The NumberedReferenceReadNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_numbered_reference_read_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_numbered_reference_read_node_t>
The marker to indicate the lifetime of the pointer.
OptionalKeywordParameterNode
The OptionalKeywordParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_optional_keyword_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_optional_keyword_parameter_node_t>
The marker to indicate the lifetime of the pointer.
OptionalParameterNode
The OptionalParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_optional_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_optional_parameter_node_t>
The marker to indicate the lifetime of the pointer.
OrNode
The OrNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_or_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_or_node_t>
The marker to indicate the lifetime of the pointer.
ParametersNode
The ParametersNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_parameters_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_parameters_node_t>
The marker to indicate the lifetime of the pointer.
ParenthesesNode
The ParenthesesNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_parentheses_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_parentheses_node_t>
The marker to indicate the lifetime of the pointer.
PinnedExpressionNode
The PinnedExpressionNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_pinned_expression_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_pinned_expression_node_t>
The marker to indicate the lifetime of the pointer.
PinnedVariableNode
The PinnedVariableNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_pinned_variable_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_pinned_variable_node_t>
The marker to indicate the lifetime of the pointer.
PostExecutionNode
The PostExecutionNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_post_execution_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_post_execution_node_t>
The marker to indicate the lifetime of the pointer.
PreExecutionNode
The PreExecutionNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_pre_execution_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_pre_execution_node_t>
The marker to indicate the lifetime of the pointer.
ProgramNode
The ProgramNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_program_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_program_node_t>
The marker to indicate the lifetime of the pointer.
RangeNode
The RangeNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_range_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_range_node_t>
The marker to indicate the lifetime of the pointer.
RationalNode
The RationalNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_rational_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_rational_node_t>
The marker to indicate the lifetime of the pointer.
RedoNode
The RedoNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_redo_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_redo_node_t>
The marker to indicate the lifetime of the pointer.
RegularExpressionNode
The RegularExpressionNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_regular_expression_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_regular_expression_node_t>
The marker to indicate the lifetime of the pointer.
RequiredKeywordParameterNode
The RequiredKeywordParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_required_keyword_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_required_keyword_parameter_node_t>
The marker to indicate the lifetime of the pointer.
RequiredParameterNode
The RequiredParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_required_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_required_parameter_node_t>
The marker to indicate the lifetime of the pointer.
RescueModifierNode
The RescueModifierNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_rescue_modifier_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_rescue_modifier_node_t>
The marker to indicate the lifetime of the pointer.
RescueNode
The RescueNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_rescue_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_rescue_node_t>
The marker to indicate the lifetime of the pointer.
RestParameterNode
The RestParameterNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_rest_parameter_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_rest_parameter_node_t>
The marker to indicate the lifetime of the pointer.
RetryNode
The RetryNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_retry_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_retry_node_t>
The marker to indicate the lifetime of the pointer.
ReturnNode
The ReturnNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_return_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_return_node_t>
The marker to indicate the lifetime of the pointer.
SelfNode
The SelfNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_self_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_self_node_t>
The marker to indicate the lifetime of the pointer.
The ShareableConstantNode node
SingletonClassNode
The SingletonClassNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_singleton_class_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_singleton_class_node_t>
The marker to indicate the lifetime of the pointer.
SourceEncodingNode
The SourceEncodingNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_source_encoding_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_source_encoding_node_t>
The marker to indicate the lifetime of the pointer.
SourceFileNode
The SourceFileNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_source_file_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_source_file_node_t>
The marker to indicate the lifetime of the pointer.
SourceLineNode
The SourceLineNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_source_line_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_source_line_node_t>
The marker to indicate the lifetime of the pointer.
SplatNode
The SplatNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_splat_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_splat_node_t>
The marker to indicate the lifetime of the pointer.
StatementsNode
The StatementsNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_statements_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_statements_node_t>
The marker to indicate the lifetime of the pointer.
StringNode
The StringNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_string_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_string_node_t>
The marker to indicate the lifetime of the pointer.
SuperNode
The SuperNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_super_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_super_node_t>
The marker to indicate the lifetime of the pointer.
SymbolNode
The SymbolNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_symbol_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_symbol_node_t>
The marker to indicate the lifetime of the pointer.
TrueNode
The TrueNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_true_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_true_node_t>
The marker to indicate the lifetime of the pointer.
UndefNode
The UndefNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_undef_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_undef_node_t>
The marker to indicate the lifetime of the pointer.
UnlessNode
The UnlessNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_unless_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_unless_node_t>
The marker to indicate the lifetime of the pointer.
UntilNode
The UntilNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_until_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_until_node_t>
The marker to indicate the lifetime of the pointer.
WhenNode
The WhenNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_when_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_when_node_t>
The marker to indicate the lifetime of the pointer.
WhileNode
The WhileNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_while_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_while_node_t>
The marker to indicate the lifetime of the pointer.
XStringNode
The XStringNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_x_string_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_x_string_node_t>
The marker to indicate the lifetime of the pointer.
YieldNode
The YieldNode node
Fields
parser: NonNull<pm_parser_t>
The pointer to the associated parser this node came from.
pointer: *mut pm_yield_node_t
The raw pointer to the node allocated by prism.
marker: PhantomData<&'pr mut pm_yield_node_t>
The marker to indicate the lifetime of the pointer.
Implementations§
Source§impl<'pr> Node<'pr>
impl<'pr> Node<'pr>
Sourcepub fn as_alias_global_variable_node(
&self,
) -> Option<AliasGlobalVariableNode<'pr>>
pub fn as_alias_global_variable_node( &self, ) -> Option<AliasGlobalVariableNode<'pr>>
Returns the node as a AliasGlobalVariableNode
.
Sourcepub fn as_alias_method_node(&self) -> Option<AliasMethodNode<'pr>>
pub fn as_alias_method_node(&self) -> Option<AliasMethodNode<'pr>>
Returns the node as a AliasMethodNode
.
Sourcepub fn as_alternation_pattern_node(&self) -> Option<AlternationPatternNode<'pr>>
pub fn as_alternation_pattern_node(&self) -> Option<AlternationPatternNode<'pr>>
Returns the node as a AlternationPatternNode
.
Sourcepub fn as_and_node(&self) -> Option<AndNode<'pr>>
pub fn as_and_node(&self) -> Option<AndNode<'pr>>
Returns the node as a AndNode
.
Sourcepub fn as_arguments_node(&self) -> Option<ArgumentsNode<'pr>>
pub fn as_arguments_node(&self) -> Option<ArgumentsNode<'pr>>
Returns the node as a ArgumentsNode
.
Sourcepub fn as_array_node(&self) -> Option<ArrayNode<'pr>>
pub fn as_array_node(&self) -> Option<ArrayNode<'pr>>
Returns the node as a ArrayNode
.
Sourcepub fn as_array_pattern_node(&self) -> Option<ArrayPatternNode<'pr>>
pub fn as_array_pattern_node(&self) -> Option<ArrayPatternNode<'pr>>
Returns the node as a ArrayPatternNode
.
Sourcepub fn as_assoc_node(&self) -> Option<AssocNode<'pr>>
pub fn as_assoc_node(&self) -> Option<AssocNode<'pr>>
Returns the node as a AssocNode
.
Sourcepub fn as_assoc_splat_node(&self) -> Option<AssocSplatNode<'pr>>
pub fn as_assoc_splat_node(&self) -> Option<AssocSplatNode<'pr>>
Returns the node as a AssocSplatNode
.
Sourcepub fn as_back_reference_read_node(&self) -> Option<BackReferenceReadNode<'pr>>
pub fn as_back_reference_read_node(&self) -> Option<BackReferenceReadNode<'pr>>
Returns the node as a BackReferenceReadNode
.
Sourcepub fn as_begin_node(&self) -> Option<BeginNode<'pr>>
pub fn as_begin_node(&self) -> Option<BeginNode<'pr>>
Returns the node as a BeginNode
.
Sourcepub fn as_block_argument_node(&self) -> Option<BlockArgumentNode<'pr>>
pub fn as_block_argument_node(&self) -> Option<BlockArgumentNode<'pr>>
Returns the node as a BlockArgumentNode
.
Sourcepub fn as_block_local_variable_node(
&self,
) -> Option<BlockLocalVariableNode<'pr>>
pub fn as_block_local_variable_node( &self, ) -> Option<BlockLocalVariableNode<'pr>>
Returns the node as a BlockLocalVariableNode
.
Sourcepub fn as_block_node(&self) -> Option<BlockNode<'pr>>
pub fn as_block_node(&self) -> Option<BlockNode<'pr>>
Returns the node as a BlockNode
.
Sourcepub fn as_block_parameter_node(&self) -> Option<BlockParameterNode<'pr>>
pub fn as_block_parameter_node(&self) -> Option<BlockParameterNode<'pr>>
Returns the node as a BlockParameterNode
.
Sourcepub fn as_block_parameters_node(&self) -> Option<BlockParametersNode<'pr>>
pub fn as_block_parameters_node(&self) -> Option<BlockParametersNode<'pr>>
Returns the node as a BlockParametersNode
.
Sourcepub fn as_break_node(&self) -> Option<BreakNode<'pr>>
pub fn as_break_node(&self) -> Option<BreakNode<'pr>>
Returns the node as a BreakNode
.
Sourcepub fn as_call_and_write_node(&self) -> Option<CallAndWriteNode<'pr>>
pub fn as_call_and_write_node(&self) -> Option<CallAndWriteNode<'pr>>
Returns the node as a CallAndWriteNode
.
Sourcepub fn as_call_node(&self) -> Option<CallNode<'pr>>
pub fn as_call_node(&self) -> Option<CallNode<'pr>>
Returns the node as a CallNode
.
Sourcepub fn as_call_operator_write_node(&self) -> Option<CallOperatorWriteNode<'pr>>
pub fn as_call_operator_write_node(&self) -> Option<CallOperatorWriteNode<'pr>>
Returns the node as a CallOperatorWriteNode
.
Sourcepub fn as_call_or_write_node(&self) -> Option<CallOrWriteNode<'pr>>
pub fn as_call_or_write_node(&self) -> Option<CallOrWriteNode<'pr>>
Returns the node as a CallOrWriteNode
.
Sourcepub fn as_call_target_node(&self) -> Option<CallTargetNode<'pr>>
pub fn as_call_target_node(&self) -> Option<CallTargetNode<'pr>>
Returns the node as a CallTargetNode
.
Sourcepub fn as_capture_pattern_node(&self) -> Option<CapturePatternNode<'pr>>
pub fn as_capture_pattern_node(&self) -> Option<CapturePatternNode<'pr>>
Returns the node as a CapturePatternNode
.
Sourcepub fn as_case_match_node(&self) -> Option<CaseMatchNode<'pr>>
pub fn as_case_match_node(&self) -> Option<CaseMatchNode<'pr>>
Returns the node as a CaseMatchNode
.
Sourcepub fn as_case_node(&self) -> Option<CaseNode<'pr>>
pub fn as_case_node(&self) -> Option<CaseNode<'pr>>
Returns the node as a CaseNode
.
Sourcepub fn as_class_node(&self) -> Option<ClassNode<'pr>>
pub fn as_class_node(&self) -> Option<ClassNode<'pr>>
Returns the node as a ClassNode
.
Sourcepub fn as_class_variable_and_write_node(
&self,
) -> Option<ClassVariableAndWriteNode<'pr>>
pub fn as_class_variable_and_write_node( &self, ) -> Option<ClassVariableAndWriteNode<'pr>>
Returns the node as a ClassVariableAndWriteNode
.
Sourcepub fn as_class_variable_operator_write_node(
&self,
) -> Option<ClassVariableOperatorWriteNode<'pr>>
pub fn as_class_variable_operator_write_node( &self, ) -> Option<ClassVariableOperatorWriteNode<'pr>>
Returns the node as a ClassVariableOperatorWriteNode
.
Sourcepub fn as_class_variable_or_write_node(
&self,
) -> Option<ClassVariableOrWriteNode<'pr>>
pub fn as_class_variable_or_write_node( &self, ) -> Option<ClassVariableOrWriteNode<'pr>>
Returns the node as a ClassVariableOrWriteNode
.
Sourcepub fn as_class_variable_read_node(&self) -> Option<ClassVariableReadNode<'pr>>
pub fn as_class_variable_read_node(&self) -> Option<ClassVariableReadNode<'pr>>
Returns the node as a ClassVariableReadNode
.
Sourcepub fn as_class_variable_target_node(
&self,
) -> Option<ClassVariableTargetNode<'pr>>
pub fn as_class_variable_target_node( &self, ) -> Option<ClassVariableTargetNode<'pr>>
Returns the node as a ClassVariableTargetNode
.
Sourcepub fn as_class_variable_write_node(
&self,
) -> Option<ClassVariableWriteNode<'pr>>
pub fn as_class_variable_write_node( &self, ) -> Option<ClassVariableWriteNode<'pr>>
Returns the node as a ClassVariableWriteNode
.
Sourcepub fn as_constant_and_write_node(&self) -> Option<ConstantAndWriteNode<'pr>>
pub fn as_constant_and_write_node(&self) -> Option<ConstantAndWriteNode<'pr>>
Returns the node as a ConstantAndWriteNode
.
Sourcepub fn as_constant_operator_write_node(
&self,
) -> Option<ConstantOperatorWriteNode<'pr>>
pub fn as_constant_operator_write_node( &self, ) -> Option<ConstantOperatorWriteNode<'pr>>
Returns the node as a ConstantOperatorWriteNode
.
Sourcepub fn as_constant_or_write_node(&self) -> Option<ConstantOrWriteNode<'pr>>
pub fn as_constant_or_write_node(&self) -> Option<ConstantOrWriteNode<'pr>>
Returns the node as a ConstantOrWriteNode
.
Sourcepub fn as_constant_path_and_write_node(
&self,
) -> Option<ConstantPathAndWriteNode<'pr>>
pub fn as_constant_path_and_write_node( &self, ) -> Option<ConstantPathAndWriteNode<'pr>>
Returns the node as a ConstantPathAndWriteNode
.
Sourcepub fn as_constant_path_node(&self) -> Option<ConstantPathNode<'pr>>
pub fn as_constant_path_node(&self) -> Option<ConstantPathNode<'pr>>
Returns the node as a ConstantPathNode
.
Sourcepub fn as_constant_path_operator_write_node(
&self,
) -> Option<ConstantPathOperatorWriteNode<'pr>>
pub fn as_constant_path_operator_write_node( &self, ) -> Option<ConstantPathOperatorWriteNode<'pr>>
Returns the node as a ConstantPathOperatorWriteNode
.
Sourcepub fn as_constant_path_or_write_node(
&self,
) -> Option<ConstantPathOrWriteNode<'pr>>
pub fn as_constant_path_or_write_node( &self, ) -> Option<ConstantPathOrWriteNode<'pr>>
Returns the node as a ConstantPathOrWriteNode
.
Sourcepub fn as_constant_path_target_node(
&self,
) -> Option<ConstantPathTargetNode<'pr>>
pub fn as_constant_path_target_node( &self, ) -> Option<ConstantPathTargetNode<'pr>>
Returns the node as a ConstantPathTargetNode
.
Sourcepub fn as_constant_path_write_node(&self) -> Option<ConstantPathWriteNode<'pr>>
pub fn as_constant_path_write_node(&self) -> Option<ConstantPathWriteNode<'pr>>
Returns the node as a ConstantPathWriteNode
.
Sourcepub fn as_constant_read_node(&self) -> Option<ConstantReadNode<'pr>>
pub fn as_constant_read_node(&self) -> Option<ConstantReadNode<'pr>>
Returns the node as a ConstantReadNode
.
Sourcepub fn as_constant_target_node(&self) -> Option<ConstantTargetNode<'pr>>
pub fn as_constant_target_node(&self) -> Option<ConstantTargetNode<'pr>>
Returns the node as a ConstantTargetNode
.
Sourcepub fn as_constant_write_node(&self) -> Option<ConstantWriteNode<'pr>>
pub fn as_constant_write_node(&self) -> Option<ConstantWriteNode<'pr>>
Returns the node as a ConstantWriteNode
.
Sourcepub fn as_def_node(&self) -> Option<DefNode<'pr>>
pub fn as_def_node(&self) -> Option<DefNode<'pr>>
Returns the node as a DefNode
.
Sourcepub fn as_defined_node(&self) -> Option<DefinedNode<'pr>>
pub fn as_defined_node(&self) -> Option<DefinedNode<'pr>>
Returns the node as a DefinedNode
.
Sourcepub fn as_else_node(&self) -> Option<ElseNode<'pr>>
pub fn as_else_node(&self) -> Option<ElseNode<'pr>>
Returns the node as a ElseNode
.
Sourcepub fn as_embedded_statements_node(&self) -> Option<EmbeddedStatementsNode<'pr>>
pub fn as_embedded_statements_node(&self) -> Option<EmbeddedStatementsNode<'pr>>
Returns the node as a EmbeddedStatementsNode
.
Sourcepub fn as_embedded_variable_node(&self) -> Option<EmbeddedVariableNode<'pr>>
pub fn as_embedded_variable_node(&self) -> Option<EmbeddedVariableNode<'pr>>
Returns the node as a EmbeddedVariableNode
.
Sourcepub fn as_ensure_node(&self) -> Option<EnsureNode<'pr>>
pub fn as_ensure_node(&self) -> Option<EnsureNode<'pr>>
Returns the node as a EnsureNode
.
Sourcepub fn as_false_node(&self) -> Option<FalseNode<'pr>>
pub fn as_false_node(&self) -> Option<FalseNode<'pr>>
Returns the node as a FalseNode
.
Sourcepub fn as_find_pattern_node(&self) -> Option<FindPatternNode<'pr>>
pub fn as_find_pattern_node(&self) -> Option<FindPatternNode<'pr>>
Returns the node as a FindPatternNode
.
Sourcepub fn as_flip_flop_node(&self) -> Option<FlipFlopNode<'pr>>
pub fn as_flip_flop_node(&self) -> Option<FlipFlopNode<'pr>>
Returns the node as a FlipFlopNode
.
Sourcepub fn as_float_node(&self) -> Option<FloatNode<'pr>>
pub fn as_float_node(&self) -> Option<FloatNode<'pr>>
Returns the node as a FloatNode
.
Sourcepub fn as_for_node(&self) -> Option<ForNode<'pr>>
pub fn as_for_node(&self) -> Option<ForNode<'pr>>
Returns the node as a ForNode
.
Sourcepub fn as_forwarding_arguments_node(
&self,
) -> Option<ForwardingArgumentsNode<'pr>>
pub fn as_forwarding_arguments_node( &self, ) -> Option<ForwardingArgumentsNode<'pr>>
Returns the node as a ForwardingArgumentsNode
.
Sourcepub fn as_forwarding_parameter_node(
&self,
) -> Option<ForwardingParameterNode<'pr>>
pub fn as_forwarding_parameter_node( &self, ) -> Option<ForwardingParameterNode<'pr>>
Returns the node as a ForwardingParameterNode
.
Sourcepub fn as_forwarding_super_node(&self) -> Option<ForwardingSuperNode<'pr>>
pub fn as_forwarding_super_node(&self) -> Option<ForwardingSuperNode<'pr>>
Returns the node as a ForwardingSuperNode
.
Sourcepub fn as_global_variable_and_write_node(
&self,
) -> Option<GlobalVariableAndWriteNode<'pr>>
pub fn as_global_variable_and_write_node( &self, ) -> Option<GlobalVariableAndWriteNode<'pr>>
Returns the node as a GlobalVariableAndWriteNode
.
Sourcepub fn as_global_variable_operator_write_node(
&self,
) -> Option<GlobalVariableOperatorWriteNode<'pr>>
pub fn as_global_variable_operator_write_node( &self, ) -> Option<GlobalVariableOperatorWriteNode<'pr>>
Returns the node as a GlobalVariableOperatorWriteNode
.
Sourcepub fn as_global_variable_or_write_node(
&self,
) -> Option<GlobalVariableOrWriteNode<'pr>>
pub fn as_global_variable_or_write_node( &self, ) -> Option<GlobalVariableOrWriteNode<'pr>>
Returns the node as a GlobalVariableOrWriteNode
.
Sourcepub fn as_global_variable_read_node(
&self,
) -> Option<GlobalVariableReadNode<'pr>>
pub fn as_global_variable_read_node( &self, ) -> Option<GlobalVariableReadNode<'pr>>
Returns the node as a GlobalVariableReadNode
.
Sourcepub fn as_global_variable_target_node(
&self,
) -> Option<GlobalVariableTargetNode<'pr>>
pub fn as_global_variable_target_node( &self, ) -> Option<GlobalVariableTargetNode<'pr>>
Returns the node as a GlobalVariableTargetNode
.
Sourcepub fn as_global_variable_write_node(
&self,
) -> Option<GlobalVariableWriteNode<'pr>>
pub fn as_global_variable_write_node( &self, ) -> Option<GlobalVariableWriteNode<'pr>>
Returns the node as a GlobalVariableWriteNode
.
Sourcepub fn as_hash_node(&self) -> Option<HashNode<'pr>>
pub fn as_hash_node(&self) -> Option<HashNode<'pr>>
Returns the node as a HashNode
.
Sourcepub fn as_hash_pattern_node(&self) -> Option<HashPatternNode<'pr>>
pub fn as_hash_pattern_node(&self) -> Option<HashPatternNode<'pr>>
Returns the node as a HashPatternNode
.
Sourcepub fn as_if_node(&self) -> Option<IfNode<'pr>>
pub fn as_if_node(&self) -> Option<IfNode<'pr>>
Returns the node as a IfNode
.
Sourcepub fn as_imaginary_node(&self) -> Option<ImaginaryNode<'pr>>
pub fn as_imaginary_node(&self) -> Option<ImaginaryNode<'pr>>
Returns the node as a ImaginaryNode
.
Sourcepub fn as_implicit_node(&self) -> Option<ImplicitNode<'pr>>
pub fn as_implicit_node(&self) -> Option<ImplicitNode<'pr>>
Returns the node as a ImplicitNode
.
Sourcepub fn as_implicit_rest_node(&self) -> Option<ImplicitRestNode<'pr>>
pub fn as_implicit_rest_node(&self) -> Option<ImplicitRestNode<'pr>>
Returns the node as a ImplicitRestNode
.
Sourcepub fn as_in_node(&self) -> Option<InNode<'pr>>
pub fn as_in_node(&self) -> Option<InNode<'pr>>
Returns the node as a InNode
.
Sourcepub fn as_index_and_write_node(&self) -> Option<IndexAndWriteNode<'pr>>
pub fn as_index_and_write_node(&self) -> Option<IndexAndWriteNode<'pr>>
Returns the node as a IndexAndWriteNode
.
Sourcepub fn as_index_operator_write_node(
&self,
) -> Option<IndexOperatorWriteNode<'pr>>
pub fn as_index_operator_write_node( &self, ) -> Option<IndexOperatorWriteNode<'pr>>
Returns the node as a IndexOperatorWriteNode
.
Sourcepub fn as_index_or_write_node(&self) -> Option<IndexOrWriteNode<'pr>>
pub fn as_index_or_write_node(&self) -> Option<IndexOrWriteNode<'pr>>
Returns the node as a IndexOrWriteNode
.
Sourcepub fn as_index_target_node(&self) -> Option<IndexTargetNode<'pr>>
pub fn as_index_target_node(&self) -> Option<IndexTargetNode<'pr>>
Returns the node as a IndexTargetNode
.
Sourcepub fn as_instance_variable_and_write_node(
&self,
) -> Option<InstanceVariableAndWriteNode<'pr>>
pub fn as_instance_variable_and_write_node( &self, ) -> Option<InstanceVariableAndWriteNode<'pr>>
Returns the node as a InstanceVariableAndWriteNode
.
Sourcepub fn as_instance_variable_operator_write_node(
&self,
) -> Option<InstanceVariableOperatorWriteNode<'pr>>
pub fn as_instance_variable_operator_write_node( &self, ) -> Option<InstanceVariableOperatorWriteNode<'pr>>
Returns the node as a InstanceVariableOperatorWriteNode
.
Sourcepub fn as_instance_variable_or_write_node(
&self,
) -> Option<InstanceVariableOrWriteNode<'pr>>
pub fn as_instance_variable_or_write_node( &self, ) -> Option<InstanceVariableOrWriteNode<'pr>>
Returns the node as a InstanceVariableOrWriteNode
.
Sourcepub fn as_instance_variable_read_node(
&self,
) -> Option<InstanceVariableReadNode<'pr>>
pub fn as_instance_variable_read_node( &self, ) -> Option<InstanceVariableReadNode<'pr>>
Returns the node as a InstanceVariableReadNode
.
Sourcepub fn as_instance_variable_target_node(
&self,
) -> Option<InstanceVariableTargetNode<'pr>>
pub fn as_instance_variable_target_node( &self, ) -> Option<InstanceVariableTargetNode<'pr>>
Returns the node as a InstanceVariableTargetNode
.
Sourcepub fn as_instance_variable_write_node(
&self,
) -> Option<InstanceVariableWriteNode<'pr>>
pub fn as_instance_variable_write_node( &self, ) -> Option<InstanceVariableWriteNode<'pr>>
Returns the node as a InstanceVariableWriteNode
.
Sourcepub fn as_integer_node(&self) -> Option<IntegerNode<'pr>>
pub fn as_integer_node(&self) -> Option<IntegerNode<'pr>>
Returns the node as a IntegerNode
.
Sourcepub fn as_interpolated_match_last_line_node(
&self,
) -> Option<InterpolatedMatchLastLineNode<'pr>>
pub fn as_interpolated_match_last_line_node( &self, ) -> Option<InterpolatedMatchLastLineNode<'pr>>
Returns the node as a InterpolatedMatchLastLineNode
.
Sourcepub fn as_interpolated_regular_expression_node(
&self,
) -> Option<InterpolatedRegularExpressionNode<'pr>>
pub fn as_interpolated_regular_expression_node( &self, ) -> Option<InterpolatedRegularExpressionNode<'pr>>
Returns the node as a InterpolatedRegularExpressionNode
.
Sourcepub fn as_interpolated_string_node(&self) -> Option<InterpolatedStringNode<'pr>>
pub fn as_interpolated_string_node(&self) -> Option<InterpolatedStringNode<'pr>>
Returns the node as a InterpolatedStringNode
.
Sourcepub fn as_interpolated_symbol_node(&self) -> Option<InterpolatedSymbolNode<'pr>>
pub fn as_interpolated_symbol_node(&self) -> Option<InterpolatedSymbolNode<'pr>>
Returns the node as a InterpolatedSymbolNode
.
Sourcepub fn as_interpolated_x_string_node(
&self,
) -> Option<InterpolatedXStringNode<'pr>>
pub fn as_interpolated_x_string_node( &self, ) -> Option<InterpolatedXStringNode<'pr>>
Returns the node as a InterpolatedXStringNode
.
Sourcepub fn as_it_local_variable_read_node(
&self,
) -> Option<ItLocalVariableReadNode<'pr>>
pub fn as_it_local_variable_read_node( &self, ) -> Option<ItLocalVariableReadNode<'pr>>
Returns the node as a ItLocalVariableReadNode
.
Sourcepub fn as_it_parameters_node(&self) -> Option<ItParametersNode<'pr>>
pub fn as_it_parameters_node(&self) -> Option<ItParametersNode<'pr>>
Returns the node as a ItParametersNode
.
Sourcepub fn as_keyword_hash_node(&self) -> Option<KeywordHashNode<'pr>>
pub fn as_keyword_hash_node(&self) -> Option<KeywordHashNode<'pr>>
Returns the node as a KeywordHashNode
.
Sourcepub fn as_keyword_rest_parameter_node(
&self,
) -> Option<KeywordRestParameterNode<'pr>>
pub fn as_keyword_rest_parameter_node( &self, ) -> Option<KeywordRestParameterNode<'pr>>
Returns the node as a KeywordRestParameterNode
.
Sourcepub fn as_lambda_node(&self) -> Option<LambdaNode<'pr>>
pub fn as_lambda_node(&self) -> Option<LambdaNode<'pr>>
Returns the node as a LambdaNode
.
Sourcepub fn as_local_variable_and_write_node(
&self,
) -> Option<LocalVariableAndWriteNode<'pr>>
pub fn as_local_variable_and_write_node( &self, ) -> Option<LocalVariableAndWriteNode<'pr>>
Returns the node as a LocalVariableAndWriteNode
.
Sourcepub fn as_local_variable_operator_write_node(
&self,
) -> Option<LocalVariableOperatorWriteNode<'pr>>
pub fn as_local_variable_operator_write_node( &self, ) -> Option<LocalVariableOperatorWriteNode<'pr>>
Returns the node as a LocalVariableOperatorWriteNode
.
Sourcepub fn as_local_variable_or_write_node(
&self,
) -> Option<LocalVariableOrWriteNode<'pr>>
pub fn as_local_variable_or_write_node( &self, ) -> Option<LocalVariableOrWriteNode<'pr>>
Returns the node as a LocalVariableOrWriteNode
.
Sourcepub fn as_local_variable_read_node(&self) -> Option<LocalVariableReadNode<'pr>>
pub fn as_local_variable_read_node(&self) -> Option<LocalVariableReadNode<'pr>>
Returns the node as a LocalVariableReadNode
.
Sourcepub fn as_local_variable_target_node(
&self,
) -> Option<LocalVariableTargetNode<'pr>>
pub fn as_local_variable_target_node( &self, ) -> Option<LocalVariableTargetNode<'pr>>
Returns the node as a LocalVariableTargetNode
.
Sourcepub fn as_local_variable_write_node(
&self,
) -> Option<LocalVariableWriteNode<'pr>>
pub fn as_local_variable_write_node( &self, ) -> Option<LocalVariableWriteNode<'pr>>
Returns the node as a LocalVariableWriteNode
.
Sourcepub fn as_match_last_line_node(&self) -> Option<MatchLastLineNode<'pr>>
pub fn as_match_last_line_node(&self) -> Option<MatchLastLineNode<'pr>>
Returns the node as a MatchLastLineNode
.
Sourcepub fn as_match_predicate_node(&self) -> Option<MatchPredicateNode<'pr>>
pub fn as_match_predicate_node(&self) -> Option<MatchPredicateNode<'pr>>
Returns the node as a MatchPredicateNode
.
Sourcepub fn as_match_required_node(&self) -> Option<MatchRequiredNode<'pr>>
pub fn as_match_required_node(&self) -> Option<MatchRequiredNode<'pr>>
Returns the node as a MatchRequiredNode
.
Sourcepub fn as_match_write_node(&self) -> Option<MatchWriteNode<'pr>>
pub fn as_match_write_node(&self) -> Option<MatchWriteNode<'pr>>
Returns the node as a MatchWriteNode
.
Sourcepub fn as_missing_node(&self) -> Option<MissingNode<'pr>>
pub fn as_missing_node(&self) -> Option<MissingNode<'pr>>
Returns the node as a MissingNode
.
Sourcepub fn as_module_node(&self) -> Option<ModuleNode<'pr>>
pub fn as_module_node(&self) -> Option<ModuleNode<'pr>>
Returns the node as a ModuleNode
.
Sourcepub fn as_multi_target_node(&self) -> Option<MultiTargetNode<'pr>>
pub fn as_multi_target_node(&self) -> Option<MultiTargetNode<'pr>>
Returns the node as a MultiTargetNode
.
Sourcepub fn as_multi_write_node(&self) -> Option<MultiWriteNode<'pr>>
pub fn as_multi_write_node(&self) -> Option<MultiWriteNode<'pr>>
Returns the node as a MultiWriteNode
.
Sourcepub fn as_next_node(&self) -> Option<NextNode<'pr>>
pub fn as_next_node(&self) -> Option<NextNode<'pr>>
Returns the node as a NextNode
.
Sourcepub fn as_nil_node(&self) -> Option<NilNode<'pr>>
pub fn as_nil_node(&self) -> Option<NilNode<'pr>>
Returns the node as a NilNode
.
Sourcepub fn as_no_keywords_parameter_node(
&self,
) -> Option<NoKeywordsParameterNode<'pr>>
pub fn as_no_keywords_parameter_node( &self, ) -> Option<NoKeywordsParameterNode<'pr>>
Returns the node as a NoKeywordsParameterNode
.
Sourcepub fn as_numbered_parameters_node(&self) -> Option<NumberedParametersNode<'pr>>
pub fn as_numbered_parameters_node(&self) -> Option<NumberedParametersNode<'pr>>
Returns the node as a NumberedParametersNode
.
Sourcepub fn as_numbered_reference_read_node(
&self,
) -> Option<NumberedReferenceReadNode<'pr>>
pub fn as_numbered_reference_read_node( &self, ) -> Option<NumberedReferenceReadNode<'pr>>
Returns the node as a NumberedReferenceReadNode
.
Sourcepub fn as_optional_keyword_parameter_node(
&self,
) -> Option<OptionalKeywordParameterNode<'pr>>
pub fn as_optional_keyword_parameter_node( &self, ) -> Option<OptionalKeywordParameterNode<'pr>>
Returns the node as a OptionalKeywordParameterNode
.
Sourcepub fn as_optional_parameter_node(&self) -> Option<OptionalParameterNode<'pr>>
pub fn as_optional_parameter_node(&self) -> Option<OptionalParameterNode<'pr>>
Returns the node as a OptionalParameterNode
.
Sourcepub fn as_or_node(&self) -> Option<OrNode<'pr>>
pub fn as_or_node(&self) -> Option<OrNode<'pr>>
Returns the node as a OrNode
.
Sourcepub fn as_parameters_node(&self) -> Option<ParametersNode<'pr>>
pub fn as_parameters_node(&self) -> Option<ParametersNode<'pr>>
Returns the node as a ParametersNode
.
Sourcepub fn as_parentheses_node(&self) -> Option<ParenthesesNode<'pr>>
pub fn as_parentheses_node(&self) -> Option<ParenthesesNode<'pr>>
Returns the node as a ParenthesesNode
.
Sourcepub fn as_pinned_expression_node(&self) -> Option<PinnedExpressionNode<'pr>>
pub fn as_pinned_expression_node(&self) -> Option<PinnedExpressionNode<'pr>>
Returns the node as a PinnedExpressionNode
.
Sourcepub fn as_pinned_variable_node(&self) -> Option<PinnedVariableNode<'pr>>
pub fn as_pinned_variable_node(&self) -> Option<PinnedVariableNode<'pr>>
Returns the node as a PinnedVariableNode
.
Sourcepub fn as_post_execution_node(&self) -> Option<PostExecutionNode<'pr>>
pub fn as_post_execution_node(&self) -> Option<PostExecutionNode<'pr>>
Returns the node as a PostExecutionNode
.
Sourcepub fn as_pre_execution_node(&self) -> Option<PreExecutionNode<'pr>>
pub fn as_pre_execution_node(&self) -> Option<PreExecutionNode<'pr>>
Returns the node as a PreExecutionNode
.
Sourcepub fn as_program_node(&self) -> Option<ProgramNode<'pr>>
pub fn as_program_node(&self) -> Option<ProgramNode<'pr>>
Returns the node as a ProgramNode
.
Sourcepub fn as_range_node(&self) -> Option<RangeNode<'pr>>
pub fn as_range_node(&self) -> Option<RangeNode<'pr>>
Returns the node as a RangeNode
.
Sourcepub fn as_rational_node(&self) -> Option<RationalNode<'pr>>
pub fn as_rational_node(&self) -> Option<RationalNode<'pr>>
Returns the node as a RationalNode
.
Sourcepub fn as_redo_node(&self) -> Option<RedoNode<'pr>>
pub fn as_redo_node(&self) -> Option<RedoNode<'pr>>
Returns the node as a RedoNode
.
Sourcepub fn as_regular_expression_node(&self) -> Option<RegularExpressionNode<'pr>>
pub fn as_regular_expression_node(&self) -> Option<RegularExpressionNode<'pr>>
Returns the node as a RegularExpressionNode
.
Sourcepub fn as_required_keyword_parameter_node(
&self,
) -> Option<RequiredKeywordParameterNode<'pr>>
pub fn as_required_keyword_parameter_node( &self, ) -> Option<RequiredKeywordParameterNode<'pr>>
Returns the node as a RequiredKeywordParameterNode
.
Sourcepub fn as_required_parameter_node(&self) -> Option<RequiredParameterNode<'pr>>
pub fn as_required_parameter_node(&self) -> Option<RequiredParameterNode<'pr>>
Returns the node as a RequiredParameterNode
.
Sourcepub fn as_rescue_modifier_node(&self) -> Option<RescueModifierNode<'pr>>
pub fn as_rescue_modifier_node(&self) -> Option<RescueModifierNode<'pr>>
Returns the node as a RescueModifierNode
.
Sourcepub fn as_rescue_node(&self) -> Option<RescueNode<'pr>>
pub fn as_rescue_node(&self) -> Option<RescueNode<'pr>>
Returns the node as a RescueNode
.
Sourcepub fn as_rest_parameter_node(&self) -> Option<RestParameterNode<'pr>>
pub fn as_rest_parameter_node(&self) -> Option<RestParameterNode<'pr>>
Returns the node as a RestParameterNode
.
Sourcepub fn as_retry_node(&self) -> Option<RetryNode<'pr>>
pub fn as_retry_node(&self) -> Option<RetryNode<'pr>>
Returns the node as a RetryNode
.
Sourcepub fn as_return_node(&self) -> Option<ReturnNode<'pr>>
pub fn as_return_node(&self) -> Option<ReturnNode<'pr>>
Returns the node as a ReturnNode
.
Sourcepub fn as_self_node(&self) -> Option<SelfNode<'pr>>
pub fn as_self_node(&self) -> Option<SelfNode<'pr>>
Returns the node as a SelfNode
.
Returns the node as a ShareableConstantNode
.
Sourcepub fn as_singleton_class_node(&self) -> Option<SingletonClassNode<'pr>>
pub fn as_singleton_class_node(&self) -> Option<SingletonClassNode<'pr>>
Returns the node as a SingletonClassNode
.
Sourcepub fn as_source_encoding_node(&self) -> Option<SourceEncodingNode<'pr>>
pub fn as_source_encoding_node(&self) -> Option<SourceEncodingNode<'pr>>
Returns the node as a SourceEncodingNode
.
Sourcepub fn as_source_file_node(&self) -> Option<SourceFileNode<'pr>>
pub fn as_source_file_node(&self) -> Option<SourceFileNode<'pr>>
Returns the node as a SourceFileNode
.
Sourcepub fn as_source_line_node(&self) -> Option<SourceLineNode<'pr>>
pub fn as_source_line_node(&self) -> Option<SourceLineNode<'pr>>
Returns the node as a SourceLineNode
.
Sourcepub fn as_splat_node(&self) -> Option<SplatNode<'pr>>
pub fn as_splat_node(&self) -> Option<SplatNode<'pr>>
Returns the node as a SplatNode
.
Sourcepub fn as_statements_node(&self) -> Option<StatementsNode<'pr>>
pub fn as_statements_node(&self) -> Option<StatementsNode<'pr>>
Returns the node as a StatementsNode
.
Sourcepub fn as_string_node(&self) -> Option<StringNode<'pr>>
pub fn as_string_node(&self) -> Option<StringNode<'pr>>
Returns the node as a StringNode
.
Sourcepub fn as_super_node(&self) -> Option<SuperNode<'pr>>
pub fn as_super_node(&self) -> Option<SuperNode<'pr>>
Returns the node as a SuperNode
.
Sourcepub fn as_symbol_node(&self) -> Option<SymbolNode<'pr>>
pub fn as_symbol_node(&self) -> Option<SymbolNode<'pr>>
Returns the node as a SymbolNode
.
Sourcepub fn as_true_node(&self) -> Option<TrueNode<'pr>>
pub fn as_true_node(&self) -> Option<TrueNode<'pr>>
Returns the node as a TrueNode
.
Sourcepub fn as_undef_node(&self) -> Option<UndefNode<'pr>>
pub fn as_undef_node(&self) -> Option<UndefNode<'pr>>
Returns the node as a UndefNode
.
Sourcepub fn as_unless_node(&self) -> Option<UnlessNode<'pr>>
pub fn as_unless_node(&self) -> Option<UnlessNode<'pr>>
Returns the node as a UnlessNode
.
Sourcepub fn as_until_node(&self) -> Option<UntilNode<'pr>>
pub fn as_until_node(&self) -> Option<UntilNode<'pr>>
Returns the node as a UntilNode
.
Sourcepub fn as_when_node(&self) -> Option<WhenNode<'pr>>
pub fn as_when_node(&self) -> Option<WhenNode<'pr>>
Returns the node as a WhenNode
.
Sourcepub fn as_while_node(&self) -> Option<WhileNode<'pr>>
pub fn as_while_node(&self) -> Option<WhileNode<'pr>>
Returns the node as a WhileNode
.
Sourcepub fn as_x_string_node(&self) -> Option<XStringNode<'pr>>
pub fn as_x_string_node(&self) -> Option<XStringNode<'pr>>
Returns the node as a XStringNode
.
Sourcepub fn as_yield_node(&self) -> Option<YieldNode<'pr>>
pub fn as_yield_node(&self) -> Option<YieldNode<'pr>>
Returns the node as a YieldNode
.