Extension SDK 10.1.2

oracle.javatools.parser.generic
Interface GenericTokens

All Known Implementing Classes:
GenericLexer, Language

public interface GenericTokens

The GenericTokens interface describes the tokens for a generic lexer. This are pretty basic token types that are generally common to most languages.


Field Summary
static int TK_CLOSE_BRACE
          The constant for a close brace token.
static int TK_FLOAT
          The constant for a float token.
static int TK_IDENTIFIER
          The constant for an identifier token.
static int TK_INTEGER
          The constant for an integer token.
static int TK_KEYWORD
          The constant for a keyword token.
static int TK_MULTI_COMMENT
          The constant for a multi-line comment token.
static int TK_OPEN_BRACE
          The constant for an open brace token.
static int TK_OPERATOR
          The constant for an operator token.
static int TK_QUOTES
          The constant for a quote token.
static int TK_SINGLE_COMMENT
          The constant for a single-line comment token.
 

Field Detail

TK_KEYWORD

public static final int TK_KEYWORD
The constant for a keyword token.

See Also:
Constant Field Values

TK_IDENTIFIER

public static final int TK_IDENTIFIER
The constant for an identifier token.

See Also:
Constant Field Values

TK_SINGLE_COMMENT

public static final int TK_SINGLE_COMMENT
The constant for a single-line comment token.

See Also:
Constant Field Values

TK_MULTI_COMMENT

public static final int TK_MULTI_COMMENT
The constant for a multi-line comment token.

See Also:
Constant Field Values

TK_QUOTES

public static final int TK_QUOTES
The constant for a quote token.

See Also:
Constant Field Values

TK_INTEGER

public static final int TK_INTEGER
The constant for an integer token.

See Also:
Constant Field Values

TK_FLOAT

public static final int TK_FLOAT
The constant for a float token.

See Also:
Constant Field Values

TK_OPEN_BRACE

public static final int TK_OPEN_BRACE
The constant for an open brace token.

See Also:
Constant Field Values

TK_CLOSE_BRACE

public static final int TK_CLOSE_BRACE
The constant for a close brace token.

See Also:
Constant Field Values

TK_OPERATOR

public static final int TK_OPERATOR
The constant for an operator token.

See Also:
Constant Field Values

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.