IWordState class abstract
Defines an interface for tokenizer state that processes words, identificators or keywords
- Inheritance
-
- Object
- ITokenizerState
- IWordState
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearWordChars(
) → void - Clears definitions of word chars.
-
nextToken(
IScanner scanner, ITokenizer? tokenizer) → Token? -
Gets the next token from the stream started from the character linked to this state.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setWordChars(
int fromSymbol, int toSymbol, bool enable) → void - Establish characters in the given range as valid characters for part of a word after the first character. Note that the tokenizer must determine which characters are valid as the beginning character of a word.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited