Optional raw: anyOptional contextUnique identifier number for the node in the tree context
Indicate if tuple is an inline array definition.
Optional parentThe AST node that is containing current node
Optional rawRaw original Solc AST node that was used to create current node.
Source mapping data corresponting to the AST node.
The value has format start:length:sourceIndex:
start is the starting index of the corresponding
code fragment substring in the source string;length is the length of corresponding code fragment substring;sourceIndex is the index number of the source unit (file),
that contains the AST node.To get parsed values, use sourceInfo accessor.
Raw type identifier, e.g. t_uint256.
Note that we leave it as potentially undefined since it may be missing on legacy ASTs
(Note
we should really deprecate those to simplify the codebase)
Type string, e.g. uint256
An array of referenced nodes, preserving evaluation order.
The null value is used to represent empty spots.
An array of referenced node IDs, preserving evaluation order.
The null value is used to represent empty spots.
Returns current node AST context. Throws an error if no context is set.
Returns parsed parts of the src property value
Type of the AST node
An array of non-null components
Generated using TypeDoc
Current tree context of the node