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


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
 
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
 
Constructor Summary
  TdlParser()
           
  TdlParser(antlr.ParserSharedInputState state)
           
  TdlParser(antlr.TokenBuffer tokenBuf)
           
protected TdlParser(antlr.TokenBuffer tokenBuf, int k)
           
  TdlParser(antlr.TokenStream lexer)
           
protected TdlParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 TdlAttribute attribute()
           
 java.util.LinkedList attrList()
           
 TdlAttrVal attrVal()
           
 TdlAttrVal[] attrValList()
           
 void comment()
           
 TdlConj conjunction()
           
 TdlConj[] conjunctionList()
           
 TdlCoref coreference()
           
 TdlDiffList diffList()
           
 TdlEntry entry()
           
 TdlList list()
           
 TdlEntry[] multipleEntries()
           
 TdlTypeDef[] multipleTypeDefs()
           
 TdlEntry[] parseEntriesFile(java.io.File f)
           
 TdlEntry parseEntry(java.lang.String s)
           
 TdlTypeDef parseTypeDefinition(java.lang.String s)
           
 TdlTypeDef[] parseTypesFile(java.io.File f)
           
 TdlTerm term()
           
 TdlType type()
           
 TdlTypeDef typeDef()
           
 
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
 

Field Detail

_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
Constructor Detail

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)
Method Detail

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.