Optional
children: Iterable<ASTNode>Optional
license: stringOptional
raw: anyOptional
contextCurrent tree context of the node
Exported symbols dictionary, e.g. { "A": 74, "B": 34, ... }
Unique identifier number for the node in the tree context
Optional
licenseSPDX license identifier (if provided)
Optional
parentThe AST node that is containing current node
Optional
rawRaw original Solc AST node that was used to create current node.
Original "sources" key, that corresponds to current AST entry.
Index of the source unit in the "sourceList".
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.
Returns user-defined ABI encoder version for the source unit.
If there is no encoder version defined in the pragma directives,
then returns undefined
.
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
References to contract definitions
References to file-level enum definitions
References to file-level error definitions
References to file-level event definitions
Referenced exported symbols
References to file-level function definitions (free functions)
References to import directives
References to pragma directives
References to file-level struct definitions
References to file-level user-defined value type definitions
References to file-level using-for directives
References to file-level constant variable definitions
Generated using TypeDoc
File path to the source file