NumericToken class
Used to represent additional information of TokenType.numberLiteral.
For more details, see the docs on https://www.sqlite.org/syntax/numeric-literal.html
- Inheritance
- Available Extensions
Constructors
Properties
- digitsAfterDecimal ↔ String?
-
The digits after the decimal point, or null if this numeric token doesn't
have anything after its decimal point.
getter/setter pair
- digitsBeforeDecimal ↔ String?
-
The digits before the decimal point, or null if this numeric token was
written in hexadecimal notation or started with a decimal point.
getter/setter pair
- exponent → int?
-
An exponent to the base of ten.
final
- firstPosition → int
-
The first position of this entity, as an zero-based offset in the file it
was read from.
no setterinherited
- hasDecimalPoint ↔ bool
-
Whether this token has a decimal point in it.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSpan → bool
-
Whether this entity has a source span associated with it.
no setterinherited
- hexDigits ↔ String?
-
The hexadecimal digits of this token, or null if this token was not in
hex notation.
getter/setter pair
- index ↔ int
-
The index of this Token in the list of tokens scanned.
getter/setter pairinherited
- invisibleToParser → bool
-
Whether this token should be invisible to the parser. We use this for
comment tokens.
no setterinherited
- lastPosition → int
-
The (exclusive) last index of this entity in the source.
no setterinherited
- lexeme → String
-
no setterinherited
- next ↔ Token?
-
getter/setter pairinherited
- parsedNumber → num
-
The numeric literal represented by this token.
no setter
- previous ↔ Token?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → FileSpan
-
The piece of text forming this syntactic entity.
finalinherited
- synthetic → bool
-
Whether this entity is synthetic, meaning that it doesn't appear in the
actual source.
no setterinherited
- type → TokenType
-
finalinherited
Methods
-
hasSameStructureAs(
NumericToken other) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited