Enum Node

Source
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.

§

ShareableConstantNode

The ShareableConstantNode node

Fields

§parser: NonNull<pm_parser_t>

The pointer to the associated parser this node came from.

§pointer: *mut pm_shareable_constant_node_t

The raw pointer to the node allocated by prism.

§marker: PhantomData<&'pr mut pm_shareable_constant_node_t>

The marker to indicate the lifetime of the pointer.

§

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>

Source

pub fn location(&self) -> Location<'pr>

Returns the location of this node.

Source

pub fn as_alias_global_variable_node( &self, ) -> Option<AliasGlobalVariableNode<'pr>>

Returns the node as a AliasGlobalVariableNode.

Source

pub fn as_alias_method_node(&self) -> Option<AliasMethodNode<'pr>>

Returns the node as a AliasMethodNode.

Source

pub fn as_alternation_pattern_node(&self) -> Option<AlternationPatternNode<'pr>>

Returns the node as a AlternationPatternNode.

Source

pub fn as_and_node(&self) -> Option<AndNode<'pr>>

Returns the node as a AndNode.

Source

pub fn as_arguments_node(&self) -> Option<ArgumentsNode<'pr>>

Returns the node as a ArgumentsNode.

Source

pub fn as_array_node(&self) -> Option<ArrayNode<'pr>>

Returns the node as a ArrayNode.

Source

pub fn as_array_pattern_node(&self) -> Option<ArrayPatternNode<'pr>>

Returns the node as a ArrayPatternNode.

Source

pub fn as_assoc_node(&self) -> Option<AssocNode<'pr>>

Returns the node as a AssocNode.

Source

pub fn as_assoc_splat_node(&self) -> Option<AssocSplatNode<'pr>>

Returns the node as a AssocSplatNode.

Source

pub fn as_back_reference_read_node(&self) -> Option<BackReferenceReadNode<'pr>>

Returns the node as a BackReferenceReadNode.

Source

pub fn as_begin_node(&self) -> Option<BeginNode<'pr>>

Returns the node as a BeginNode.

Source

pub fn as_block_argument_node(&self) -> Option<BlockArgumentNode<'pr>>

Returns the node as a BlockArgumentNode.

Source

pub fn as_block_local_variable_node( &self, ) -> Option<BlockLocalVariableNode<'pr>>

Returns the node as a BlockLocalVariableNode.

Source

pub fn as_block_node(&self) -> Option<BlockNode<'pr>>

Returns the node as a BlockNode.

Source

pub fn as_block_parameter_node(&self) -> Option<BlockParameterNode<'pr>>

Returns the node as a BlockParameterNode.

Source

pub fn as_block_parameters_node(&self) -> Option<BlockParametersNode<'pr>>

Returns the node as a BlockParametersNode.

Source

pub fn as_break_node(&self) -> Option<BreakNode<'pr>>

Returns the node as a BreakNode.

Source

pub fn as_call_and_write_node(&self) -> Option<CallAndWriteNode<'pr>>

Returns the node as a CallAndWriteNode.

Source

pub fn as_call_node(&self) -> Option<CallNode<'pr>>

Returns the node as a CallNode.

Source

pub fn as_call_operator_write_node(&self) -> Option<CallOperatorWriteNode<'pr>>

Returns the node as a CallOperatorWriteNode.

Source

pub fn as_call_or_write_node(&self) -> Option<CallOrWriteNode<'pr>>

Returns the node as a CallOrWriteNode.

Source

pub fn as_call_target_node(&self) -> Option<CallTargetNode<'pr>>

Returns the node as a CallTargetNode.

Source

pub fn as_capture_pattern_node(&self) -> Option<CapturePatternNode<'pr>>

Returns the node as a CapturePatternNode.

Source

pub fn as_case_match_node(&self) -> Option<CaseMatchNode<'pr>>

Returns the node as a CaseMatchNode.

Source

pub fn as_case_node(&self) -> Option<CaseNode<'pr>>

Returns the node as a CaseNode.

Source

pub fn as_class_node(&self) -> Option<ClassNode<'pr>>

Returns the node as a ClassNode.

Source

pub fn as_class_variable_and_write_node( &self, ) -> Option<ClassVariableAndWriteNode<'pr>>

Returns the node as a ClassVariableAndWriteNode.

Source

pub fn as_class_variable_operator_write_node( &self, ) -> Option<ClassVariableOperatorWriteNode<'pr>>

Returns the node as a ClassVariableOperatorWriteNode.

Source

pub fn as_class_variable_or_write_node( &self, ) -> Option<ClassVariableOrWriteNode<'pr>>

Returns the node as a ClassVariableOrWriteNode.

Source

pub fn as_class_variable_read_node(&self) -> Option<ClassVariableReadNode<'pr>>

Returns the node as a ClassVariableReadNode.

Source

pub fn as_class_variable_target_node( &self, ) -> Option<ClassVariableTargetNode<'pr>>

Returns the node as a ClassVariableTargetNode.

Source

pub fn as_class_variable_write_node( &self, ) -> Option<ClassVariableWriteNode<'pr>>

Returns the node as a ClassVariableWriteNode.

Source

pub fn as_constant_and_write_node(&self) -> Option<ConstantAndWriteNode<'pr>>

Returns the node as a ConstantAndWriteNode.

Source

pub fn as_constant_operator_write_node( &self, ) -> Option<ConstantOperatorWriteNode<'pr>>

Returns the node as a ConstantOperatorWriteNode.

Source

pub fn as_constant_or_write_node(&self) -> Option<ConstantOrWriteNode<'pr>>

Returns the node as a ConstantOrWriteNode.

Source

pub fn as_constant_path_and_write_node( &self, ) -> Option<ConstantPathAndWriteNode<'pr>>

Returns the node as a ConstantPathAndWriteNode.

Source

pub fn as_constant_path_node(&self) -> Option<ConstantPathNode<'pr>>

Returns the node as a ConstantPathNode.

Source

pub fn as_constant_path_operator_write_node( &self, ) -> Option<ConstantPathOperatorWriteNode<'pr>>

Returns the node as a ConstantPathOperatorWriteNode.

Source

pub fn as_constant_path_or_write_node( &self, ) -> Option<ConstantPathOrWriteNode<'pr>>

Returns the node as a ConstantPathOrWriteNode.

Source

pub fn as_constant_path_target_node( &self, ) -> Option<ConstantPathTargetNode<'pr>>

Returns the node as a ConstantPathTargetNode.

Source

pub fn as_constant_path_write_node(&self) -> Option<ConstantPathWriteNode<'pr>>

Returns the node as a ConstantPathWriteNode.

Source

pub fn as_constant_read_node(&self) -> Option<ConstantReadNode<'pr>>

Returns the node as a ConstantReadNode.

Source

pub fn as_constant_target_node(&self) -> Option<ConstantTargetNode<'pr>>

Returns the node as a ConstantTargetNode.

Source

pub fn as_constant_write_node(&self) -> Option<ConstantWriteNode<'pr>>

Returns the node as a ConstantWriteNode.

Source

pub fn as_def_node(&self) -> Option<DefNode<'pr>>

Returns the node as a DefNode.

Source

pub fn as_defined_node(&self) -> Option<DefinedNode<'pr>>

Returns the node as a DefinedNode.

Source

pub fn as_else_node(&self) -> Option<ElseNode<'pr>>

Returns the node as a ElseNode.

Source

pub fn as_embedded_statements_node(&self) -> Option<EmbeddedStatementsNode<'pr>>

Returns the node as a EmbeddedStatementsNode.

Source

pub fn as_embedded_variable_node(&self) -> Option<EmbeddedVariableNode<'pr>>

Returns the node as a EmbeddedVariableNode.

Source

pub fn as_ensure_node(&self) -> Option<EnsureNode<'pr>>

Returns the node as a EnsureNode.

Source

pub fn as_false_node(&self) -> Option<FalseNode<'pr>>

Returns the node as a FalseNode.

Source

pub fn as_find_pattern_node(&self) -> Option<FindPatternNode<'pr>>

Returns the node as a FindPatternNode.

Source

pub fn as_flip_flop_node(&self) -> Option<FlipFlopNode<'pr>>

Returns the node as a FlipFlopNode.

Source

pub fn as_float_node(&self) -> Option<FloatNode<'pr>>

Returns the node as a FloatNode.

Source

pub fn as_for_node(&self) -> Option<ForNode<'pr>>

Returns the node as a ForNode.

Source

pub fn as_forwarding_arguments_node( &self, ) -> Option<ForwardingArgumentsNode<'pr>>

Returns the node as a ForwardingArgumentsNode.

Source

pub fn as_forwarding_parameter_node( &self, ) -> Option<ForwardingParameterNode<'pr>>

Returns the node as a ForwardingParameterNode.

Source

pub fn as_forwarding_super_node(&self) -> Option<ForwardingSuperNode<'pr>>

Returns the node as a ForwardingSuperNode.

Source

pub fn as_global_variable_and_write_node( &self, ) -> Option<GlobalVariableAndWriteNode<'pr>>

Returns the node as a GlobalVariableAndWriteNode.

Source

pub fn as_global_variable_operator_write_node( &self, ) -> Option<GlobalVariableOperatorWriteNode<'pr>>

Returns the node as a GlobalVariableOperatorWriteNode.

Source

pub fn as_global_variable_or_write_node( &self, ) -> Option<GlobalVariableOrWriteNode<'pr>>

Returns the node as a GlobalVariableOrWriteNode.

Source

pub fn as_global_variable_read_node( &self, ) -> Option<GlobalVariableReadNode<'pr>>

Returns the node as a GlobalVariableReadNode.

Source

pub fn as_global_variable_target_node( &self, ) -> Option<GlobalVariableTargetNode<'pr>>

Returns the node as a GlobalVariableTargetNode.

Source

pub fn as_global_variable_write_node( &self, ) -> Option<GlobalVariableWriteNode<'pr>>

Returns the node as a GlobalVariableWriteNode.

Source

pub fn as_hash_node(&self) -> Option<HashNode<'pr>>

Returns the node as a HashNode.

Source

pub fn as_hash_pattern_node(&self) -> Option<HashPatternNode<'pr>>

Returns the node as a HashPatternNode.

Source

pub fn as_if_node(&self) -> Option<IfNode<'pr>>

Returns the node as a IfNode.

Source

pub fn as_imaginary_node(&self) -> Option<ImaginaryNode<'pr>>

Returns the node as a ImaginaryNode.

Source

pub fn as_implicit_node(&self) -> Option<ImplicitNode<'pr>>

Returns the node as a ImplicitNode.

Source

pub fn as_implicit_rest_node(&self) -> Option<ImplicitRestNode<'pr>>

Returns the node as a ImplicitRestNode.

Source

pub fn as_in_node(&self) -> Option<InNode<'pr>>

Returns the node as a InNode.

Source

pub fn as_index_and_write_node(&self) -> Option<IndexAndWriteNode<'pr>>

Returns the node as a IndexAndWriteNode.

Source

pub fn as_index_operator_write_node( &self, ) -> Option<IndexOperatorWriteNode<'pr>>

Returns the node as a IndexOperatorWriteNode.

Source

pub fn as_index_or_write_node(&self) -> Option<IndexOrWriteNode<'pr>>

Returns the node as a IndexOrWriteNode.

Source

pub fn as_index_target_node(&self) -> Option<IndexTargetNode<'pr>>

Returns the node as a IndexTargetNode.

Source

pub fn as_instance_variable_and_write_node( &self, ) -> Option<InstanceVariableAndWriteNode<'pr>>

Returns the node as a InstanceVariableAndWriteNode.

Source

pub fn as_instance_variable_operator_write_node( &self, ) -> Option<InstanceVariableOperatorWriteNode<'pr>>

Returns the node as a InstanceVariableOperatorWriteNode.

Source

pub fn as_instance_variable_or_write_node( &self, ) -> Option<InstanceVariableOrWriteNode<'pr>>

Returns the node as a InstanceVariableOrWriteNode.

Source

pub fn as_instance_variable_read_node( &self, ) -> Option<InstanceVariableReadNode<'pr>>

Returns the node as a InstanceVariableReadNode.

Source

pub fn as_instance_variable_target_node( &self, ) -> Option<InstanceVariableTargetNode<'pr>>

Returns the node as a InstanceVariableTargetNode.

Source

pub fn as_instance_variable_write_node( &self, ) -> Option<InstanceVariableWriteNode<'pr>>

Returns the node as a InstanceVariableWriteNode.

Source

pub fn as_integer_node(&self) -> Option<IntegerNode<'pr>>

Returns the node as a IntegerNode.

Source

pub fn as_interpolated_match_last_line_node( &self, ) -> Option<InterpolatedMatchLastLineNode<'pr>>

Returns the node as a InterpolatedMatchLastLineNode.

Source

pub fn as_interpolated_regular_expression_node( &self, ) -> Option<InterpolatedRegularExpressionNode<'pr>>

Returns the node as a InterpolatedRegularExpressionNode.

Source

pub fn as_interpolated_string_node(&self) -> Option<InterpolatedStringNode<'pr>>

Returns the node as a InterpolatedStringNode.

Source

pub fn as_interpolated_symbol_node(&self) -> Option<InterpolatedSymbolNode<'pr>>

Returns the node as a InterpolatedSymbolNode.

Source

pub fn as_interpolated_x_string_node( &self, ) -> Option<InterpolatedXStringNode<'pr>>

Returns the node as a InterpolatedXStringNode.

Source

pub fn as_it_local_variable_read_node( &self, ) -> Option<ItLocalVariableReadNode<'pr>>

Returns the node as a ItLocalVariableReadNode.

Source

pub fn as_it_parameters_node(&self) -> Option<ItParametersNode<'pr>>

Returns the node as a ItParametersNode.

Source

pub fn as_keyword_hash_node(&self) -> Option<KeywordHashNode<'pr>>

Returns the node as a KeywordHashNode.

Source

pub fn as_keyword_rest_parameter_node( &self, ) -> Option<KeywordRestParameterNode<'pr>>

Returns the node as a KeywordRestParameterNode.

Source

pub fn as_lambda_node(&self) -> Option<LambdaNode<'pr>>

Returns the node as a LambdaNode.

Source

pub fn as_local_variable_and_write_node( &self, ) -> Option<LocalVariableAndWriteNode<'pr>>

Returns the node as a LocalVariableAndWriteNode.

Source

pub fn as_local_variable_operator_write_node( &self, ) -> Option<LocalVariableOperatorWriteNode<'pr>>

Returns the node as a LocalVariableOperatorWriteNode.

Source

pub fn as_local_variable_or_write_node( &self, ) -> Option<LocalVariableOrWriteNode<'pr>>

Returns the node as a LocalVariableOrWriteNode.

Source

pub fn as_local_variable_read_node(&self) -> Option<LocalVariableReadNode<'pr>>

Returns the node as a LocalVariableReadNode.

Source

pub fn as_local_variable_target_node( &self, ) -> Option<LocalVariableTargetNode<'pr>>

Returns the node as a LocalVariableTargetNode.

Source

pub fn as_local_variable_write_node( &self, ) -> Option<LocalVariableWriteNode<'pr>>

Returns the node as a LocalVariableWriteNode.

Source

pub fn as_match_last_line_node(&self) -> Option<MatchLastLineNode<'pr>>

Returns the node as a MatchLastLineNode.

Source

pub fn as_match_predicate_node(&self) -> Option<MatchPredicateNode<'pr>>

Returns the node as a MatchPredicateNode.

Source

pub fn as_match_required_node(&self) -> Option<MatchRequiredNode<'pr>>

Returns the node as a MatchRequiredNode.

Source

pub fn as_match_write_node(&self) -> Option<MatchWriteNode<'pr>>

Returns the node as a MatchWriteNode.

Source

pub fn as_missing_node(&self) -> Option<MissingNode<'pr>>

Returns the node as a MissingNode.

Source

pub fn as_module_node(&self) -> Option<ModuleNode<'pr>>

Returns the node as a ModuleNode.

Source

pub fn as_multi_target_node(&self) -> Option<MultiTargetNode<'pr>>

Returns the node as a MultiTargetNode.

Source

pub fn as_multi_write_node(&self) -> Option<MultiWriteNode<'pr>>

Returns the node as a MultiWriteNode.

Source

pub fn as_next_node(&self) -> Option<NextNode<'pr>>

Returns the node as a NextNode.

Source

pub fn as_nil_node(&self) -> Option<NilNode<'pr>>

Returns the node as a NilNode.

Source

pub fn as_no_keywords_parameter_node( &self, ) -> Option<NoKeywordsParameterNode<'pr>>

Returns the node as a NoKeywordsParameterNode.

Source

pub fn as_numbered_parameters_node(&self) -> Option<NumberedParametersNode<'pr>>

Returns the node as a NumberedParametersNode.

Source

pub fn as_numbered_reference_read_node( &self, ) -> Option<NumberedReferenceReadNode<'pr>>

Returns the node as a NumberedReferenceReadNode.

Source

pub fn as_optional_keyword_parameter_node( &self, ) -> Option<OptionalKeywordParameterNode<'pr>>

Returns the node as a OptionalKeywordParameterNode.

Source

pub fn as_optional_parameter_node(&self) -> Option<OptionalParameterNode<'pr>>

Returns the node as a OptionalParameterNode.

Source

pub fn as_or_node(&self) -> Option<OrNode<'pr>>

Returns the node as a OrNode.

Source

pub fn as_parameters_node(&self) -> Option<ParametersNode<'pr>>

Returns the node as a ParametersNode.

Source

pub fn as_parentheses_node(&self) -> Option<ParenthesesNode<'pr>>

Returns the node as a ParenthesesNode.

Source

pub fn as_pinned_expression_node(&self) -> Option<PinnedExpressionNode<'pr>>

Returns the node as a PinnedExpressionNode.

Source

pub fn as_pinned_variable_node(&self) -> Option<PinnedVariableNode<'pr>>

Returns the node as a PinnedVariableNode.

Source

pub fn as_post_execution_node(&self) -> Option<PostExecutionNode<'pr>>

Returns the node as a PostExecutionNode.

Source

pub fn as_pre_execution_node(&self) -> Option<PreExecutionNode<'pr>>

Returns the node as a PreExecutionNode.

Source

pub fn as_program_node(&self) -> Option<ProgramNode<'pr>>

Returns the node as a ProgramNode.

Source

pub fn as_range_node(&self) -> Option<RangeNode<'pr>>

Returns the node as a RangeNode.

Source

pub fn as_rational_node(&self) -> Option<RationalNode<'pr>>

Returns the node as a RationalNode.

Source

pub fn as_redo_node(&self) -> Option<RedoNode<'pr>>

Returns the node as a RedoNode.

Source

pub fn as_regular_expression_node(&self) -> Option<RegularExpressionNode<'pr>>

Returns the node as a RegularExpressionNode.

Source

pub fn as_required_keyword_parameter_node( &self, ) -> Option<RequiredKeywordParameterNode<'pr>>

Returns the node as a RequiredKeywordParameterNode.

Source

pub fn as_required_parameter_node(&self) -> Option<RequiredParameterNode<'pr>>

Returns the node as a RequiredParameterNode.

Source

pub fn as_rescue_modifier_node(&self) -> Option<RescueModifierNode<'pr>>

Returns the node as a RescueModifierNode.

Source

pub fn as_rescue_node(&self) -> Option<RescueNode<'pr>>

Returns the node as a RescueNode.

Source

pub fn as_rest_parameter_node(&self) -> Option<RestParameterNode<'pr>>

Returns the node as a RestParameterNode.

Source

pub fn as_retry_node(&self) -> Option<RetryNode<'pr>>

Returns the node as a RetryNode.

Source

pub fn as_return_node(&self) -> Option<ReturnNode<'pr>>

Returns the node as a ReturnNode.

Source

pub fn as_self_node(&self) -> Option<SelfNode<'pr>>

Returns the node as a SelfNode.

Source

pub fn as_shareable_constant_node(&self) -> Option<ShareableConstantNode<'pr>>

Returns the node as a ShareableConstantNode.

Source

pub fn as_singleton_class_node(&self) -> Option<SingletonClassNode<'pr>>

Returns the node as a SingletonClassNode.

Source

pub fn as_source_encoding_node(&self) -> Option<SourceEncodingNode<'pr>>

Returns the node as a SourceEncodingNode.

Source

pub fn as_source_file_node(&self) -> Option<SourceFileNode<'pr>>

Returns the node as a SourceFileNode.

Source

pub fn as_source_line_node(&self) -> Option<SourceLineNode<'pr>>

Returns the node as a SourceLineNode.

Source

pub fn as_splat_node(&self) -> Option<SplatNode<'pr>>

Returns the node as a SplatNode.

Source

pub fn as_statements_node(&self) -> Option<StatementsNode<'pr>>

Returns the node as a StatementsNode.

Source

pub fn as_string_node(&self) -> Option<StringNode<'pr>>

Returns the node as a StringNode.

Source

pub fn as_super_node(&self) -> Option<SuperNode<'pr>>

Returns the node as a SuperNode.

Source

pub fn as_symbol_node(&self) -> Option<SymbolNode<'pr>>

Returns the node as a SymbolNode.

Source

pub fn as_true_node(&self) -> Option<TrueNode<'pr>>

Returns the node as a TrueNode.

Source

pub fn as_undef_node(&self) -> Option<UndefNode<'pr>>

Returns the node as a UndefNode.

Source

pub fn as_unless_node(&self) -> Option<UnlessNode<'pr>>

Returns the node as a UnlessNode.

Source

pub fn as_until_node(&self) -> Option<UntilNode<'pr>>

Returns the node as a UntilNode.

Source

pub fn as_when_node(&self) -> Option<WhenNode<'pr>>

Returns the node as a WhenNode.

Source

pub fn as_while_node(&self) -> Option<WhileNode<'pr>>

Returns the node as a WhileNode.

Source

pub fn as_x_string_node(&self) -> Option<XStringNode<'pr>>

Returns the node as a XStringNode.

Source

pub fn as_yield_node(&self) -> Option<YieldNode<'pr>>

Returns the node as a YieldNode.

Trait Implementations§

Source§

impl Debug for Node<'_>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'pr> Freeze for Node<'pr>

§

impl<'pr> RefUnwindSafe for Node<'pr>

§

impl<'pr> !Send for Node<'pr>

§

impl<'pr> !Sync for Node<'pr>

§

impl<'pr> Unpin for Node<'pr>

§

impl<'pr> !UnwindSafe for Node<'pr>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.