opennlp.leo.regulus.tdl.parse
Class TdlParser
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--opennlp.leo.regulus.tdl.parse.TdlParser
- All Implemented Interfaces:
- TdlParserTokenTypes
- public class TdlParser
- extends antlr.LLkParser
- implements TdlParserTokenTypes
Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, traceDepth |
Fields inherited from interface opennlp.leo.regulus.tdl.parse.TdlParserTokenTypes |
AMPERSAND, BEGIN, COLON, COMMA, DIFFLIST_END, DIFFLIST_START, DOTDOTDOT, EOF, HASH, IDENTIFIER, IDENTIFIER_CHARS, INHERITS, INHERITS_WOUT_CONSTRAINT, LANGLE, LBRACK, LETTER, LPAREN, ML_COMMENT, NULL_TREE_LOOKAHEAD, PERIOD, RANGLE, RBRACK, RPAREN, SL_COMMENT, STRING, VOCAB, WS |
Methods inherited from class antlr.LLkParser |
consume, LA, LT, traceIn, traceOut |
Methods inherited from class antlr.Parser |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
TdlParser
public TdlParser()
TdlParser
protected TdlParser(antlr.TokenBuffer tokenBuf,
int k)
TdlParser
public TdlParser(antlr.TokenBuffer tokenBuf)
TdlParser
protected TdlParser(antlr.TokenStream lexer,
int k)
TdlParser
public TdlParser(antlr.TokenStream lexer)
TdlParser
public TdlParser(antlr.ParserSharedInputState state)
parseTypesFile
public TdlTypeDef[] parseTypesFile(java.io.File f)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
parseTypeDefinition
public TdlTypeDef parseTypeDefinition(java.lang.String s)
parseEntriesFile
public TdlEntry[] parseEntriesFile(java.io.File f)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
parseEntry
public TdlEntry parseEntry(java.lang.String s)
multipleTypeDefs
public final TdlTypeDef[] multipleTypeDefs()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
comment
public final void comment()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
typeDef
public final TdlTypeDef typeDef()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
type
public final TdlType type()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
conjunction
public final TdlConj conjunction()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
multipleEntries
public final TdlEntry[] multipleEntries()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
entry
public final TdlEntry entry()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
term
public final TdlTerm term()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
attrValList
public final TdlAttrVal[] attrValList()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
coreference
public final TdlCoref coreference()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
list
public final TdlList list()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
diffList
public final TdlDiffList diffList()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
conjunctionList
public final TdlConj[] conjunctionList()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
attrVal
public final TdlAttrVal attrVal()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
attrList
public final java.util.LinkedList attrList()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
attribute
public final TdlAttribute attribute()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
Copyright © 2002 Research Institute for Advanced Computer Science. All Rights Reserved.