marf.nlp.Parsing.GrammarCompiler
Class ProbabilisticGrammarTokenType

java.lang.Object
  extended by marf.nlp.Parsing.TokenType
      extended by marf.nlp.Parsing.TokenSubType
          extended by marf.nlp.Parsing.GrammarCompiler.GrammarTokenType
              extended by marf.nlp.Parsing.GrammarCompiler.ProbabilisticGrammarTokenType
All Implemented Interfaces:
java.io.Serializable

public class ProbabilisticGrammarTokenType
extends GrammarTokenType

Probabilistic Grammar Token Type.

$Id: ProbabilisticGrammarTokenType.java,v 1.12 2007/12/18 21:37:57 mokhov Exp $

Since:
0.3.0.2
Version:
$Revision: 1.12 $
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.
private static long serialVersionUID
          For serialization versioning.
 
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, CLASS, COMMA, CURLY_CL, CURLY_OP, DO, ELSE, IF, INTEGER, iSubtype, 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, OR, PAREN_CL, PAREN_OP, PROGRAM, READ, REAL, RETURN, SEMICOLON, soBrackets, soKeywords, soOperators, soTokenSubTypes, soValidPunctuation, SQR_CL, SQR_OP, THEN, THIS, WHILE, WRITE
 
Fields inherited from class marf.nlp.Parsing.TokenType
BACKTRACK, BRACKET, EOF, ERROR, ID, iType, KEYWORD, NUM, OPERATOR, PUNCT, soTokenTypes, UNKNOWN
 
Constructor Summary
ProbabilisticGrammarTokenType()
          Constructor.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Retrieves class' revision.
 
Methods inherited from class marf.nlp.Parsing.TokenSubType
getSubtype, setSubtype, setSubTypeByLexeme
 
Methods inherited from class marf.nlp.Parsing.TokenType
getType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
For serialization versioning. When adding new members or make other structural changes regenerate this number with the serialver tool that comes with JDK.

Since:
0.3.0.4
See Also:
Constant Field Values

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


SourceForge Logo