NgToken class
Represents a Angular text/token entities.
Clients should not extend, implement, or mix-in this class.
- Implementers
Constructors
- NgToken.annotationPrefix(int offset)
-
factory
- NgToken.bananaPrefix(int offset)
-
factory
- NgToken.bananaSuffix(int offset)
-
factory
- NgToken.beforeElementDecorator(int offset, String string)
-
factory
- NgToken.beforeElementDecoratorValue(int offset)
-
factory
- NgToken.bindPrefix(int offset)
-
factory
- NgToken.closeElementEnd(int offset)
-
factory
- NgToken.closeElementStart(int offset)
-
factory
- NgToken.commentEnd(int offset)
-
factory
- NgToken.commentStart(int offset)
-
factory
- NgToken.commentValue(int offset, String string)
-
factory
- NgToken.doubleQuote(int offset)
-
factory
- NgToken.elementDecorator(int offset, String string)
-
factory
- NgToken.elementDecoratorValue(int offset, String string)
-
factory
- NgToken.elementIdentifier(int offset, String string)
-
factory
- NgToken.eventPrefix(int offset)
-
factory
- NgToken.eventSuffix(int offset)
-
factory
- NgToken.generateErrorSynthetic(int offset, NgTokenType type, {String lexeme = ''})
-
factory
- NgToken.interpolationEnd(int offset)
-
factory
- NgToken.interpolationStart(int offset)
-
factory
- NgToken.interpolationValue(int offset, String string)
-
factory
- NgToken.letPrefix(int offset)
-
factory
- NgToken.onPrefix(int offset)
-
factory
- NgToken.openElementEnd(int offset)
-
factory
- NgToken.openElementEndVoid(int offset)
-
factory
- NgToken.openElementStart(int offset)
-
factory
- NgToken.propertyPrefix(int offset)
-
factory
- NgToken.propertySuffix(int offset)
-
factory
- NgToken.referencePrefix(int offset)
-
factory
- NgToken.singleQuote(int offset)
-
factory
- NgToken.templatePrefix(int offset)
-
factory
- NgToken.text(int offset, String string)
-
factory
- NgToken.whitespace(int offset, String string)
-
factory
Properties
- end → int
-
Indexed location where the token ends in the original source text.
no setter
- errorSynthetic → bool
-
Indicates synthetic token generated from error.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- length → int
-
Number of characters in this token.
no setter
- lexeme → String
-
What characters were scanned and represent this token.
no setter
- offset → int
-
Indexed location where the token begins in the original source text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → NgTokenType
-
Type of token scanned.
final
Methods
-
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.
override