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
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>
impl<'pr> Node<'pr>
sourcepub fn as_alias_global_variable_node(
&self
) -> Option<AliasGlobalVariableNode<'pr>>
pub fn as_alias_global_variable_node( &self ) -> Option<AliasGlobalVariableNode<'pr>>
Returns the node as a AliasGlobalVariableNode
.
sourcepub fn as_alias_method_node(&self) -> Option<AliasMethodNode<'pr>>
pub fn as_alias_method_node(&self) -> Option<AliasMethodNode<'pr>>
Returns the node as a AliasMethodNode
.
sourcepub fn as_alternation_pattern_node(&self) -> Option<AlternationPatternNode<'pr>>
pub fn as_alternation_pattern_node(&self) -> Option<AlternationPatternNode<'pr>>
Returns the node as a AlternationPatternNode
.
sourcepub fn as_and_node(&self) -> Option<AndNode<'pr>>
pub fn as_and_node(&self) -> Option<AndNode<'pr>>
Returns the node as a AndNode
.
sourcepub fn as_arguments_node(&self) -> Option<ArgumentsNode<'pr>>
pub fn as_arguments_node(&self) -> Option<ArgumentsNode<'pr>>
Returns the node as a ArgumentsNode
.
sourcepub fn as_array_node(&self) -> Option<ArrayNode<'pr>>
pub fn as_array_node(&self) -> Option<ArrayNode<'pr>>
Returns the node as a ArrayNode
.
sourcepub fn as_array_pattern_node(&self) -> Option<ArrayPatternNode<'pr>>
pub fn as_array_pattern_node(&self) -> Option<ArrayPatternNode<'pr>>
Returns the node as a ArrayPatternNode
.
sourcepub fn as_assoc_node(&self) -> Option<AssocNode<'pr>>
pub fn as_assoc_node(&self) -> Option<AssocNode<'pr>>
Returns the node as a AssocNode
.
sourcepub fn as_assoc_splat_node(&self) -> Option<AssocSplatNode<'pr>>
pub fn as_assoc_splat_node(&self) -> Option<AssocSplatNode<'pr>>
Returns the node as a AssocSplatNode
.
sourcepub fn as_back_reference_read_node(&self) -> Option<BackReferenceReadNode<'pr>>
pub fn as_back_reference_read_node(&self) -> Option<BackReferenceReadNode<'pr>>
Returns the node as a BackReferenceReadNode
.
sourcepub fn as_begin_node(&self) -> Option<BeginNode<'pr>>
pub fn as_begin_node(&self) -> Option<BeginNode<'pr>>
Returns the node as a BeginNode
.
sourcepub fn as_block_argument_node(&self) -> Option<BlockArgumentNode<'pr>>
pub fn as_block_argument_node(&self) -> Option<BlockArgumentNode<'pr>>
Returns the node as a BlockArgumentNode
.
sourcepub fn as_block_local_variable_node(
&self
) -> Option<BlockLocalVariableNode<'pr>>
pub fn as_block_local_variable_node( &self ) -> Option<BlockLocalVariableNode<'pr>>
Returns the node as a BlockLocalVariableNode
.
sourcepub fn as_block_node(&self) -> Option<BlockNode<'pr>>
pub fn as_block_node(&self) -> Option<BlockNode<'pr>>
Returns the node as a BlockNode
.
sourcepub fn as_block_parameter_node(&self) -> Option<BlockParameterNode<'pr>>
pub fn as_block_parameter_node(&self) -> Option<BlockParameterNode<'pr>>
Returns the node as a BlockParameterNode
.
sourcepub fn as_block_parameters_node(&self) -> Option<BlockParametersNode<'pr>>
pub fn as_block_parameters_node(&self) -> Option<BlockParametersNode<'pr>>
Returns the node as a BlockParametersNode
.
sourcepub fn as_break_node(&self) -> Option<BreakNode<'pr>>
pub fn as_break_node(&self) -> Option<BreakNode<'pr>>
Returns the node as a BreakNode
.
sourcepub fn as_call_and_write_node(&self) -> Option<CallAndWriteNode<'pr>>
pub fn as_call_and_write_node(&self) -> Option<CallAndWriteNode<'pr>>
Returns the node as a CallAndWriteNode
.
sourcepub fn as_call_node(&self) -> Option<CallNode<'pr>>
pub fn as_call_node(&self) -> Option<CallNode<'pr>>
Returns the node as a CallNode
.
sourcepub fn as_call_operator_write_node(&self) -> Option<CallOperatorWriteNode<'pr>>
pub fn as_call_operator_write_node(&self) -> Option<CallOperatorWriteNode<'pr>>
Returns the node as a CallOperatorWriteNode
.
sourcepub fn as_call_or_write_node(&self) -> Option<CallOrWriteNode<'pr>>
pub fn as_call_or_write_node(&self) -> Option<CallOrWriteNode<'pr>>
Returns the node as a CallOrWriteNode
.
sourcepub fn as_call_target_node(&self) -> Option<CallTargetNode<'pr>>
pub fn as_call_target_node(&self) -> Option<CallTargetNode<'pr>>
Returns the node as a CallTargetNode
.
sourcepub fn as_capture_pattern_node(&self) -> Option<CapturePatternNode<'pr>>
pub fn as_capture_pattern_node(&self) -> Option<CapturePatternNode<'pr>>
Returns the node as a CapturePatternNode
.
sourcepub fn as_case_match_node(&self) -> Option<CaseMatchNode<'pr>>
pub fn as_case_match_node(&self) -> Option<CaseMatchNode<'pr>>
Returns the node as a CaseMatchNode
.
sourcepub fn as_case_node(&self) -> Option<CaseNode<'pr>>
pub fn as_case_node(&self) -> Option<CaseNode<'pr>>
Returns the node as a CaseNode
.
sourcepub fn as_class_node(&self) -> Option<ClassNode<'pr>>
pub fn as_class_node(&self) -> Option<ClassNode<'pr>>
Returns the node as a ClassNode
.
sourcepub fn as_class_variable_and_write_node(
&self
) -> Option<ClassVariableAndWriteNode<'pr>>
pub fn as_class_variable_and_write_node( &self ) -> Option<ClassVariableAndWriteNode<'pr>>
Returns the node as a ClassVariableAndWriteNode
.
sourcepub fn as_class_variable_operator_write_node(
&self
) -> Option<ClassVariableOperatorWriteNode<'pr>>
pub fn as_class_variable_operator_write_node( &self ) -> Option<ClassVariableOperatorWriteNode<'pr>>
Returns the node as a ClassVariableOperatorWriteNode
.
sourcepub fn as_class_variable_or_write_node(
&self
) -> Option<ClassVariableOrWriteNode<'pr>>
pub fn as_class_variable_or_write_node( &self ) -> Option<ClassVariableOrWriteNode<'pr>>
Returns the node as a ClassVariableOrWriteNode
.
sourcepub fn as_class_variable_read_node(&self) -> Option<ClassVariableReadNode<'pr>>
pub fn as_class_variable_read_node(&self) -> Option<ClassVariableReadNode<'pr>>
Returns the node as a ClassVariableReadNode
.
sourcepub fn as_class_variable_target_node(
&self
) -> Option<ClassVariableTargetNode<'pr>>
pub fn as_class_variable_target_node( &self ) -> Option<ClassVariableTargetNode<'pr>>
Returns the node as a ClassVariableTargetNode
.
sourcepub fn as_class_variable_write_node(
&self
) -> Option<ClassVariableWriteNode<'pr>>
pub fn as_class_variable_write_node( &self ) -> Option<ClassVariableWriteNode<'pr>>
Returns the node as a ClassVariableWriteNode
.
sourcepub fn as_constant_and_write_node(&self) -> Option<ConstantAndWriteNode<'pr>>
pub fn as_constant_and_write_node(&self) -> Option<ConstantAndWriteNode<'pr>>
Returns the node as a ConstantAndWriteNode
.
sourcepub fn as_constant_operator_write_node(
&self
) -> Option<ConstantOperatorWriteNode<'pr>>
pub fn as_constant_operator_write_node( &self ) -> Option<ConstantOperatorWriteNode<'pr>>
Returns the node as a ConstantOperatorWriteNode
.
sourcepub fn as_constant_or_write_node(&self) -> Option<ConstantOrWriteNode<'pr>>
pub fn as_constant_or_write_node(&self) -> Option<ConstantOrWriteNode<'pr>>
Returns the node as a ConstantOrWriteNode
.
sourcepub fn as_constant_path_and_write_node(
&self
) -> Option<ConstantPathAndWriteNode<'pr>>
pub fn as_constant_path_and_write_node( &self ) -> Option<ConstantPathAndWriteNode<'pr>>
Returns the node as a ConstantPathAndWriteNode
.
sourcepub fn as_constant_path_node(&self) -> Option<ConstantPathNode<'pr>>
pub fn as_constant_path_node(&self) -> Option<ConstantPathNode<'pr>>
Returns the node as a ConstantPathNode
.
sourcepub fn as_constant_path_operator_write_node(
&self
) -> Option<ConstantPathOperatorWriteNode<'pr>>
pub fn as_constant_path_operator_write_node( &self ) -> Option<ConstantPathOperatorWriteNode<'pr>>
Returns the node as a ConstantPathOperatorWriteNode
.
sourcepub fn as_constant_path_or_write_node(
&self
) -> Option<ConstantPathOrWriteNode<'pr>>
pub fn as_constant_path_or_write_node( &self ) -> Option<ConstantPathOrWriteNode<'pr>>
Returns the node as a ConstantPathOrWriteNode
.
sourcepub fn as_constant_path_target_node(
&self
) -> Option<ConstantPathTargetNode<'pr>>
pub fn as_constant_path_target_node( &self ) -> Option<ConstantPathTargetNode<'pr>>
Returns the node as a ConstantPathTargetNode
.
sourcepub fn as_constant_path_write_node(&self) -> Option<ConstantPathWriteNode<'pr>>
pub fn as_constant_path_write_node(&self) -> Option<ConstantPathWriteNode<'pr>>
Returns the node as a ConstantPathWriteNode
.
sourcepub fn as_constant_read_node(&self) -> Option<ConstantReadNode<'pr>>
pub fn as_constant_read_node(&self) -> Option<ConstantReadNode<'pr>>
Returns the node as a ConstantReadNode
.
sourcepub fn as_constant_target_node(&self) -> Option<ConstantTargetNode<'pr>>
pub fn as_constant_target_node(&self) -> Option<ConstantTargetNode<'pr>>
Returns the node as a ConstantTargetNode
.
sourcepub fn as_constant_write_node(&self) -> Option<ConstantWriteNode<'pr>>
pub fn as_constant_write_node(&self) -> Option<ConstantWriteNode<'pr>>
Returns the node as a ConstantWriteNode
.
sourcepub fn as_def_node(&self) -> Option<DefNode<'pr>>
pub fn as_def_node(&self) -> Option<DefNode<'pr>>
Returns the node as a DefNode
.
sourcepub fn as_defined_node(&self) -> Option<DefinedNode<'pr>>
pub fn as_defined_node(&self) -> Option<DefinedNode<'pr>>
Returns the node as a DefinedNode
.
sourcepub fn as_else_node(&self) -> Option<ElseNode<'pr>>
pub fn as_else_node(&self) -> Option<ElseNode<'pr>>
Returns the node as a ElseNode
.
sourcepub fn as_embedded_statements_node(&self) -> Option<EmbeddedStatementsNode<'pr>>
pub fn as_embedded_statements_node(&self) -> Option<EmbeddedStatementsNode<'pr>>
Returns the node as a EmbeddedStatementsNode
.
sourcepub fn as_embedded_variable_node(&self) -> Option<EmbeddedVariableNode<'pr>>
pub fn as_embedded_variable_node(&self) -> Option<EmbeddedVariableNode<'pr>>
Returns the node as a EmbeddedVariableNode
.
sourcepub fn as_ensure_node(&self) -> Option<EnsureNode<'pr>>
pub fn as_ensure_node(&self) -> Option<EnsureNode<'pr>>
Returns the node as a EnsureNode
.
sourcepub fn as_false_node(&self) -> Option<FalseNode<'pr>>
pub fn as_false_node(&self) -> Option<FalseNode<'pr>>
Returns the node as a FalseNode
.
sourcepub fn as_find_pattern_node(&self) -> Option<FindPatternNode<'pr>>
pub fn as_find_pattern_node(&self) -> Option<FindPatternNode<'pr>>
Returns the node as a FindPatternNode
.
sourcepub fn as_flip_flop_node(&self) -> Option<FlipFlopNode<'pr>>
pub fn as_flip_flop_node(&self) -> Option<FlipFlopNode<'pr>>
Returns the node as a FlipFlopNode
.
sourcepub fn as_float_node(&self) -> Option<FloatNode<'pr>>
pub fn as_float_node(&self) -> Option<FloatNode<'pr>>
Returns the node as a FloatNode
.
sourcepub fn as_for_node(&self) -> Option<ForNode<'pr>>
pub fn as_for_node(&self) -> Option<ForNode<'pr>>
Returns the node as a ForNode
.
sourcepub fn as_forwarding_arguments_node(
&self
) -> Option<ForwardingArgumentsNode<'pr>>
pub fn as_forwarding_arguments_node( &self ) -> Option<ForwardingArgumentsNode<'pr>>
Returns the node as a ForwardingArgumentsNode
.
sourcepub fn as_forwarding_parameter_node(
&self
) -> Option<ForwardingParameterNode<'pr>>
pub fn as_forwarding_parameter_node( &self ) -> Option<ForwardingParameterNode<'pr>>
Returns the node as a ForwardingParameterNode
.
sourcepub fn as_forwarding_super_node(&self) -> Option<ForwardingSuperNode<'pr>>
pub fn as_forwarding_super_node(&self) -> Option<ForwardingSuperNode<'pr>>
Returns the node as a ForwardingSuperNode
.
sourcepub fn as_global_variable_and_write_node(
&self
) -> Option<GlobalVariableAndWriteNode<'pr>>
pub fn as_global_variable_and_write_node( &self ) -> Option<GlobalVariableAndWriteNode<'pr>>
Returns the node as a GlobalVariableAndWriteNode
.
sourcepub fn as_global_variable_operator_write_node(
&self
) -> Option<GlobalVariableOperatorWriteNode<'pr>>
pub fn as_global_variable_operator_write_node( &self ) -> Option<GlobalVariableOperatorWriteNode<'pr>>
Returns the node as a GlobalVariableOperatorWriteNode
.
sourcepub fn as_global_variable_or_write_node(
&self
) -> Option<GlobalVariableOrWriteNode<'pr>>
pub fn as_global_variable_or_write_node( &self ) -> Option<GlobalVariableOrWriteNode<'pr>>
Returns the node as a GlobalVariableOrWriteNode
.
sourcepub fn as_global_variable_read_node(
&self
) -> Option<GlobalVariableReadNode<'pr>>
pub fn as_global_variable_read_node( &self ) -> Option<GlobalVariableReadNode<'pr>>
Returns the node as a GlobalVariableReadNode
.
sourcepub fn as_global_variable_target_node(
&self
) -> Option<GlobalVariableTargetNode<'pr>>
pub fn as_global_variable_target_node( &self ) -> Option<GlobalVariableTargetNode<'pr>>
Returns the node as a GlobalVariableTargetNode
.
sourcepub fn as_global_variable_write_node(
&self
) -> Option<GlobalVariableWriteNode<'pr>>
pub fn as_global_variable_write_node( &self ) -> Option<GlobalVariableWriteNode<'pr>>
Returns the node as a GlobalVariableWriteNode
.
sourcepub fn as_hash_node(&self) -> Option<HashNode<'pr>>
pub fn as_hash_node(&self) -> Option<HashNode<'pr>>
Returns the node as a HashNode
.
sourcepub fn as_hash_pattern_node(&self) -> Option<HashPatternNode<'pr>>
pub fn as_hash_pattern_node(&self) -> Option<HashPatternNode<'pr>>
Returns the node as a HashPatternNode
.
sourcepub fn as_if_node(&self) -> Option<IfNode<'pr>>
pub fn as_if_node(&self) -> Option<IfNode<'pr>>
Returns the node as a IfNode
.
sourcepub fn as_imaginary_node(&self) -> Option<ImaginaryNode<'pr>>
pub fn as_imaginary_node(&self) -> Option<ImaginaryNode<'pr>>
Returns the node as a ImaginaryNode
.
sourcepub fn as_implicit_node(&self) -> Option<ImplicitNode<'pr>>
pub fn as_implicit_node(&self) -> Option<ImplicitNode<'pr>>
Returns the node as a ImplicitNode
.
sourcepub fn as_implicit_rest_node(&self) -> Option<ImplicitRestNode<'pr>>
pub fn as_implicit_rest_node(&self) -> Option<ImplicitRestNode<'pr>>
Returns the node as a ImplicitRestNode
.
sourcepub fn as_in_node(&self) -> Option<InNode<'pr>>
pub fn as_in_node(&self) -> Option<InNode<'pr>>
Returns the node as a InNode
.
sourcepub fn as_index_and_write_node(&self) -> Option<IndexAndWriteNode<'pr>>
pub fn as_index_and_write_node(&self) -> Option<IndexAndWriteNode<'pr>>
Returns the node as a IndexAndWriteNode
.
sourcepub fn as_index_operator_write_node(
&self
) -> Option<IndexOperatorWriteNode<'pr>>
pub fn as_index_operator_write_node( &self ) -> Option<IndexOperatorWriteNode<'pr>>
Returns the node as a IndexOperatorWriteNode
.
sourcepub fn as_index_or_write_node(&self) -> Option<IndexOrWriteNode<'pr>>
pub fn as_index_or_write_node(&self) -> Option<IndexOrWriteNode<'pr>>
Returns the node as a IndexOrWriteNode
.
sourcepub fn as_index_target_node(&self) -> Option<IndexTargetNode<'pr>>
pub fn as_index_target_node(&self) -> Option<IndexTargetNode<'pr>>
Returns the node as a IndexTargetNode
.
sourcepub fn as_instance_variable_and_write_node(
&self
) -> Option<InstanceVariableAndWriteNode<'pr>>
pub fn as_instance_variable_and_write_node( &self ) -> Option<InstanceVariableAndWriteNode<'pr>>
Returns the node as a InstanceVariableAndWriteNode
.
sourcepub fn as_instance_variable_operator_write_node(
&self
) -> Option<InstanceVariableOperatorWriteNode<'pr>>
pub fn as_instance_variable_operator_write_node( &self ) -> Option<InstanceVariableOperatorWriteNode<'pr>>
Returns the node as a InstanceVariableOperatorWriteNode
.
sourcepub fn as_instance_variable_or_write_node(
&self
) -> Option<InstanceVariableOrWriteNode<'pr>>
pub fn as_instance_variable_or_write_node( &self ) -> Option<InstanceVariableOrWriteNode<'pr>>
Returns the node as a InstanceVariableOrWriteNode
.
sourcepub fn as_instance_variable_read_node(
&self
) -> Option<InstanceVariableReadNode<'pr>>
pub fn as_instance_variable_read_node( &self ) -> Option<InstanceVariableReadNode<'pr>>
Returns the node as a InstanceVariableReadNode
.
sourcepub fn as_instance_variable_target_node(
&self
) -> Option<InstanceVariableTargetNode<'pr>>
pub fn as_instance_variable_target_node( &self ) -> Option<InstanceVariableTargetNode<'pr>>
Returns the node as a InstanceVariableTargetNode
.
sourcepub fn as_instance_variable_write_node(
&self
) -> Option<InstanceVariableWriteNode<'pr>>
pub fn as_instance_variable_write_node( &self ) -> Option<InstanceVariableWriteNode<'pr>>
Returns the node as a InstanceVariableWriteNode
.
sourcepub fn as_integer_node(&self) -> Option<IntegerNode<'pr>>
pub fn as_integer_node(&self) -> Option<IntegerNode<'pr>>
Returns the node as a IntegerNode
.
sourcepub fn as_interpolated_match_last_line_node(
&self
) -> Option<InterpolatedMatchLastLineNode<'pr>>
pub fn as_interpolated_match_last_line_node( &self ) -> Option<InterpolatedMatchLastLineNode<'pr>>
Returns the node as a InterpolatedMatchLastLineNode
.
sourcepub fn as_interpolated_regular_expression_node(
&self
) -> Option<InterpolatedRegularExpressionNode<'pr>>
pub fn as_interpolated_regular_expression_node( &self ) -> Option<InterpolatedRegularExpressionNode<'pr>>
Returns the node as a InterpolatedRegularExpressionNode
.
sourcepub fn as_interpolated_string_node(&self) -> Option<InterpolatedStringNode<'pr>>
pub fn as_interpolated_string_node(&self) -> Option<InterpolatedStringNode<'pr>>
Returns the node as a InterpolatedStringNode
.
sourcepub fn as_interpolated_symbol_node(&self) -> Option<InterpolatedSymbolNode<'pr>>
pub fn as_interpolated_symbol_node(&self) -> Option<InterpolatedSymbolNode<'pr>>
Returns the node as a InterpolatedSymbolNode
.
sourcepub fn as_interpolated_x_string_node(
&self
) -> Option<InterpolatedXStringNode<'pr>>
pub fn as_interpolated_x_string_node( &self ) -> Option<InterpolatedXStringNode<'pr>>
Returns the node as a InterpolatedXStringNode
.
sourcepub fn as_it_local_variable_read_node(
&self
) -> Option<ItLocalVariableReadNode<'pr>>
pub fn as_it_local_variable_read_node( &self ) -> Option<ItLocalVariableReadNode<'pr>>
Returns the node as a ItLocalVariableReadNode
.
sourcepub fn as_it_parameters_node(&self) -> Option<ItParametersNode<'pr>>
pub fn as_it_parameters_node(&self) -> Option<ItParametersNode<'pr>>
Returns the node as a ItParametersNode
.
sourcepub fn as_keyword_hash_node(&self) -> Option<KeywordHashNode<'pr>>
pub fn as_keyword_hash_node(&self) -> Option<KeywordHashNode<'pr>>
Returns the node as a KeywordHashNode
.
sourcepub fn as_keyword_rest_parameter_node(
&self
) -> Option<KeywordRestParameterNode<'pr>>
pub fn as_keyword_rest_parameter_node( &self ) -> Option<KeywordRestParameterNode<'pr>>
Returns the node as a KeywordRestParameterNode
.
sourcepub fn as_lambda_node(&self) -> Option<LambdaNode<'pr>>
pub fn as_lambda_node(&self) -> Option<LambdaNode<'pr>>
Returns the node as a LambdaNode
.
sourcepub fn as_local_variable_and_write_node(
&self
) -> Option<LocalVariableAndWriteNode<'pr>>
pub fn as_local_variable_and_write_node( &self ) -> Option<LocalVariableAndWriteNode<'pr>>
Returns the node as a LocalVariableAndWriteNode
.
sourcepub fn as_local_variable_operator_write_node(
&self
) -> Option<LocalVariableOperatorWriteNode<'pr>>
pub fn as_local_variable_operator_write_node( &self ) -> Option<LocalVariableOperatorWriteNode<'pr>>
Returns the node as a LocalVariableOperatorWriteNode
.
sourcepub fn as_local_variable_or_write_node(
&self
) -> Option<LocalVariableOrWriteNode<'pr>>
pub fn as_local_variable_or_write_node( &self ) -> Option<LocalVariableOrWriteNode<'pr>>
Returns the node as a LocalVariableOrWriteNode
.
sourcepub fn as_local_variable_read_node(&self) -> Option<LocalVariableReadNode<'pr>>
pub fn as_local_variable_read_node(&self) -> Option<LocalVariableReadNode<'pr>>
Returns the node as a LocalVariableReadNode
.
sourcepub fn as_local_variable_target_node(
&self
) -> Option<LocalVariableTargetNode<'pr>>
pub fn as_local_variable_target_node( &self ) -> Option<LocalVariableTargetNode<'pr>>
Returns the node as a LocalVariableTargetNode
.
sourcepub fn as_local_variable_write_node(
&self
) -> Option<LocalVariableWriteNode<'pr>>
pub fn as_local_variable_write_node( &self ) -> Option<LocalVariableWriteNode<'pr>>
Returns the node as a LocalVariableWriteNode
.
sourcepub fn as_match_last_line_node(&self) -> Option<MatchLastLineNode<'pr>>
pub fn as_match_last_line_node(&self) -> Option<MatchLastLineNode<'pr>>
Returns the node as a MatchLastLineNode
.
sourcepub fn as_match_predicate_node(&self) -> Option<MatchPredicateNode<'pr>>
pub fn as_match_predicate_node(&self) -> Option<MatchPredicateNode<'pr>>
Returns the node as a MatchPredicateNode
.
sourcepub fn as_match_required_node(&self) -> Option<MatchRequiredNode<'pr>>
pub fn as_match_required_node(&self) -> Option<MatchRequiredNode<'pr>>
Returns the node as a MatchRequiredNode
.
sourcepub fn as_match_write_node(&self) -> Option<MatchWriteNode<'pr>>
pub fn as_match_write_node(&self) -> Option<MatchWriteNode<'pr>>
Returns the node as a MatchWriteNode
.
sourcepub fn as_missing_node(&self) -> Option<MissingNode<'pr>>
pub fn as_missing_node(&self) -> Option<MissingNode<'pr>>
Returns the node as a MissingNode
.
sourcepub fn as_module_node(&self) -> Option<ModuleNode<'pr>>
pub fn as_module_node(&self) -> Option<ModuleNode<'pr>>
Returns the node as a ModuleNode
.
sourcepub fn as_multi_target_node(&self) -> Option<MultiTargetNode<'pr>>
pub fn as_multi_target_node(&self) -> Option<MultiTargetNode<'pr>>
Returns the node as a MultiTargetNode
.
sourcepub fn as_multi_write_node(&self) -> Option<MultiWriteNode<'pr>>
pub fn as_multi_write_node(&self) -> Option<MultiWriteNode<'pr>>
Returns the node as a MultiWriteNode
.
sourcepub fn as_next_node(&self) -> Option<NextNode<'pr>>
pub fn as_next_node(&self) -> Option<NextNode<'pr>>
Returns the node as a NextNode
.
sourcepub fn as_nil_node(&self) -> Option<NilNode<'pr>>
pub fn as_nil_node(&self) -> Option<NilNode<'pr>>
Returns the node as a NilNode
.
sourcepub fn as_no_keywords_parameter_node(
&self
) -> Option<NoKeywordsParameterNode<'pr>>
pub fn as_no_keywords_parameter_node( &self ) -> Option<NoKeywordsParameterNode<'pr>>
Returns the node as a NoKeywordsParameterNode
.
sourcepub fn as_numbered_parameters_node(&self) -> Option<NumberedParametersNode<'pr>>
pub fn as_numbered_parameters_node(&self) -> Option<NumberedParametersNode<'pr>>
Returns the node as a NumberedParametersNode
.
sourcepub fn as_numbered_reference_read_node(
&self
) -> Option<NumberedReferenceReadNode<'pr>>
pub fn as_numbered_reference_read_node( &self ) -> Option<NumberedReferenceReadNode<'pr>>
Returns the node as a NumberedReferenceReadNode
.
sourcepub fn as_optional_keyword_parameter_node(
&self
) -> Option<OptionalKeywordParameterNode<'pr>>
pub fn as_optional_keyword_parameter_node( &self ) -> Option<OptionalKeywordParameterNode<'pr>>
Returns the node as a OptionalKeywordParameterNode
.
sourcepub fn as_optional_parameter_node(&self) -> Option<OptionalParameterNode<'pr>>
pub fn as_optional_parameter_node(&self) -> Option<OptionalParameterNode<'pr>>
Returns the node as a OptionalParameterNode
.
sourcepub fn as_or_node(&self) -> Option<OrNode<'pr>>
pub fn as_or_node(&self) -> Option<OrNode<'pr>>
Returns the node as a OrNode
.
sourcepub fn as_parameters_node(&self) -> Option<ParametersNode<'pr>>
pub fn as_parameters_node(&self) -> Option<ParametersNode<'pr>>
Returns the node as a ParametersNode
.
sourcepub fn as_parentheses_node(&self) -> Option<ParenthesesNode<'pr>>
pub fn as_parentheses_node(&self) -> Option<ParenthesesNode<'pr>>
Returns the node as a ParenthesesNode
.
sourcepub fn as_pinned_expression_node(&self) -> Option<PinnedExpressionNode<'pr>>
pub fn as_pinned_expression_node(&self) -> Option<PinnedExpressionNode<'pr>>
Returns the node as a PinnedExpressionNode
.
sourcepub fn as_pinned_variable_node(&self) -> Option<PinnedVariableNode<'pr>>
pub fn as_pinned_variable_node(&self) -> Option<PinnedVariableNode<'pr>>
Returns the node as a PinnedVariableNode
.
sourcepub fn as_post_execution_node(&self) -> Option<PostExecutionNode<'pr>>
pub fn as_post_execution_node(&self) -> Option<PostExecutionNode<'pr>>
Returns the node as a PostExecutionNode
.
sourcepub fn as_pre_execution_node(&self) -> Option<PreExecutionNode<'pr>>
pub fn as_pre_execution_node(&self) -> Option<PreExecutionNode<'pr>>
Returns the node as a PreExecutionNode
.
sourcepub fn as_program_node(&self) -> Option<ProgramNode<'pr>>
pub fn as_program_node(&self) -> Option<ProgramNode<'pr>>
Returns the node as a ProgramNode
.
sourcepub fn as_range_node(&self) -> Option<RangeNode<'pr>>
pub fn as_range_node(&self) -> Option<RangeNode<'pr>>
Returns the node as a RangeNode
.
sourcepub fn as_rational_node(&self) -> Option<RationalNode<'pr>>
pub fn as_rational_node(&self) -> Option<RationalNode<'pr>>
Returns the node as a RationalNode
.
sourcepub fn as_redo_node(&self) -> Option<RedoNode<'pr>>
pub fn as_redo_node(&self) -> Option<RedoNode<'pr>>
Returns the node as a RedoNode
.
sourcepub fn as_regular_expression_node(&self) -> Option<RegularExpressionNode<'pr>>
pub fn as_regular_expression_node(&self) -> Option<RegularExpressionNode<'pr>>
Returns the node as a RegularExpressionNode
.
sourcepub fn as_required_keyword_parameter_node(
&self
) -> Option<RequiredKeywordParameterNode<'pr>>
pub fn as_required_keyword_parameter_node( &self ) -> Option<RequiredKeywordParameterNode<'pr>>
Returns the node as a RequiredKeywordParameterNode
.
sourcepub fn as_required_parameter_node(&self) -> Option<RequiredParameterNode<'pr>>
pub fn as_required_parameter_node(&self) -> Option<RequiredParameterNode<'pr>>
Returns the node as a RequiredParameterNode
.
sourcepub fn as_rescue_modifier_node(&self) -> Option<RescueModifierNode<'pr>>
pub fn as_rescue_modifier_node(&self) -> Option<RescueModifierNode<'pr>>
Returns the node as a RescueModifierNode
.
sourcepub fn as_rescue_node(&self) -> Option<RescueNode<'pr>>
pub fn as_rescue_node(&self) -> Option<RescueNode<'pr>>
Returns the node as a RescueNode
.
sourcepub fn as_rest_parameter_node(&self) -> Option<RestParameterNode<'pr>>
pub fn as_rest_parameter_node(&self) -> Option<RestParameterNode<'pr>>
Returns the node as a RestParameterNode
.
sourcepub fn as_retry_node(&self) -> Option<RetryNode<'pr>>
pub fn as_retry_node(&self) -> Option<RetryNode<'pr>>
Returns the node as a RetryNode
.
sourcepub fn as_return_node(&self) -> Option<ReturnNode<'pr>>
pub fn as_return_node(&self) -> Option<ReturnNode<'pr>>
Returns the node as a ReturnNode
.
sourcepub fn as_self_node(&self) -> Option<SelfNode<'pr>>
pub fn as_self_node(&self) -> Option<SelfNode<'pr>>
Returns the node as a SelfNode
.
Returns the node as a ShareableConstantNode
.
sourcepub fn as_singleton_class_node(&self) -> Option<SingletonClassNode<'pr>>
pub fn as_singleton_class_node(&self) -> Option<SingletonClassNode<'pr>>
Returns the node as a SingletonClassNode
.
sourcepub fn as_source_encoding_node(&self) -> Option<SourceEncodingNode<'pr>>
pub fn as_source_encoding_node(&self) -> Option<SourceEncodingNode<'pr>>
Returns the node as a SourceEncodingNode
.
sourcepub fn as_source_file_node(&self) -> Option<SourceFileNode<'pr>>
pub fn as_source_file_node(&self) -> Option<SourceFileNode<'pr>>
Returns the node as a SourceFileNode
.
sourcepub fn as_source_line_node(&self) -> Option<SourceLineNode<'pr>>
pub fn as_source_line_node(&self) -> Option<SourceLineNode<'pr>>
Returns the node as a SourceLineNode
.
sourcepub fn as_splat_node(&self) -> Option<SplatNode<'pr>>
pub fn as_splat_node(&self) -> Option<SplatNode<'pr>>
Returns the node as a SplatNode
.
sourcepub fn as_statements_node(&self) -> Option<StatementsNode<'pr>>
pub fn as_statements_node(&self) -> Option<StatementsNode<'pr>>
Returns the node as a StatementsNode
.
sourcepub fn as_string_node(&self) -> Option<StringNode<'pr>>
pub fn as_string_node(&self) -> Option<StringNode<'pr>>
Returns the node as a StringNode
.
sourcepub fn as_super_node(&self) -> Option<SuperNode<'pr>>
pub fn as_super_node(&self) -> Option<SuperNode<'pr>>
Returns the node as a SuperNode
.
sourcepub fn as_symbol_node(&self) -> Option<SymbolNode<'pr>>
pub fn as_symbol_node(&self) -> Option<SymbolNode<'pr>>
Returns the node as a SymbolNode
.
sourcepub fn as_true_node(&self) -> Option<TrueNode<'pr>>
pub fn as_true_node(&self) -> Option<TrueNode<'pr>>
Returns the node as a TrueNode
.
sourcepub fn as_undef_node(&self) -> Option<UndefNode<'pr>>
pub fn as_undef_node(&self) -> Option<UndefNode<'pr>>
Returns the node as a UndefNode
.
sourcepub fn as_unless_node(&self) -> Option<UnlessNode<'pr>>
pub fn as_unless_node(&self) -> Option<UnlessNode<'pr>>
Returns the node as a UnlessNode
.
sourcepub fn as_until_node(&self) -> Option<UntilNode<'pr>>
pub fn as_until_node(&self) -> Option<UntilNode<'pr>>
Returns the node as a UntilNode
.
sourcepub fn as_when_node(&self) -> Option<WhenNode<'pr>>
pub fn as_when_node(&self) -> Option<WhenNode<'pr>>
Returns the node as a WhenNode
.
sourcepub fn as_while_node(&self) -> Option<WhileNode<'pr>>
pub fn as_while_node(&self) -> Option<WhileNode<'pr>>
Returns the node as a WhileNode
.
sourcepub fn as_x_string_node(&self) -> Option<XStringNode<'pr>>
pub fn as_x_string_node(&self) -> Option<XStringNode<'pr>>
Returns the node as a XStringNode
.
sourcepub fn as_yield_node(&self) -> Option<YieldNode<'pr>>
pub fn as_yield_node(&self) -> Option<YieldNode<'pr>>
Returns the node as a YieldNode
.