Optional
initialValue: ExpressionOptional
documentation: string | StructuredDocumentationOptional
raw: anyOptional
contextCurrent tree context of the node
Optional
documentationOptional documentation appearing above the statement:
undefined
when not specified.string
for compatibility reasons.Unique identifier number for the node in the tree context
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.
An array of variable declarations,
e.g. x
and y
in (uint x, uint y) = (1,2)
or z
in (uint z) = (1);
Optional
vThe expression that is evaluated and assigned as an initial value for the declared variables.
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
Generated using TypeDoc
Ids of the variables that are assigned by the statement.