java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pnfsoftware.jeb.util.encoding.jflex.TokenType |
These are the various token types supported by SyntaxPane.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TokenType | COMMENT | ||||||||||
TokenType | COMMENT2 | ||||||||||
TokenType | DEFAULT | ||||||||||
TokenType | DELIMITER | ||||||||||
TokenType | ERROR | ||||||||||
TokenType | IDENTIFIER | ||||||||||
TokenType | KEYWORD | ||||||||||
TokenType | KEYWORD2 | ||||||||||
TokenType | NUMBER | ||||||||||
TokenType | OPERATOR | ||||||||||
TokenType | REGEX | ||||||||||
TokenType | REGEX2 | ||||||||||
TokenType | STRING | ||||||||||
TokenType | STRING2 | ||||||||||
TokenType | TYPE | ||||||||||
TokenType | TYPE2 | ||||||||||
TokenType | TYPE3 | ||||||||||
TokenType | WARNING |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static boolean |
isComment(Token t)
Tests if the given token is a Comment Token.
| ||||||||||
static boolean |
isKeyword(Token t)
Tests if the given token is a Keyword Token.
| ||||||||||
static boolean |
isString(Token t)
Tests if the given token is a String Token.
| ||||||||||
static TokenType | valueOf(String name) | ||||||||||
final static TokenType[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|