Expand description
§ruby-prism-sys
FFI-bindings for prism.
Structs§
- pm_
alias_ global_ variable_ node - AliasGlobalVariableNode
- pm_
alias_ method_ node - AliasMethodNode
- pm_
alternation_ pattern_ node - AlternationPatternNode
- pm_
and_ node - AndNode
- pm_
arena_ t - pm_
arguments_ node - ArgumentsNode
- pm_
array_ node - ArrayNode
- pm_
array_ pattern_ node - ArrayPatternNode
- pm_
assoc_ node - AssocNode
- pm_
assoc_ splat_ node - AssocSplatNode
- pm_
back_ reference_ read_ node - BackReferenceReadNode
- pm_
begin_ node - BeginNode
- pm_
block_ argument_ node - BlockArgumentNode
- pm_
block_ local_ variable_ node - BlockLocalVariableNode
- pm_
block_ node - BlockNode
- pm_
block_ parameter_ node - BlockParameterNode
- pm_
block_ parameters_ node - BlockParametersNode
- pm_
break_ node - BreakNode
- pm_
call_ and_ write_ node - CallAndWriteNode
- pm_
call_ node - CallNode
- pm_
call_ operator_ write_ node - CallOperatorWriteNode
- pm_
call_ or_ write_ node - CallOrWriteNode
- pm_
call_ target_ node - CallTargetNode
- pm_
capture_ pattern_ node - CapturePatternNode
- pm_
case_ match_ node - CaseMatchNode
- pm_
case_ node - CaseNode
- pm_
class_ node - ClassNode
- pm_
class_ variable_ and_ write_ node - ClassVariableAndWriteNode
- pm_
class_ variable_ operator_ write_ node - ClassVariableOperatorWriteNode
- pm_
class_ variable_ or_ write_ node - ClassVariableOrWriteNode
- pm_
class_ variable_ read_ node - ClassVariableReadNode
- pm_
class_ variable_ target_ node - ClassVariableTargetNode
- pm_
class_ variable_ write_ node - ClassVariableWriteNode
- pm_
comment_ t - pm_
constant_ and_ write_ node - ConstantAndWriteNode
- pm_
constant_ id_ list_ t - A list of constant IDs. Usually used to represent a set of locals.
- pm_
constant_ operator_ write_ node - ConstantOperatorWriteNode
- pm_
constant_ or_ write_ node - ConstantOrWriteNode
- pm_
constant_ path_ and_ write_ node - ConstantPathAndWriteNode
- pm_
constant_ path_ node - ConstantPathNode
- pm_
constant_ path_ operator_ write_ node - ConstantPathOperatorWriteNode
- pm_
constant_ path_ or_ write_ node - ConstantPathOrWriteNode
- pm_
constant_ path_ target_ node - ConstantPathTargetNode
- pm_
constant_ path_ write_ node - ConstantPathWriteNode
- pm_
constant_ read_ node - ConstantReadNode
- pm_
constant_ t - pm_
constant_ target_ node - ConstantTargetNode
- pm_
constant_ write_ node - ConstantWriteNode
- pm_
def_ node - DefNode
- pm_
defined_ node - DefinedNode
- pm_
diagnostic_ t - pm_
else_ node - ElseNode
- pm_
embedded_ statements_ node - EmbeddedStatementsNode
- pm_
embedded_ variable_ node - EmbeddedVariableNode
- pm_
ensure_ node - EnsureNode
- pm_
error_ recovery_ node - ErrorRecoveryNode
- pm_
false_ node - FalseNode
- pm_
find_ pattern_ node - FindPatternNode
- pm_
flip_ flop_ node - FlipFlopNode
- pm_
float_ node - FloatNode
- pm_
for_ node - ForNode
- pm_
forwarding_ arguments_ node - ForwardingArgumentsNode
- pm_
forwarding_ parameter_ node - ForwardingParameterNode
- pm_
forwarding_ super_ node - ForwardingSuperNode
- pm_
global_ variable_ and_ write_ node - GlobalVariableAndWriteNode
- pm_
global_ variable_ operator_ write_ node - GlobalVariableOperatorWriteNode
- pm_
global_ variable_ or_ write_ node - GlobalVariableOrWriteNode
- pm_
global_ variable_ read_ node - GlobalVariableReadNode
- pm_
global_ variable_ target_ node - GlobalVariableTargetNode
- pm_
global_ variable_ write_ node - GlobalVariableWriteNode
- pm_
hash_ node - HashNode
- pm_
hash_ pattern_ node - HashPatternNode
- pm_
if_ node - IfNode
- pm_
imaginary_ node - ImaginaryNode
- pm_
implicit_ node - ImplicitNode
- pm_
implicit_ rest_ node - ImplicitRestNode
- pm_
in_ node - InNode
- pm_
index_ and_ write_ node - IndexAndWriteNode
- pm_
index_ operator_ write_ node - IndexOperatorWriteNode
- pm_
index_ or_ write_ node - IndexOrWriteNode
- pm_
index_ target_ node - IndexTargetNode
- pm_
instance_ variable_ and_ write_ node - InstanceVariableAndWriteNode
- pm_
instance_ variable_ operator_ write_ node - InstanceVariableOperatorWriteNode
- pm_
instance_ variable_ or_ write_ node - InstanceVariableOrWriteNode
- pm_
instance_ variable_ read_ node - InstanceVariableReadNode
- pm_
instance_ variable_ target_ node - InstanceVariableTargetNode
- pm_
instance_ variable_ write_ node - InstanceVariableWriteNode
- pm_
integer_ node - IntegerNode
- pm_
integer_ t - A structure represents an arbitrary-sized integer.
- pm_
interpolated_ match_ last_ line_ node - InterpolatedMatchLastLineNode
- pm_
interpolated_ regular_ expression_ node - InterpolatedRegularExpressionNode
- pm_
interpolated_ string_ node - InterpolatedStringNode
- pm_
interpolated_ symbol_ node - InterpolatedSymbolNode
- pm_
interpolated_ x_ string_ node - InterpolatedXStringNode
- pm_
it_ local_ variable_ read_ node - ItLocalVariableReadNode
- pm_
it_ parameters_ node - ItParametersNode
- pm_
keyword_ hash_ node - KeywordHashNode
- pm_
keyword_ rest_ parameter_ node - KeywordRestParameterNode
- pm_
lambda_ node - LambdaNode
- pm_
line_ column_ t - A line and column in a string.
- pm_
line_ offset_ list_ t - A list of offsets of the start of lines in a string. The offsets are assumed to be sorted/inserted in ascending order.
- pm_
local_ variable_ and_ write_ node - LocalVariableAndWriteNode
- pm_
local_ variable_ operator_ write_ node - LocalVariableOperatorWriteNode
- pm_
local_ variable_ or_ write_ node - LocalVariableOrWriteNode
- pm_
local_ variable_ read_ node - LocalVariableReadNode
- pm_
local_ variable_ target_ node - LocalVariableTargetNode
- pm_
local_ variable_ write_ node - LocalVariableWriteNode
- pm_
location_ t - This struct represents a slice in the source code, defined by an offset and a length. Note that we have confirmation that we can represent all locations within Ruby source files using 32-bit integers per:
- pm_
magic_ comment_ t - pm_
match_ last_ line_ node - MatchLastLineNode
- pm_
match_ predicate_ node - MatchPredicateNode
- pm_
match_ required_ node - MatchRequiredNode
- pm_
match_ write_ node - MatchWriteNode
- pm_
module_ node - ModuleNode
- pm_
multi_ target_ node - MultiTargetNode
- pm_
multi_ write_ node - MultiWriteNode
- pm_
next_ node - NextNode
- pm_
nil_ node - NilNode
- pm_
no_ block_ parameter_ node - NoBlockParameterNode
- pm_
no_ keywords_ parameter_ node - NoKeywordsParameterNode
- pm_node
- This is the base structure that represents a node in the syntax tree. It is embedded into every node type.
- pm_
node_ list - A list of nodes in the source, most often used for lists of children.
- pm_
numbered_ parameters_ node - NumberedParametersNode
- pm_
numbered_ reference_ read_ node - NumberedReferenceReadNode
- pm_
optional_ keyword_ parameter_ node - OptionalKeywordParameterNode
- pm_
optional_ parameter_ node - OptionalParameterNode
- pm_
options_ scope_ t - pm_
options_ t - pm_
or_ node - OrNode
- pm_
parameters_ node - ParametersNode
- pm_
parentheses_ node - ParenthesesNode
- pm_
parser_ t - pm_
pinned_ expression_ node - PinnedExpressionNode
- pm_
pinned_ variable_ node - PinnedVariableNode
- pm_
post_ execution_ node - PostExecutionNode
- pm_
pre_ execution_ node - PreExecutionNode
- pm_
program_ node - ProgramNode
- pm_
range_ node - RangeNode
- pm_
rational_ node - RationalNode
- pm_
redo_ node - RedoNode
- pm_
regular_ expression_ node - RegularExpressionNode
- pm_
required_ keyword_ parameter_ node - RequiredKeywordParameterNode
- pm_
required_ parameter_ node - RequiredParameterNode
- pm_
rescue_ modifier_ node - RescueModifierNode
- pm_
rescue_ node - RescueNode
- pm_
rest_ parameter_ node - RestParameterNode
- pm_
retry_ node - RetryNode
- pm_
return_ node - ReturnNode
- pm_
self_ node - SelfNode
- pm_
shareable_ constant_ node - ShareableConstantNode
- pm_
singleton_ class_ node - SingletonClassNode
- pm_
source_ encoding_ node - SourceEncodingNode
- pm_
source_ file_ node - SourceFileNode
- pm_
source_ line_ node - SourceLineNode
- pm_
splat_ node - SplatNode
- pm_
statements_ node - StatementsNode
- pm_
string_ node - StringNode
- pm_
string_ t - A generic string type that can have various ownership semantics.
- pm_
super_ node - SuperNode
- pm_
symbol_ node - SymbolNode
- pm_
true_ node - TrueNode
- pm_
undef_ node - UndefNode
- pm_
unless_ node - UnlessNode
- pm_
until_ node - UntilNode
- pm_
when_ node - WhenNode
- pm_
while_ node - WhileNode
- pm_
x_ string_ node - XStringNode
- pm_
yield_ node - YieldNode
Enums§
- pm_
arguments_ node_ flags - Flags for arguments nodes.
- pm_
array_ node_ flags - Flags for array nodes.
- pm_
call_ node_ flags - Flags for call nodes.
- pm_
comment_ type_ t - This is the type of a comment that we’ve found while parsing.
- pm_
encoding_ flags - Flags for nodes that have unescaped content.
- pm_
error_ level_ t - The levels of errors generated during parsing.
- pm_
integer_ base_ flags - Flags for integer nodes that correspond to the base of the integer.
- pm_
interpolated_ string_ node_ flags - Flags for interpolated string nodes that indicated mutability if they are also marked as literals.
- pm_
keyword_ hash_ node_ flags - Flags for keyword hash nodes.
- pm_
loop_ flags - Flags for while and until loop nodes.
- pm_
node_ type - This enum represents every type of node in the Ruby syntax tree.
- pm_
parameter_ flags - Flags for parameter nodes.
- pm_
parentheses_ node_ flags - Flags for parentheses nodes.
- pm_
range_ flags - Flags for range and flip-flop nodes.
- pm_
regular_ expression_ flags - Flags for regular expression and match last line nodes.
- pm_
shareable_ constant_ node_ flags - Flags for shareable constant nodes.
- pm_
string_ flags - Flags for string nodes.
- pm_
symbol_ flags - Flags for symbol nodes.
- pm_
warning_ level_ t - The levels of warnings generated during parsing.
Constants§
- PM_
OPTIONS_ COMMAND_ LINE_ A - A bit representing whether or not the command line -a option was set. -a splits the input line $_ into $F.
- PM_
OPTIONS_ COMMAND_ LINE_ E - A bit representing whether or not the command line -e option was set. -e allow the user to specify a script to be executed. This is necessary for prism to know because certain warnings are not generated when -e is used.
- PM_
OPTIONS_ COMMAND_ LINE_ L - A bit representing whether or not the command line -l option was set. -l chomps the input line by default.
- PM_
OPTIONS_ COMMAND_ LINE_ N - A bit representing whether or not the command line -n option was set. -n wraps the script in a while gets loop.
- PM_
OPTIONS_ COMMAND_ LINE_ P - A bit representing whether or not the command line -p option was set. -p prints the value of $_ at the end of each loop.
- PM_
OPTIONS_ COMMAND_ LINE_ X - A bit representing whether or not the command line -x option was set. -x searches the input file for a shebang that matches the current Ruby engine.
- PM_
OPTIONS_ SCOPE_ FORWARDING_ ALL - When the scope is forwarding with the … parameter.
- PM_
OPTIONS_ SCOPE_ FORWARDING_ BLOCK - When the scope is forwarding with the & parameter.
- PM_
OPTIONS_ SCOPE_ FORWARDING_ KEYWORDS - When the scope is forwarding with the ** parameter.
- PM_
OPTIONS_ SCOPE_ FORWARDING_ NONE - The default value for parameters.
- PM_
OPTIONS_ SCOPE_ FORWARDING_ POSITIONALS - When the scope is forwarding with the * parameter.
- PM_
STRING_ CONSTANT - This string is a constant string, and should not be freed.
- PM_
STRING_ OWNED - This string owns its memory, and should be freed internally.
- PM_
STRING_ SHARED - This is a slice of another string, and should not be freed.
Functions§
- pm_
arena_ ⚠free - Frees both the held memory and the arena itself.
- pm_
arena_ ⚠new - Returns a newly allocated and initialized arena. If the arena cannot be allocated, this function aborts the process.
- pm_
comment_ ⚠location - Returns the location associated with the given comment.
- pm_
comment_ ⚠type - Returns the type associated with the given comment.
- pm_
constant_ ⚠length - Return the length of a constant.
- pm_
constant_ ⚠start - Return a raw pointer to the start of a constant.
- pm_
diagnostic_ ⚠error_ level - Get the error level associated with the given diagnostic.
- pm_
diagnostic_ ⚠location - Get the location of the given diagnostic.
- pm_
diagnostic_ ⚠message - Get the message of the given diagnostic.
- pm_
diagnostic_ ⚠type - Get the type of the given diagnostic.
- pm_
diagnostic_ ⚠warning_ level - Get the warning level associated with the given diagnostic.
- pm_
line_ ⚠offset_ list_ line_ column - Returns the line and column of the given offset. If the offset is not in the list, the line and column of the closest offset less than the given offset are returned.
- pm_
magic_ ⚠comment_ key - Returns the location of the key associated with the given magic comment.
- pm_
magic_ ⚠comment_ value - Returns the location of the value associated with the given magic comment.
- pm_
options_ ⚠command_ line_ set - Sets the command line option on the given options struct.
- pm_
options_ ⚠encoding_ locked_ set - Set the encoding_locked option on the given options struct.
- pm_
options_ ⚠encoding_ set - Set the encoding option on the given options struct.
- pm_
options_ ⚠filepath_ set - Set the filepath option on the given options struct.
- pm_
options_ ⚠free - Free both the held memory of the given options struct and the struct itself.
- pm_
options_ ⚠frozen_ string_ literal_ set - Set the frozen string literal option on the given options struct.
- pm_
options_ ⚠line_ set - Set the line option on the given options struct.
- pm_
options_ ⚠main_ script_ set - Set the main script option on the given options struct.
- pm_
options_ ⚠new - Allocate a new options struct. If the options struct cannot be allocated, this function aborts the process.
- pm_
options_ ⚠partial_ script_ set - Set the partial script option on the given options struct.
- pm_
options_ ⚠scope_ forwarding_ set - Set the forwarding option on the given scope struct.
- pm_
options_ ⚠scope_ init - Create a new options scope struct. This will hold a set of locals that are in scope surrounding the code that is being parsed. If the scope was unable to allocate its locals, this function will abort the process.
- pm_
options_ ⚠scope_ local_ mut - Return a mutable pointer to the local at the given index within the given scope.
- pm_
options_ ⚠scope_ mut - Return a mutable pointer to the scope at the given index within the given options.
- pm_
options_ ⚠scopes_ init - Allocate and zero out the scopes array on the given options struct.
- pm_
options_ ⚠version_ set - Set the version option on the given options struct by parsing the given string. If the string contains an invalid option, this returns false. Otherwise, it returns true.
- pm_
parse ⚠ - Initiate the parser with the given parser.
- pm_
parser_ ⚠comments_ each - Iterates over the comments associated with the given parser and calls the given callback for each comment.
- pm_
parser_ ⚠comments_ size - Returns the number of comments associated with the given parser.
- pm_
parser_ ⚠constant - Returns a pointer to the constant at the given id in the constant pool associated with the given parser.
- pm_
parser_ ⚠constants_ each - Iterates over the constants in the constant pool associated with the given parser and calls the given callback for each constant.
- pm_
parser_ ⚠constants_ size - Returns the number of constants in the constant pool associated with the given parser.
- pm_
parser_ ⚠data_ loc - Returns the location of the DATA section that is associated with the given parser.
- pm_
parser_ ⚠errors_ each - Iterates over the errors associated with the given parser and calls the given callback for each error.
- pm_
parser_ ⚠errors_ size - Returns the number of errors associated with the given parser.
- pm_
parser_ ⚠free - Free both the memory held by the given parser and the parser itself.
- pm_
parser_ ⚠frozen_ string_ literal - Returns the frozen string literal value of the parser, as determined by the frozen_string_literal magic comment or the option set on the parser.
- pm_
parser_ ⚠line_ offsets - Returns the line offsets that are associated with the given parser.
- pm_
parser_ ⚠magic_ comments_ each - Iterates over the magic comments associated with the given parser and calls the given callback for each magic comment.
- pm_
parser_ ⚠magic_ comments_ size - Returns the number of magic comments associated with the given parser.
- pm_
parser_ ⚠new - Allocate and initialize a parser with the given start and end pointers.
- pm_
parser_ ⚠start - Returns the raw pointer to the start of the source that is being parsed.
- pm_
parser_ ⚠start_ line - Returns the line that the parser was considered to have started on.
- pm_
parser_ ⚠warnings_ each - Iterates over the warnings associated with the given parser and calls the given callback for each warning.
- pm_
parser_ ⚠warnings_ size - Returns the number of warnings associated with the given parser.
- pm_
string_ ⚠constant_ init - Initialize a constant string that doesn’t own its memory source.
- pm_
string_ ⚠length - Returns the length associated with the string.
- pm_
string_ ⚠source - Returns the start pointer associated with the string.
- pm_
version ⚠ - The prism version and the serialization format.
Type Aliases§
- pm_
alias_ global_ variable_ node_ t - AliasGlobalVariableNode
- pm_
alias_ method_ node_ t - AliasMethodNode
- pm_
alternation_ pattern_ node_ t - AlternationPatternNode
- pm_
and_ node_ t - AndNode
- pm_
arguments_ node_ t - ArgumentsNode
- pm_
array_ node_ t - ArrayNode
- pm_
array_ pattern_ node_ t - ArrayPatternNode
- pm_
assoc_ node_ t - AssocNode
- pm_
assoc_ splat_ node_ t - AssocSplatNode
- pm_
back_ reference_ read_ node_ t - BackReferenceReadNode
- pm_
begin_ node_ t - BeginNode
- pm_
block_ argument_ node_ t - BlockArgumentNode
- pm_
block_ local_ variable_ node_ t - BlockLocalVariableNode
- pm_
block_ node_ t - BlockNode
- pm_
block_ parameter_ node_ t - BlockParameterNode
- pm_
block_ parameters_ node_ t - BlockParametersNode
- pm_
break_ node_ t - BreakNode
- pm_
call_ and_ write_ node_ t - CallAndWriteNode
- pm_
call_ node_ t - CallNode
- pm_
call_ operator_ write_ node_ t - CallOperatorWriteNode
- pm_
call_ or_ write_ node_ t - CallOrWriteNode
- pm_
call_ target_ node_ t - CallTargetNode
- pm_
capture_ pattern_ node_ t - CapturePatternNode
- pm_
case_ match_ node_ t - CaseMatchNode
- pm_
case_ node_ t - CaseNode
- pm_
class_ node_ t - ClassNode
- pm_
class_ variable_ and_ write_ node_ t - ClassVariableAndWriteNode
- pm_
class_ variable_ operator_ write_ node_ t - ClassVariableOperatorWriteNode
- pm_
class_ variable_ or_ write_ node_ t - ClassVariableOrWriteNode
- pm_
class_ variable_ read_ node_ t - ClassVariableReadNode
- pm_
class_ variable_ target_ node_ t - ClassVariableTargetNode
- pm_
class_ variable_ write_ node_ t - ClassVariableWriteNode
- pm_
comment_ callback_ t - A callback function that can be used to process comments found while parsing.
- pm_
constant_ and_ write_ node_ t - ConstantAndWriteNode
- pm_
constant_ callback_ t - A callback function that can be used to process constants found while parsing.
- pm_
constant_ id_ t - A constant id is a unique identifier for a constant in the constant pool.
- pm_
constant_ operator_ write_ node_ t - ConstantOperatorWriteNode
- pm_
constant_ or_ write_ node_ t - ConstantOrWriteNode
- pm_
constant_ path_ and_ write_ node_ t - ConstantPathAndWriteNode
- pm_
constant_ path_ node_ t - ConstantPathNode
- pm_
constant_ path_ operator_ write_ node_ t - ConstantPathOperatorWriteNode
- pm_
constant_ path_ or_ write_ node_ t - ConstantPathOrWriteNode
- pm_
constant_ path_ target_ node_ t - ConstantPathTargetNode
- pm_
constant_ path_ write_ node_ t - ConstantPathWriteNode
- pm_
constant_ read_ node_ t - ConstantReadNode
- pm_
constant_ target_ node_ t - ConstantTargetNode
- pm_
constant_ write_ node_ t - ConstantWriteNode
- pm_
def_ node_ t - DefNode
- pm_
defined_ node_ t - DefinedNode
- pm_
diagnostic_ callback_ t - A callback function that can be used to process diagnostics found while parsing.
- pm_
else_ node_ t - ElseNode
- pm_
embedded_ statements_ node_ t - EmbeddedStatementsNode
- pm_
embedded_ variable_ node_ t - EmbeddedVariableNode
- pm_
ensure_ node_ t - EnsureNode
- pm_
error_ recovery_ node_ t - ErrorRecoveryNode
- pm_
false_ node_ t - FalseNode
- pm_
find_ pattern_ node_ t - FindPatternNode
- pm_
flip_ flop_ node_ t - FlipFlopNode
- pm_
float_ node_ t - FloatNode
- pm_
for_ node_ t - ForNode
- pm_
forwarding_ arguments_ node_ t - ForwardingArgumentsNode
- pm_
forwarding_ parameter_ node_ t - ForwardingParameterNode
- pm_
forwarding_ super_ node_ t - ForwardingSuperNode
- pm_
global_ variable_ and_ write_ node_ t - GlobalVariableAndWriteNode
- pm_
global_ variable_ operator_ write_ node_ t - GlobalVariableOperatorWriteNode
- pm_
global_ variable_ or_ write_ node_ t - GlobalVariableOrWriteNode
- pm_
global_ variable_ read_ node_ t - GlobalVariableReadNode
- pm_
global_ variable_ target_ node_ t - GlobalVariableTargetNode
- pm_
global_ variable_ write_ node_ t - GlobalVariableWriteNode
- pm_
hash_ node_ t - HashNode
- pm_
hash_ pattern_ node_ t - HashPatternNode
- pm_
if_ node_ t - IfNode
- pm_
imaginary_ node_ t - ImaginaryNode
- pm_
implicit_ node_ t - ImplicitNode
- pm_
implicit_ rest_ node_ t - ImplicitRestNode
- pm_
in_ node_ t - InNode
- pm_
index_ and_ write_ node_ t - IndexAndWriteNode
- pm_
index_ operator_ write_ node_ t - IndexOperatorWriteNode
- pm_
index_ or_ write_ node_ t - IndexOrWriteNode
- pm_
index_ target_ node_ t - IndexTargetNode
- pm_
instance_ variable_ and_ write_ node_ t - InstanceVariableAndWriteNode
- pm_
instance_ variable_ operator_ write_ node_ t - InstanceVariableOperatorWriteNode
- pm_
instance_ variable_ or_ write_ node_ t - InstanceVariableOrWriteNode
- pm_
instance_ variable_ read_ node_ t - InstanceVariableReadNode
- pm_
instance_ variable_ target_ node_ t - InstanceVariableTargetNode
- pm_
instance_ variable_ write_ node_ t - InstanceVariableWriteNode
- pm_
integer_ node_ t - IntegerNode
- pm_
interpolated_ match_ last_ line_ node_ t - InterpolatedMatchLastLineNode
- pm_
interpolated_ regular_ expression_ node_ t - InterpolatedRegularExpressionNode
- pm_
interpolated_ string_ node_ t - InterpolatedStringNode
- pm_
interpolated_ symbol_ node_ t - InterpolatedSymbolNode
- pm_
interpolated_ x_ string_ node_ t - InterpolatedXStringNode
- pm_
it_ local_ variable_ read_ node_ t - ItLocalVariableReadNode
- pm_
it_ parameters_ node_ t - ItParametersNode
- pm_
keyword_ hash_ node_ t - KeywordHashNode
- pm_
keyword_ rest_ parameter_ node_ t - KeywordRestParameterNode
- pm_
lambda_ node_ t - LambdaNode
- pm_
local_ variable_ and_ write_ node_ t - LocalVariableAndWriteNode
- pm_
local_ variable_ operator_ write_ node_ t - LocalVariableOperatorWriteNode
- pm_
local_ variable_ or_ write_ node_ t - LocalVariableOrWriteNode
- pm_
local_ variable_ read_ node_ t - LocalVariableReadNode
- pm_
local_ variable_ target_ node_ t - LocalVariableTargetNode
- pm_
local_ variable_ write_ node_ t - LocalVariableWriteNode
- pm_
magic_ comment_ callback_ t - A callback function that can be used to process magic comments found while parsing.
- pm_
match_ last_ line_ node_ t - MatchLastLineNode
- pm_
match_ predicate_ node_ t - MatchPredicateNode
- pm_
match_ required_ node_ t - MatchRequiredNode
- pm_
match_ write_ node_ t - MatchWriteNode
- pm_
module_ node_ t - ModuleNode
- pm_
multi_ target_ node_ t - MultiTargetNode
- pm_
multi_ write_ node_ t - MultiWriteNode
- pm_
next_ node_ t - NextNode
- pm_
nil_ node_ t - NilNode
- pm_
no_ block_ parameter_ node_ t - NoBlockParameterNode
- pm_
no_ keywords_ parameter_ node_ t - NoKeywordsParameterNode
- pm_
node_ flags_ t - These are the flags embedded in the node struct. We explicitly control the size of it here to avoid having the variable-width enum.
- pm_
node_ t - This is the base structure that represents a node in the syntax tree. It is embedded into every node type.
- pm_
node_ type_ t - This is the type of node embedded in the node struct. We explicitly control the size of it here to avoid having the variable-width enum.
- pm_
numbered_ parameters_ node_ t - NumberedParametersNode
- pm_
numbered_ reference_ read_ node_ t - NumberedReferenceReadNode
- pm_
optional_ keyword_ parameter_ node_ t - OptionalKeywordParameterNode
- pm_
optional_ parameter_ node_ t - OptionalParameterNode
- pm_
or_ node_ t - OrNode
- pm_
parameters_ node_ t - ParametersNode
- pm_
parentheses_ node_ t - ParenthesesNode
- pm_
pinned_ expression_ node_ t - PinnedExpressionNode
- pm_
pinned_ variable_ node_ t - PinnedVariableNode
- pm_
post_ execution_ node_ t - PostExecutionNode
- pm_
pre_ execution_ node_ t - PreExecutionNode
- pm_
program_ node_ t - ProgramNode
- pm_
range_ node_ t - RangeNode
- pm_
rational_ node_ t - RationalNode
- pm_
redo_ node_ t - RedoNode
- pm_
regular_ expression_ node_ t - RegularExpressionNode
- pm_
required_ keyword_ parameter_ node_ t - RequiredKeywordParameterNode
- pm_
required_ parameter_ node_ t - RequiredParameterNode
- pm_
rescue_ modifier_ node_ t - RescueModifierNode
- pm_
rescue_ node_ t - RescueNode
- pm_
rest_ parameter_ node_ t - RestParameterNode
- pm_
retry_ node_ t - RetryNode
- pm_
return_ node_ t - ReturnNode
- pm_
self_ node_ t - SelfNode
- pm_
shareable_ constant_ node_ t - ShareableConstantNode
- pm_
singleton_ class_ node_ t - SingletonClassNode
- pm_
source_ encoding_ node_ t - SourceEncodingNode
- pm_
source_ file_ node_ t - SourceFileNode
- pm_
source_ line_ node_ t - SourceLineNode
- pm_
splat_ node_ t - SplatNode
- pm_
statements_ node_ t - StatementsNode
- pm_
string_ node_ t - StringNode
- pm_
string_ t__ bindgen_ ty_ 1 - The type of the string. This field determines how the string should be freed.
- pm_
super_ node_ t - SuperNode
- pm_
symbol_ node_ t - SymbolNode
- pm_
true_ node_ t - TrueNode
- pm_
undef_ node_ t - UndefNode
- pm_
unless_ node_ t - UnlessNode
- pm_
until_ node_ t - UntilNode
- pm_
when_ node_ t - WhenNode
- pm_
while_ node_ t - WhileNode
- pm_
x_ string_ node_ t - XStringNode
- pm_
yield_ node_ t - YieldNode