TokenExt extension
Extension for the Token class from the analyzer package.
Adds helper methods for working with tokens.
- on
-
- Token
Properties
- nextIsComma → bool
-
Available on Token, provided by the TokenExt extension
Checks whether the next token is a comma.no setter - previousIsComma → bool
-
Available on Token, provided by the TokenExt extension
Checks whether the previous token is a comma.no setter - previousOffset → int
-
Available on Token, provided by the TokenExt extension
Returns the offset of the previous token relative to the current one.no setter