Optional documentation: string | StructuredDocumentationOptional children: Iterable<ASTNode>Optional nameLocation: stringOptional baseSlotExpression: ExpressionOptional raw: anyThe base slot expression - i.e. the E in ... layout at <E> ...
Optional 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.
Is false if one of the functions is not implemented.
Is true otherwise.
Unique identifier number for the node in the tree context
Type of contract declaration, e.g. contract, library or interface.
C3-linearized base contract ids including the current contract's id
The contract name
Optional nameThe source range for name string
Optional parentThe AST node that is containing current node
Optional rawRaw original Solc AST node that was used to create current node.
Id of its scoped source unit
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.
Used error definition ids (including external definition ids)
Used events definition ids (including external definition ids)
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
Constructor reference (if definition is present for this contract)
Enums of the contract
Errors of the contract
Events of the contract
Functions of the contract
Inheritance specifiers
C3-linearized base contract references including the current contract
Modifiers of the contract
Reference to its scoped source unit
State variables are VariableDeclarations
that have the attribute stateVariable set to true
and that are direct children of a contract
Structs of the contract
Used error definitions (including external definitions)
Used event definitions (including external definitions)
User-defined value type definitions of contract
Type-bound libraries directives of the contract
Returns true if other contract is present in the inheritance chain
of the current contract. Returns false otherwise.
Generated using TypeDoc
Is
trueif contract is declared as an abstract (usingabstractkeyword since Solidity 0.6).Is
falseotherwise.