marf.nlp.Parsing.GrammarCompiler
Class ProbabilisticGrammarTokenType

java.lang.Object
  |
  +--marf.nlp.Parsing.TokenType
        |
        +--marf.nlp.Parsing.TokenSubType
              |
              +--marf.nlp.Parsing.GrammarCompiler.GrammarTokenType
                    |
                    +--marf.nlp.Parsing.GrammarCompiler.ProbabilisticGrammarTokenType
All Implemented Interfaces:
java.io.Serializable

public class ProbabilisticGrammarTokenType
extends GrammarTokenType

Probabilistic Grammar Toke Type. $Id: ProbabilisticGrammarTokenType.java,v 1.10 2005/08/13 23:09:39 susan_fan Exp $

Since:
0.3.0
Version:
$Revision: 1.10 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
static int DICT_WORD
          Dictionary word (smth in between an identifier and a keyword).
static int PROBABILITY
          Probability token.
 
Fields inherited from class marf.nlp.Parsing.GrammarCompiler.GrammarTokenType
EPSILON, GRAMMAR_EOL, GRAMMAR_ID, GRAMMAR_OR, RULE_OP, S_CHECK_DEFINED, S_CHECK_MEMB_DEFINED, S_CHECK_SCOPE, S_DEFINE_CLASS, S_DEFINE_FUNC, S_DEFINE_VAR, S_ENFORCE_INT, S_TYPE_CHECK_AND_CAST, SE_MISSING_SEMICOLON, SEMANTIC_TOKEN
 
Fields inherited from class marf.nlp.Parsing.TokenSubType
AND, Brackets, CLASS, COMMA, CURLY_CL, CURLY_OP, DO, ELSE, IF, INTEGER, Keywords, NOT, OP_ASIGN, OP_DIV, OP_EQ, OP_GE, OP_GT, OP_LE, OP_LT, OP_MEMB, OP_MINUS, OP_MULT, OP_NE, OP_PLUS, Operators, OR, PAREN_CL, PAREN_OP, PROGRAM, READ, REAL, RETURN, SEMICOLON, SQR_CL, SQR_OP, subtype, THEN, THIS, TokenSubTypes, ValidPunctuation, WHILE, WRITE
 
Fields inherited from class marf.nlp.Parsing.TokenType
BACKTRACK, BRACKET, EOF, ERROR, ID, KEYWORD, NUM, OPERATOR, PUNCT, TokenTypes, type, UNKNOWN
 
Constructor Summary
ProbabilisticGrammarTokenType()
          Constructor.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Retrieves class' revision.
 
Methods inherited from class marf.nlp.Parsing.TokenSubType
setSubTypeByLexeme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROBABILITY

public static final int PROBABILITY
Probability token.

See Also:
Constant Field Values

DICT_WORD

public static final int DICT_WORD
Dictionary word (smth in between an identifier and a keyword).

See Also:
Constant Field Values
Constructor Detail

ProbabilisticGrammarTokenType

public ProbabilisticGrammarTokenType()
Constructor.

Method Detail

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Retrieves class' revision.

Returns:
revision string