Optional fieldNames: string[]Optional raw: anyOptional contextOptional fieldIn the case that this is a struct constructor call,
this is the field name corresponding to every argument.
The field is undefined otherwise.
Unique identifier number for the node in the tree context
Type of call: functionCall, typeConversion or structConstructorCall.
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
Call arguments, e.g array with 1 and 2 expressions in foo(1, 2)
Expression that defines the callee
For example msg.sender.foo in msg.sender.foo()
or someContract.foo in someContract.foo().
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
When expression is <actual function>.value(5)(...)
returns <actual function> without gas(), value() call modifiers
or <actual function>{gas: X, value: Y} options.
While loop is here due to .gas(), .value() modifiers
and call options can be nested.
Solidity builtin or user-defined function
identifier.memberName or if memberName is empty it is identifier
Identifier of the function name, e.g. sha3(...)
Is either empty and in this case the Identifier is the function name
or if there is MemberAccess then the memberName is the second part of the p1.p2,
e.g. the memberName from someUintArray.push(123) is push.
Called function or event definition reference
Generated using TypeDoc
Current tree context of the node