Optional
overrideSpecifier: OverrideSpecifierOptional
body: BlockOptional
documentation: string | StructuredDocumentationOptional
nameLocation: stringOptional
raw: anyOptional
contextOptional
documentationOptional documentation appearing above the modifier 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.Unique identifier number for the node in the tree context
Modifier 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.
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
vModifier body
Optional
vOverride specifier if provided
Modifier parameters are local variables within modifier body
Is true
if modifier is declared as possibly overridable
(using virtual
keyword since Solidity 0.6.7).
Is false
otherwise.
Declaration visibility
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
Reference to its scoped contract
Generated using TypeDoc
Current tree context of the node