Enum ruby_prism::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

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.

The AliasGlobalVariableNode node

§

AliasMethodNode

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.

The AliasMethodNode node

§

AlternationPatternNode

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.

The AlternationPatternNode node

§

AndNode

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.

The AndNode node

§

ArgumentsNode

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.

The ArgumentsNode node

§

ArrayNode

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.

The ArrayNode node

§

ArrayPatternNode

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.

The ArrayPatternNode node

§

AssocNode

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.

The AssocNode node

§

AssocSplatNode

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.

The AssocSplatNode node

§

BackReferenceReadNode

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.

The BackReferenceReadNode node

§

BeginNode

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.

The BeginNode node

§

BlockArgumentNode

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.

The BlockArgumentNode node

§

BlockLocalVariableNode

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.

The BlockLocalVariableNode node

§

BlockNode

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.

The BlockNode node

§

BlockParameterNode

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.

The BlockParameterNode node

§

BlockParametersNode

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.

The BlockParametersNode node

§

BreakNode

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.

The BreakNode node

§

CallAndWriteNode

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.

The CallAndWriteNode node

§

CallNode

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.

The CallNode node

§

CallOperatorWriteNode

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.

The CallOperatorWriteNode node

§

CallOrWriteNode

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.

The CallOrWriteNode node

§

CallTargetNode

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.

The CallTargetNode node

§

CapturePatternNode

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.

The CapturePatternNode node

§

CaseMatchNode

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.

The CaseMatchNode node

§

CaseNode

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.

The CaseNode node

§

ClassNode

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.

The ClassNode node

§

ClassVariableAndWriteNode

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.

The ClassVariableAndWriteNode node

§

ClassVariableOperatorWriteNode

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.

The ClassVariableOperatorWriteNode node

§

ClassVariableOrWriteNode

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.

The ClassVariableOrWriteNode node

§

ClassVariableReadNode

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.

The ClassVariableReadNode node

§

ClassVariableTargetNode

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.

The ClassVariableTargetNode node

§

ClassVariableWriteNode

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.

The ClassVariableWriteNode node

§

ConstantAndWriteNode

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.

The ConstantAndWriteNode node

§

ConstantOperatorWriteNode

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.

The ConstantOperatorWriteNode node

§

ConstantOrWriteNode

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.

The ConstantOrWriteNode node

§

ConstantPathAndWriteNode

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.

The ConstantPathAndWriteNode node

§

ConstantPathNode

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.

The ConstantPathNode node

§

ConstantPathOperatorWriteNode

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.

The ConstantPathOperatorWriteNode node

§

ConstantPathOrWriteNode

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.

The ConstantPathOrWriteNode node

§

ConstantPathTargetNode

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.

The ConstantPathTargetNode node

§

ConstantPathWriteNode

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.

The ConstantPathWriteNode node

§

ConstantReadNode

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.

The ConstantReadNode node

§

ConstantTargetNode

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.

The ConstantTargetNode node

§

ConstantWriteNode

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.

The ConstantWriteNode node

§

DefNode

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.

The DefNode node

§

DefinedNode

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.

The DefinedNode node

§

ElseNode

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.

The ElseNode node

§

EmbeddedStatementsNode

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.

The EmbeddedStatementsNode node

§

EmbeddedVariableNode

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.

The EmbeddedVariableNode node

§

EnsureNode

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.

The EnsureNode node

§

FalseNode

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.

The FalseNode node

§

FindPatternNode

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.

The FindPatternNode node

§

FlipFlopNode

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.

The FlipFlopNode node

§

FloatNode

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.

The FloatNode node

§

ForNode

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.

The ForNode node

§

ForwardingArgumentsNode

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.

The ForwardingArgumentsNode node

§

ForwardingParameterNode

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.

The ForwardingParameterNode node

§

ForwardingSuperNode

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.

The ForwardingSuperNode node

§

GlobalVariableAndWriteNode

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.

The GlobalVariableAndWriteNode node

§

GlobalVariableOperatorWriteNode

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.

The GlobalVariableOperatorWriteNode node

§

GlobalVariableOrWriteNode

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.

The GlobalVariableOrWriteNode node

§

GlobalVariableReadNode

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.

The GlobalVariableReadNode node

§

GlobalVariableTargetNode

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.

The GlobalVariableTargetNode node

§

GlobalVariableWriteNode

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.

The GlobalVariableWriteNode node

§

HashNode

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.

The HashNode node

§

HashPatternNode

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.

The HashPatternNode node

§

IfNode

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.

The IfNode node

§

ImaginaryNode

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.

The ImaginaryNode node

§

ImplicitNode

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.

The ImplicitNode node

§

ImplicitRestNode

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.

The ImplicitRestNode node

§

InNode

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.

The InNode node

§

IndexAndWriteNode

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.

The IndexAndWriteNode node

§

IndexOperatorWriteNode

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.

The IndexOperatorWriteNode node

§

IndexOrWriteNode

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.

The IndexOrWriteNode node

§

IndexTargetNode

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.

The IndexTargetNode node

§

InstanceVariableAndWriteNode

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.

The InstanceVariableAndWriteNode node

§

InstanceVariableOperatorWriteNode

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.

The InstanceVariableOperatorWriteNode node

§

InstanceVariableOrWriteNode

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.

The InstanceVariableOrWriteNode node

§

InstanceVariableReadNode

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.

The InstanceVariableReadNode node

§

InstanceVariableTargetNode

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.

The InstanceVariableTargetNode node

§

InstanceVariableWriteNode

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.

The InstanceVariableWriteNode node

§

IntegerNode

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.

The IntegerNode node

§

InterpolatedMatchLastLineNode

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.

The InterpolatedMatchLastLineNode node

§

InterpolatedRegularExpressionNode

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.

The InterpolatedRegularExpressionNode node

§

InterpolatedStringNode

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.

The InterpolatedStringNode node

§

InterpolatedSymbolNode

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.

The InterpolatedSymbolNode node

§

InterpolatedXStringNode

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.

The InterpolatedXStringNode node

§

ItLocalVariableReadNode

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.

The ItLocalVariableReadNode node

§

ItParametersNode

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.

The ItParametersNode node

§

KeywordHashNode

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.

The KeywordHashNode node

§

KeywordRestParameterNode

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.

The KeywordRestParameterNode node

§

LambdaNode

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.

The LambdaNode node

§

LocalVariableAndWriteNode

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.

The LocalVariableAndWriteNode node

§

LocalVariableOperatorWriteNode

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.

The LocalVariableOperatorWriteNode node

§

LocalVariableOrWriteNode

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.

The LocalVariableOrWriteNode node

§

LocalVariableReadNode

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.

The LocalVariableReadNode node

§

LocalVariableTargetNode

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.

The LocalVariableTargetNode node

§

LocalVariableWriteNode

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.

The LocalVariableWriteNode node

§

MatchLastLineNode

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.

The MatchLastLineNode node

§

MatchPredicateNode

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.

The MatchPredicateNode node

§

MatchRequiredNode

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.

The MatchRequiredNode node

§

MatchWriteNode

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.

The MatchWriteNode node

§

MissingNode

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.

The MissingNode node

§

ModuleNode

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.

The ModuleNode node

§

MultiTargetNode

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.

The MultiTargetNode node

§

MultiWriteNode

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.

The MultiWriteNode node

§

NextNode

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.

The NextNode node

§

NilNode

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.

The NilNode node

§

NoKeywordsParameterNode

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.

The NoKeywordsParameterNode node

§

NumberedParametersNode

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.

The NumberedParametersNode node

§

NumberedReferenceReadNode

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.

The NumberedReferenceReadNode node

§

OptionalKeywordParameterNode

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.

The OptionalKeywordParameterNode node

§

OptionalParameterNode

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.

The OptionalParameterNode node

§

OrNode

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.

The OrNode node

§

ParametersNode

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.

The ParametersNode node

§

ParenthesesNode

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.

The ParenthesesNode node

§

PinnedExpressionNode

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.

The PinnedExpressionNode node

§

PinnedVariableNode

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.

The PinnedVariableNode node

§

PostExecutionNode

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.

The PostExecutionNode node

§

PreExecutionNode

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.

The PreExecutionNode node

§

ProgramNode

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.

The ProgramNode node

§

RangeNode

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.

The RangeNode node

§

RationalNode

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.

The RationalNode node

§

RedoNode

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.

The RedoNode node

§

RegularExpressionNode

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.

The RegularExpressionNode node

§

RequiredKeywordParameterNode

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.

The RequiredKeywordParameterNode node

§

RequiredParameterNode

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.

The RequiredParameterNode node

§

RescueModifierNode

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.

The RescueModifierNode node

§

RescueNode

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.

The RescueNode node

§

RestParameterNode

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.

The RestParameterNode node

§

RetryNode

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.

The RetryNode node

§

ReturnNode

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.

The ReturnNode node

§

SelfNode

Fields

§parser: NonNull<pm_parser_t>

The pointer to the associated parser this node came from.

§pointer: *mut pm_self_node_t

The raw pointer to the node allocated by prism.

§marker: PhantomData<&'pr mut pm_self_node_t>

The marker to indicate the lifetime of the pointer.

The SelfNode node

§

ShareableConstantNode

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.

The ShareableConstantNode node

§

SingletonClassNode

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.

The SingletonClassNode node

§

SourceEncodingNode

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.

The SourceEncodingNode node

§

SourceFileNode

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.

The SourceFileNode node

§

SourceLineNode

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.

The SourceLineNode node

§

SplatNode

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.

The SplatNode node

§

StatementsNode

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.

The StatementsNode node

§

StringNode

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.

The StringNode node

§

SuperNode

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.

The SuperNode node

§

SymbolNode

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.

The SymbolNode node

§

TrueNode

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.

The TrueNode node

§

UndefNode

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.

The UndefNode node

§

UnlessNode

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.

The UnlessNode node

§

UntilNode

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.

The UntilNode node

§

WhenNode

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.

The WhenNode node

§

WhileNode

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.

The WhileNode node

§

XStringNode

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.

The XStringNode node

§

YieldNode

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.

The YieldNode node

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> 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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.