Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

oracle.javatools.parser.java.v1
Interface JavaTokens

All Known Implementing Classes:
CatchClause, ControlStatement, CreatorExpressionSymbol, ExpressionList, ExpressionSymbol, ForStatement, JavaLexer, JavaSyntaxRecognizer, SqlStatement, StatementSymbol, TryStatement

public interface JavaTokens

The JavaTokens interface defines the constants for the various tokens of the Java Language. Details of the language taken from Java Language Specification

See Also:
LexerToken, JavaLexer

Field Summary
static int TK_ABSTRACT
          Constant for the Java reserved word "abstract".
static int TK_AND_ASG
          Constant for (&=) binary AND assignment operator.
static int TK_ASG
          Constant for (=) assignment operator.
static int TK_ASSERT
          Constant for the Java reserved word "assert".
static int TK_BINAND
          Constant for (&) binary AND operator.
static int TK_BINNOT
          Constant for (~) binary NOT operator.
static int TK_BINOR
          Constant for (|) binary OR operator.
static int TK_BINXOR
          Constant for (^) binary XOR operator.
static int TK_BOOLEAN
          Constant for the Java reserved word "boolean".
static int TK_BOOLEAN_LITERAL
          Constant for boolean (true, false) literals.
static int TK_BREAK
          Constant for the Java reserved word "break".
static int TK_BYTE
          Constant for the Java reserved word "byte".
static int TK_CASE
          Constant for the Java reserved word "case".
static int TK_CATCH
          Constant for the Java reserved word "catch".
static int TK_CHAR
          Constant for the Java reserved word "char".
static int TK_CHAR_LITERAL
          Constant for character literals.
static int TK_CLASS
          Constant for the Java reserved word "class".
static int TK_COLON
          Constant for : operator (part of ?:, case statements, ...)
static int TK_COMMA
          Constant for the (,) comma separator.
static int TK_CONST
          Constant for the Java reserved word "const".
static int TK_CONTINUE
          Constant for the Java reserved word "continue".
static int TK_DEC
          Constant for (--) decrement operator.
static int TK_DEFAULT
          Constant for the Java reserved word "default".
static int TK_DIV
          Constant for (/) divide operator.
static int TK_DIV_ASG
          Constant for (/=) divide assignment operator.
static int TK_DO
          Constant for the Java reserved word "do".
static int TK_DOC_COMMENT
          Constant for a JavaDoc comment.
static int TK_DOT
          Constant for the (.) dot separator.
static int TK_DOUBLE
          Constant for the Java reserved word "double".
static int TK_ELSE
          Constant for the Java reserved word "else".
static int TK_EQ
          Constant for (==) equals operator.
static int TK_EXTENDS
          Constant for the Java reserved word "extends".
static int TK_FINAL
          Constant for the Java reserved word "final".
static int TK_FINALLY
          Constant for the Java reserved word "finally".
static int TK_FLOAT
          Constant for the Java reserved word "float".
static int TK_FLOAT_LITERAL
          Constant for floating point literals.
static int TK_FOR
          Constant for the Java reserved word "for".
static int TK_GE
          Constant for (>=) greater than or equals operator.
static int TK_GOTO
          Constant for the Java reserved word "goto".
static int TK_GT
          Constant for (>) greater than operator.
static int TK_IDENTIFIER
          Constant for an identifier which is not a literal or a Java reserved word.
static int TK_IF
          Constant for the Java reserved word "if".
static int TK_IMPLEMENTS
          Constant for the Java reserved word "implements".
static int TK_IMPORT
          Constant for the Java reserved word "import".
static int TK_INC
          Constant for (++) increment operator.
static int TK_INSTANCEOF
          Constant for the Java reserved word "instanceof".
static int TK_INT
          Constant for the Java reserved word "int".
static int TK_INT_LITERAL
          Constant for integer (decimal, hexadecimal, octal) literals.
static int TK_INTERFACE
          Constant for the Java reserved word "interface".
static int TK_LBRACE
          Constant for the ({) left brace separator.
static int TK_LBRACKET
          Constant for the ([) left bracket separator.
static int TK_LE
          Constant for (<=) less than or equals operator.
static int TK_LOGAND
          Constant for (&&) logical AND operator.
static int TK_LOGNOT
          Constant for (!) logical NOT operator.
static int TK_LOGOR
          Constant for (||) logical OR operator.
static int TK_LONG
          Constant for the Java reserved word "long".
static int TK_LPAREN
          Constant for the (() left parenthesis separator.
static int TK_LSH
          Constant for (<<) left shift operator.
static int TK_LSH_ASG
          Constant for (<<=) left shift assignment operator.
static int TK_LT
          Constant for (<) less than operator.
static int TK_MINUS
          Constant for (-) minus operator.
static int TK_MINUS_ASG
          Constant for (-=) minus assignment operator.
static int TK_MOD
          Constant for (%) mod operator.
static int TK_MOD_ASG
          Constant for (%=) mod assignment operator.
static int TK_MUL
          constant for (*) multiply operator.
static int TK_MUL_ASG
          Constant for (*=) multiply assignment operator.
static int TK_MULTI_COMMENT
          Constant for a Java multi-line comment.
static int TK_NATIVE
          Constant for the Java reserved word "native".
static int TK_NE
          Constant for (!=) not equals operator.
static int TK_NEW
          Constant for the Java reserved word "new".
static int TK_NULL_LITERAL
          Constant for the null literal.
static int TK_OR_ASG
          Constant for (|=) binary OR assignment operator.
static int TK_PACKAGE
          Constant for the Java reserved word "package".
static int TK_PLUS
          Constant for (+) plus operator.
static int TK_PLUS_ASG
          Constant for (+=) plus assignment operator.
static int TK_PRIVATE
          Constant for the Java reserved word "private".
static int TK_PROTECTED
          Constant for the Java reserved word "protected".
static int TK_PUBLIC
          Constant for the Java reserved word "public".
static int TK_QUES
          Constant for ? operator (part of ?:).
static int TK_RBRACE
          Constant for the (}) right brace separator.
static int TK_RBRACKET
          Constant for the (]) right bracket separator.
static int TK_RETURN
          Constant for the Java reserved word "return".
static int TK_RPAREN
          Constant for the ()) right parenthesis separator.
static int TK_RSH
          Constant for (>>) right shift operator.
static int TK_RSH_ASG
          Constant for (>>=) right shift assignment operator.
static int TK_SEMI
          Constant for the (;) semicolon separator.
static int TK_SHORT
          Constant for the Java reserved word "short".
static int TK_SINGLE_COMMENT
          Constant for a Java single-line comment.
static int TK_SQLJ_STATEMENT
          Constant for a SQLJ statement embedded inside a Java file.
static int TK_STATIC
          Constant for the Java reserved word "static".
static int TK_STRICTFP
          Constant for the Java reserved word "strictfp".
static int TK_STRING_LITERAL
          Constant for string literals.
static int TK_SUPER
          Constant for the Java reserved word "super".
static int TK_SWITCH
          Constant for the Java reserved word "switch".
static int TK_SYNCHRONIZED
          Constant for the Java reserved word "synchronized".
static int TK_THIS
          Constant for the Java reserved word "this".
static int TK_THROW
          Constant for the Java reserved word "throw".
static int TK_THROWS
          Constant for the Java reserved word "throws".
static int TK_TRANSIENT
          Constant for the Java reserved word "transient".
static int TK_TRY
          Constant for the Java reserved word "try".
static int TK_URSH
          Constant for (>>>) shift operator.
static int TK_URSH_ASG
          Constant for (>>>=) shift assignment operator.
static int TK_VOID
          Constant for the Java reserved word "void".
static int TK_VOLATILE
          Constant for the Java reserved word "volatile".
static int TK_WHILE
          Constant for the Java reserved word "while".
static int TK_XOR_ASG
          Constant for (^=) binary XOR assignment operator.
 

Field Detail

TK_IDENTIFIER

static final int TK_IDENTIFIER
Constant for an identifier which is not a literal or a Java reserved word.

See Also:
Constant Field Values

TK_SQLJ_STATEMENT

static final int TK_SQLJ_STATEMENT
Constant for a SQLJ statement embedded inside a Java file. This are blocks starting with #sql and ending with a semicolon (;).

See Also:
Constant Field Values

TK_INT_LITERAL

static final int TK_INT_LITERAL
Constant for integer (decimal, hexadecimal, octal) literals.

See Also:
Constant Field Values

TK_FLOAT_LITERAL

static final int TK_FLOAT_LITERAL
Constant for floating point literals.

See Also:
Constant Field Values

TK_BOOLEAN_LITERAL

static final int TK_BOOLEAN_LITERAL
Constant for boolean (true, false) literals. Note that true and false are not really Java reserved words, but literal values.

See Also:
Constant Field Values

TK_CHAR_LITERAL

static final int TK_CHAR_LITERAL
Constant for character literals.

See Also:
Constant Field Values

TK_STRING_LITERAL

static final int TK_STRING_LITERAL
Constant for string literals.

See Also:
Constant Field Values

TK_NULL_LITERAL

static final int TK_NULL_LITERAL
Constant for the null literal. Like boolean literals, the null literal is not a Java reserved word.

See Also:
Constant Field Values

TK_SINGLE_COMMENT

static final int TK_SINGLE_COMMENT
Constant for a Java single-line comment.

See Also:
Constant Field Values

TK_MULTI_COMMENT

static final int TK_MULTI_COMMENT
Constant for a Java multi-line comment.

See Also:
Constant Field Values

TK_DOC_COMMENT

static final int TK_DOC_COMMENT
Constant for a JavaDoc comment.

See Also:
Constant Field Values

TK_LBRACE

static final int TK_LBRACE
Constant for the ({) left brace separator.

See Also:
Constant Field Values

TK_RBRACE

static final int TK_RBRACE
Constant for the (}) right brace separator.

See Also:
Constant Field Values

TK_LPAREN

static final int TK_LPAREN
Constant for the (() left parenthesis separator.

See Also:
Constant Field Values

TK_RPAREN

static final int TK_RPAREN
Constant for the ()) right parenthesis separator.

See Also:
Constant Field Values

TK_LBRACKET

static final int TK_LBRACKET
Constant for the ([) left bracket separator.

See Also:
Constant Field Values

TK_RBRACKET

static final int TK_RBRACKET
Constant for the (]) right bracket separator.

See Also:
Constant Field Values

TK_DOT

static final int TK_DOT
Constant for the (.) dot separator.

See Also:
Constant Field Values

TK_SEMI

static final int TK_SEMI
Constant for the (;) semicolon separator.

See Also:
Constant Field Values

TK_COMMA

static final int TK_COMMA
Constant for the (,) comma separator.

See Also:
Constant Field Values

TK_QUES

static final int TK_QUES
Constant for ? operator (part of ?:).

See Also:
Constant Field Values

TK_COLON

static final int TK_COLON
Constant for : operator (part of ?:, case statements, ...)

See Also:
Constant Field Values

TK_ASG

static final int TK_ASG
Constant for (=) assignment operator.

See Also:
Constant Field Values

TK_EQ

static final int TK_EQ
Constant for (==) equals operator.

See Also:
Constant Field Values

TK_PLUS

static final int TK_PLUS
Constant for (+) plus operator.

See Also:
Constant Field Values

TK_PLUS_ASG

static final int TK_PLUS_ASG
Constant for (+=) plus assignment operator.

See Also:
Constant Field Values

TK_INC

static final int TK_INC
Constant for (++) increment operator.

See Also:
Constant Field Values

TK_MINUS

static final int TK_MINUS
Constant for (-) minus operator.

See Also:
Constant Field Values

TK_MINUS_ASG

static final int TK_MINUS_ASG
Constant for (-=) minus assignment operator.

See Also:
Constant Field Values

TK_DEC

static final int TK_DEC
Constant for (--) decrement operator.

See Also:
Constant Field Values

TK_MUL

static final int TK_MUL
constant for (*) multiply operator.

See Also:
Constant Field Values

TK_MUL_ASG

static final int TK_MUL_ASG
Constant for (*=) multiply assignment operator.

See Also:
Constant Field Values

TK_DIV

static final int TK_DIV
Constant for (/) divide operator.

See Also:
Constant Field Values

TK_DIV_ASG

static final int TK_DIV_ASG
Constant for (/=) divide assignment operator.

See Also:
Constant Field Values

TK_MOD

static final int TK_MOD
Constant for (%) mod operator.

See Also:
Constant Field Values

TK_MOD_ASG

static final int TK_MOD_ASG
Constant for (%=) mod assignment operator.

See Also:
Constant Field Values

TK_LSH

static final int TK_LSH
Constant for (<<) left shift operator.

See Also:
Constant Field Values

TK_LSH_ASG

static final int TK_LSH_ASG
Constant for (<<=) left shift assignment operator.

See Also:
Constant Field Values

TK_RSH

static final int TK_RSH
Constant for (>>) right shift operator.

See Also:
Constant Field Values

TK_RSH_ASG

static final int TK_RSH_ASG
Constant for (>>=) right shift assignment operator.

See Also:
Constant Field Values

TK_URSH

static final int TK_URSH
Constant for (>>>) shift operator.

See Also:
Constant Field Values

TK_URSH_ASG

static final int TK_URSH_ASG
Constant for (>>>=) shift assignment operator.

See Also:
Constant Field Values

TK_BINNOT

static final int TK_BINNOT
Constant for (~) binary NOT operator.

See Also:
Constant Field Values

TK_BINAND

static final int TK_BINAND
Constant for (&) binary AND operator.

See Also:
Constant Field Values

TK_AND_ASG

static final int TK_AND_ASG
Constant for (&=) binary AND assignment operator.

See Also:
Constant Field Values

TK_LOGAND

static final int TK_LOGAND
Constant for (&&) logical AND operator.

See Also:
Constant Field Values

TK_BINOR

static final int TK_BINOR
Constant for (|) binary OR operator.

See Also:
Constant Field Values

TK_OR_ASG

static final int TK_OR_ASG
Constant for (|=) binary OR assignment operator.

See Also:
Constant Field Values

TK_LOGOR

static final int TK_LOGOR
Constant for (||) logical OR operator.

See Also:
Constant Field Values

TK_BINXOR

static final int TK_BINXOR
Constant for (^) binary XOR operator.

See Also:
Constant Field Values

TK_XOR_ASG

static final int TK_XOR_ASG
Constant for (^=) binary XOR assignment operator.

See Also:
Constant Field Values

TK_LT

static final int TK_LT
Constant for (<) less than operator.

See Also:
Constant Field Values

TK_LE

static final int TK_LE
Constant for (<=) less than or equals operator.

See Also:
Constant Field Values

TK_GT

static final int TK_GT
Constant for (>) greater than operator.

See Also:
Constant Field Values

TK_GE

static final int TK_GE
Constant for (>=) greater than or equals operator.

See Also:
Constant Field Values

TK_LOGNOT

static final int TK_LOGNOT
Constant for (!) logical NOT operator.

See Also:
Constant Field Values

TK_NE

static final int TK_NE
Constant for (!=) not equals operator.

See Also:
Constant Field Values

TK_ABSTRACT

static final int TK_ABSTRACT
Constant for the Java reserved word "abstract".

See Also:
Constant Field Values

TK_ASSERT

static final int TK_ASSERT
Constant for the Java reserved word "assert". Available starting with JDK 1.4. Note that it is not numbered along with the rest of the keywords because it is a later addition to the JLS.

See Also:
Constant Field Values

TK_BOOLEAN

static final int TK_BOOLEAN
Constant for the Java reserved word "boolean".

See Also:
Constant Field Values

TK_BREAK

static final int TK_BREAK
Constant for the Java reserved word "break".

See Also:
Constant Field Values

TK_BYTE

static final int TK_BYTE
Constant for the Java reserved word "byte".

See Also:
Constant Field Values

TK_CASE

static final int TK_CASE
Constant for the Java reserved word "case".

See Also:
Constant Field Values

TK_CATCH

static final int TK_CATCH
Constant for the Java reserved word "catch".

See Also:
Constant Field Values

TK_CHAR

static final int TK_CHAR
Constant for the Java reserved word "char".

See Also:
Constant Field Values

TK_CLASS

static final int TK_CLASS
Constant for the Java reserved word "class".

See Also:
Constant Field Values

TK_CONST

static final int TK_CONST
Constant for the Java reserved word "const". This is not actually a valid keyword, but is still considered a reserved word in Java according to the language specification.

See Also:
Constant Field Values

TK_CONTINUE

static final int TK_CONTINUE
Constant for the Java reserved word "continue".

See Also:
Constant Field Values

TK_DEFAULT

static final int TK_DEFAULT
Constant for the Java reserved word "default".

See Also:
Constant Field Values

TK_DO

static final int TK_DO
Constant for the Java reserved word "do".

See Also:
Constant Field Values

TK_DOUBLE

static final int TK_DOUBLE
Constant for the Java reserved word "double".

See Also:
Constant Field Values

TK_ELSE

static final int TK_ELSE
Constant for the Java reserved word "else".

See Also:
Constant Field Values

TK_EXTENDS

static final int TK_EXTENDS
Constant for the Java reserved word "extends".

See Also:
Constant Field Values

TK_FINAL

static final int TK_FINAL
Constant for the Java reserved word "final".

See Also:
Constant Field Values

TK_FINALLY

static final int TK_FINALLY
Constant for the Java reserved word "finally".

See Also:
Constant Field Values

TK_FLOAT

static final int TK_FLOAT
Constant for the Java reserved word "float".

See Also:
Constant Field Values

TK_FOR

static final int TK_FOR
Constant for the Java reserved word "for".

See Also:
Constant Field Values

TK_GOTO

static final int TK_GOTO
Constant for the Java reserved word "goto". This is not actually a valid keyword, but is still considered a reserved word in Java according to the language specification.

See Also:
Constant Field Values

TK_IF

static final int TK_IF
Constant for the Java reserved word "if".

See Also:
Constant Field Values

TK_IMPLEMENTS

static final int TK_IMPLEMENTS
Constant for the Java reserved word "implements".

See Also:
Constant Field Values

TK_IMPORT

static final int TK_IMPORT
Constant for the Java reserved word "import".

See Also:
Constant Field Values

TK_INSTANCEOF

static final int TK_INSTANCEOF
Constant for the Java reserved word "instanceof".

See Also:
Constant Field Values

TK_INT

static final int TK_INT
Constant for the Java reserved word "int".

See Also:
Constant Field Values

TK_INTERFACE

static final int TK_INTERFACE
Constant for the Java reserved word "interface".

See Also:
Constant Field Values

TK_LONG

static final int TK_LONG
Constant for the Java reserved word "long".

See Also:
Constant Field Values

TK_NATIVE

static final int TK_NATIVE
Constant for the Java reserved word "native".

See Also:
Constant Field Values

TK_NEW

static final int TK_NEW
Constant for the Java reserved word "new".

See Also:
Constant Field Values

TK_PACKAGE

static final int TK_PACKAGE
Constant for the Java reserved word "package".

See Also:
Constant Field Values

TK_PRIVATE

static final int TK_PRIVATE
Constant for the Java reserved word "private".

See Also:
Constant Field Values

TK_PROTECTED

static final int TK_PROTECTED
Constant for the Java reserved word "protected".

See Also:
Constant Field Values

TK_PUBLIC

static final int TK_PUBLIC
Constant for the Java reserved word "public".

See Also:
Constant Field Values

TK_RETURN

static final int TK_RETURN
Constant for the Java reserved word "return".

See Also:
Constant Field Values

TK_SHORT

static final int TK_SHORT
Constant for the Java reserved word "short".

See Also:
Constant Field Values

TK_STATIC

static final int TK_STATIC
Constant for the Java reserved word "static".

See Also:
Constant Field Values

TK_STRICTFP

static final int TK_STRICTFP
Constant for the Java reserved word "strictfp".

See Also:
Constant Field Values

TK_SUPER

static final int TK_SUPER
Constant for the Java reserved word "super".

See Also:
Constant Field Values

TK_SWITCH

static final int TK_SWITCH
Constant for the Java reserved word "switch".

See Also:
Constant Field Values

TK_SYNCHRONIZED

static final int TK_SYNCHRONIZED
Constant for the Java reserved word "synchronized".

See Also:
Constant Field Values

TK_THIS

static final int TK_THIS
Constant for the Java reserved word "this".

See Also:
Constant Field Values

TK_THROW

static final int TK_THROW
Constant for the Java reserved word "throw".

See Also:
Constant Field Values

TK_THROWS

static final int TK_THROWS
Constant for the Java reserved word "throws".

See Also:
Constant Field Values

TK_TRANSIENT

static final int TK_TRANSIENT
Constant for the Java reserved word "transient".

See Also:
Constant Field Values

TK_TRY

static final int TK_TRY
Constant for the Java reserved word "try".

See Also:
Constant Field Values

TK_VOID

static final int TK_VOID
Constant for the Java reserved word "void".

See Also:
Constant Field Values

TK_VOLATILE

static final int TK_VOLATILE
Constant for the Java reserved word "volatile".

See Also:
Constant Field Values

TK_WHILE

static final int TK_WHILE
Constant for the Java reserved word "while".

See Also:
Constant Field Values

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

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