TokenType enum
The types of Token objects.
Values
- streamStart → const TokenType
- streamEnd → const TokenType
- versionDirective → const TokenType
- tagDirective → const TokenType
- documentStart → const TokenType
- documentEnd → const TokenType
- blockSequenceStart → const TokenType
- blockMappingStart → const TokenType
- blockEnd → const TokenType
- flowSequenceStart → const TokenType
- flowSequenceEnd → const TokenType
- flowMappingStart → const TokenType
- flowMappingEnd → const TokenType
- blockEntry → const TokenType
- flowEntry → const TokenType
- key → const TokenType
- value → const TokenType
- alias → const TokenType
- anchor → const TokenType
- tag → const TokenType
- scalar → const TokenType
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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