org.jscience.computing.ai.expertsystem.compiler.parser
Interface TokenConstants

All Known Implementing Classes:
Main, Scanner, Token

public interface TokenConstants

Interface used to define the constants used by the tokenization process of the scanning/parser of the rule files.


Field Summary
static int ACTIONS
          Constant used to indicate that the token type is the reserved word actions.
static int ASTERISK
          Constant used to indicate that the token type is an asterisk.
static int CLOSE_CURLY_BRACKET
          Constant used to indicate that the token type is a close curly bracket.
static int COMMA
          Constant used to indicate that the token type is a comma.
static int COMMENT
          Constant used to indicate that the token type is a comment.
static int CONDITIONS
          Constant used to indicate that the token type is the reserved word conditions.
static int DECLARATIONS
          Constant used to indicate that the token type is the reserved word declarations.
static int DOT
          Constant used to indicate that the token type is a dot.
static int EOF
          Constant used to indicate that the token type is EOF.
static int EQUALS
          Constant used to indicate that the token type is an equals sign.
static int ERROR
          Constant used to indicate that the token type is an error.
static int EXTENDS
          Constant used to indicate that the token type is the reserved word extends.
static int IDENT
          Constant used to indicate that the token type is an identifier.
static int IMPLEMENTS
          Constant used to indicate that the token type is the reserved word implements.
static int IMPORT
          Constant used to indicate that the token type is the reserved word import.
static int LOCALDECL
          Constant used to indicate that the token type is the reserved word localdecl.
static int NONE_ABOVE
          Constant used to indicate that the token type is none of the above.
static int OPEN_CURLY_BRACKET
          Constant used to indicate that the token type is an open curly bracket.
static int PACKAGE
          Constant used to indicate that the token type is the reserved word package.
static int PUBLIC
          Constant used to indicate that the token type is the reserved word public.
static int RULE
          Constant used to indicate that the token type is the reserved word rule.
static int RULE_BASE
          Constant used to indicate that the token type is the reserved word ruleBase.
static int SEMICOLON
          Constant used to indicate that the token type is a semicolon.
static int STRING
          Constant used to indicate that the token type is a string constant.
static int WHITE_SPACE
          Constant used to indicate that the token type is white spaces.
 

Field Detail

COMMENT

static final int COMMENT
Constant used to indicate that the token type is a comment.

See Also:
Constant Field Values

OPEN_CURLY_BRACKET

static final int OPEN_CURLY_BRACKET
Constant used to indicate that the token type is an open curly bracket.

See Also:
Constant Field Values

CLOSE_CURLY_BRACKET

static final int CLOSE_CURLY_BRACKET
Constant used to indicate that the token type is a close curly bracket.

See Also:
Constant Field Values

IDENT

static final int IDENT
Constant used to indicate that the token type is an identifier.

See Also:
Constant Field Values

WHITE_SPACE

static final int WHITE_SPACE
Constant used to indicate that the token type is white spaces.

See Also:
Constant Field Values

EOF

static final int EOF
Constant used to indicate that the token type is EOF.

See Also:
Constant Field Values

ERROR

static final int ERROR
Constant used to indicate that the token type is an error.

See Also:
Constant Field Values

STRING

static final int STRING
Constant used to indicate that the token type is a string constant.

See Also:
Constant Field Values

RULE_BASE

static final int RULE_BASE
Constant used to indicate that the token type is the reserved word ruleBase.

See Also:
Constant Field Values

RULE

static final int RULE
Constant used to indicate that the token type is the reserved word rule.

See Also:
Constant Field Values

EXTENDS

static final int EXTENDS
Constant used to indicate that the token type is the reserved word extends.

See Also:
Constant Field Values

DECLARATIONS

static final int DECLARATIONS
Constant used to indicate that the token type is the reserved word declarations.

See Also:
Constant Field Values

SEMICOLON

static final int SEMICOLON
Constant used to indicate that the token type is a semicolon.

See Also:
Constant Field Values

COMMA

static final int COMMA
Constant used to indicate that the token type is a comma.

See Also:
Constant Field Values

CONDITIONS

static final int CONDITIONS
Constant used to indicate that the token type is the reserved word conditions.

See Also:
Constant Field Values

ACTIONS

static final int ACTIONS
Constant used to indicate that the token type is the reserved word actions.

See Also:
Constant Field Values

IMPORT

static final int IMPORT
Constant used to indicate that the token type is the reserved word import.

See Also:
Constant Field Values

DOT

static final int DOT
Constant used to indicate that the token type is a dot.

See Also:
Constant Field Values

ASTERISK

static final int ASTERISK
Constant used to indicate that the token type is an asterisk.

See Also:
Constant Field Values

LOCALDECL

static final int LOCALDECL
Constant used to indicate that the token type is the reserved word localdecl.

See Also:
Constant Field Values

EQUALS

static final int EQUALS
Constant used to indicate that the token type is an equals sign.

See Also:
Constant Field Values

PUBLIC

static final int PUBLIC
Constant used to indicate that the token type is the reserved word public.

See Also:
Constant Field Values

PACKAGE

static final int PACKAGE
Constant used to indicate that the token type is the reserved word package.

See Also:
Constant Field Values

IMPLEMENTS

static final int IMPLEMENTS
Constant used to indicate that the token type is the reserved word implements.

See Also:
Constant Field Values

NONE_ABOVE

static final int NONE_ABOVE
Constant used to indicate that the token type is none of the above.

See Also:
Constant Field Values