Optional
documentation: string | StructuredDocumentationOptional
raw: anyOptional
contextCurrent tree context of the node
Optional
danglingThis field is used as a storage field for string,
if string is set as value for danglingDocumentation
.
Optional
docThis field is used as a storage field for string,
if string is set as value for documentation
.
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.
Optional documentation that is dangling in the source fragment, that is after end of last child and before the end of the current node.
It is:
undefined
when not detected.string
for compatibility reasons.Optional documentation appearing above the contract definition:
undefined
when not specified.string
when specified and compiler version is older than 0.6.3
.StructuredDocumentation
when specified and compiler version is 0.6.3
or newer.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 the member statements
Generated using TypeDoc
Block is a compound statement and it can hold other statements