Describes the type of a highlighter token.
Instance methods
char?
Returns true if this enum value equals CHAR
Sourceconst?
Returns true if this enum value equals CONST
Sourcedelimited_token?
Returns true if this enum value equals DELIMITED_TOKEN
Sourcedelimiter_end?
Returns true if this enum value equals DELIMITER_END
Sourcedelimiter_start?
Returns true if this enum value equals DELIMITER_START
Sourceident?
Returns true if this enum value equals IDENT
Sourceinterpolation?
Returns true if this enum value equals INTERPOLATION
Sourcekeyword?
Returns true if this enum value equals KEYWORD
Sourcenewline?
Returns true if this enum value equals NEWLINE
Sourcenumber?
Returns true if this enum value equals NUMBER
Sourceoperator?
Returns true if this enum value equals OPERATOR
Sourceprimitive_literal?
Returns true if this enum value equals PRIMITIVE_LITERAL
Sourceself?
Returns true if this enum value equals SELF
Sourcespace?
Returns true if this enum value equals SPACE
Sourcestring?
Returns true if this enum value equals STRING
Sourcestring_array_end?
Returns true if this enum value equals STRING_ARRAY_END
Sourcestring_array_start?
Returns true if this enum value equals STRING_ARRAY_START
Sourcestring_array_token?
Returns true if this enum value equals STRING_ARRAY_TOKEN
Sourcesymbol?
Returns true if this enum value equals SYMBOL
Sourceunderscore?
Returns true if this enum value equals UNDERSCORE
Sourceunknown?
Returns true if this enum value equals UNKNOWN
Source