Optional
subdenomination: EtherUnit | TimeUnitOptional
raw: anyOptional
contextHexadecimal representation of value of the literal symbol
Unique identifier number for the node in the tree context
The type of literal: number
, string
, bool
, hexString
or unicodeString
.
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
subdenominationThe denomination number literal when explicitly specified.
Possible values for time: seconds
, minutes
, hours
, days
or weeks
(also years
for Solidity 0.4.x).
Possible values for ether: wei
, gwei
or ether
(also finney
and szabo
prior to Solidity 0.7.0).
Type string, e.g. uint256
Value of the literal symbol
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
Current tree context of the node