Package org.drools.mvel.parser
Class TokenTypes
java.lang.Object
org.drools.mvel.parser.TokenTypes
Complements GeneratedJavaParserConstants
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic inteolToken()Deprecated.use eolTokenKindstatic intstatic com.github.javaparser.JavaToken.CategorygetCategory(int kind) Category of a token, a little more detailed than The JLS.static booleanisComment(int kind) static booleanisEndOfLineCharacter(int kind) Deprecated.use isEndOfLineTokenstatic booleanisEndOfLineToken(int kind) static booleanisSpaceOrTab(int kind) static booleanisWhitespace(int kind) static booleanisWhitespaceOrComment(int kind) static intDeprecated.use spaceTokenKindstatic int
-
Constructor Details
-
TokenTypes
public TokenTypes()
-
-
Method Details
-
isWhitespace
public static boolean isWhitespace(int kind) -
isEndOfLineCharacter
Deprecated.use isEndOfLineToken -
isEndOfLineToken
public static boolean isEndOfLineToken(int kind) -
isWhitespaceOrComment
public static boolean isWhitespaceOrComment(int kind) -
isSpaceOrTab
public static boolean isSpaceOrTab(int kind) -
isComment
public static boolean isComment(int kind) -
eolToken
Deprecated.use eolTokenKind -
eolTokenKind
public static int eolTokenKind()- Returns:
- the kind of EOL token to use on the platform you're running on.
-
spaceTokenKind
public static int spaceTokenKind()- Returns:
- the token kind for a single space.
-
spaceToken
Deprecated.use spaceTokenKind -
getCategory
public static com.github.javaparser.JavaToken.Category getCategory(int kind) Category of a token, a little more detailed than The JLS.
-