GenericNumberState class

A NumberState object returns a number from a scanner. This state's idea of a number allows an optional, initial minus sign, followed by one or more digits. A decimal point and another string of digits may follow these digits.

Implemented types
Implementers

Constructors

GenericNumberState()

Properties

DOT int
final
hashCode int
The hash code for this object.
no setterinherited
MINUS int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

nextToken(IScanner scanner, ITokenizer? tokenizer) Token?
Gets the next token from the stream started from the character linked to this state.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited