public final enum

TokenType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.util.encoding.jflex.TokenType

Class Overview

These are the various token types supported by SyntaxPane.

Summary

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

Enum Values

public static final TokenType COMMENT

public static final TokenType COMMENT2

public static final TokenType DEFAULT

public static final TokenType DELIMITER

public static final TokenType ERROR

public static final TokenType IDENTIFIER

public static final TokenType KEYWORD

public static final TokenType KEYWORD2

public static final TokenType NUMBER

public static final TokenType OPERATOR

public static final TokenType REGEX

public static final TokenType REGEX2

public static final TokenType STRING

public static final TokenType STRING2

public static final TokenType TYPE

public static final TokenType TYPE2

public static final TokenType TYPE3

public static final TokenType WARNING

Public Methods

public static boolean isComment (Token t)

Tests if the given token is a Comment Token.

public static boolean isKeyword (Token t)

Tests if the given token is a Keyword Token.

public static boolean isString (Token t)

Tests if the given token is a String Token.

public static TokenType valueOf (String name)

public static final TokenType[] values ()