de.fuberlin.wiwiss.ng4j.trig.parser
Class TriGAntlrParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by de.fuberlin.wiwiss.ng4j.trig.parser.TriGAntlrParser
All Implemented Interfaces:
TriGAntlrParserTokenTypes

public class TriGAntlrParser
extends antlr.LLkParser
implements TriGAntlrParserTokenTypes


Field Summary
static String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface de.fuberlin.wiwiss.ng4j.trig.parser.TriGAntlrParserTokenTypes
ALPHA, ALPHANUMERIC, ANON, ARROW_L, ARROW_MEANS, ARROW_PATH_L, ARROW_PATH_R, ARROW_R, AT, AT_LANG, AT_PREFIX, AT_WORD, COLON, COMMA, DATATYPE, DOT, EOF, EQUAL, ESC_CHAR, ESCAPE, FORMULA, HEX_DIGIT, HEX4, KEYWORD, KW_A, KW_HAS, KW_IS, KW_OF, KW_THIS, LANGLE, LBRACK, LCURLY, LITERAL, LNAME, LPAREN, NAME_IT, NAME_OP, NL, NL1, NL2, NL3, NON_ANC, NSNAME, NULL_TREE_LOOKAHEAD, NUMBER, NUMERIC, NWS, PATH, QNAME, QUESTION, QUOTE3D, QUOTE3S, RANGLE, RBRACK, RCURLY, RPAREN, RPATH, SEMI, SEP, SEP_OR_PATH, SL_COMMENT, STRING, STRING1, STRING2, THING, TK_LIST, TK_LIST_FIRST, TK_LIST_NIL, TK_LIST_REST, URI_OR_IMPLIES, URICHAR, URIREF, UVAR, WS, XNAME, XNAMECHAR
 
Constructor Summary
  TriGAntlrParser(antlr.ParserSharedInputState state)
           
  TriGAntlrParser(antlr.TokenBuffer tokenBuf)
           
protected TriGAntlrParser(antlr.TokenBuffer tokenBuf, int k)
           
  TriGAntlrParser(antlr.TokenStream lexer)
           
protected TriGAntlrParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void anonnode(antlr.collections.AST label)
           
protected  void buildTokenTypeASTClassMap()
           
 void datatype()
           
 void document()
           
 void graph(antlr.collections.AST label)
           
 void graphLabel()
           
 void item()
           
 void kwA()
           
 void kwHAS()
           
 void kwIS()
           
 void kwOF()
           
 void kwTHIS()
           
 void list(antlr.collections.AST label)
           
 void literal()
           
 void literalModifier()
           
 void literalModifier1()
           
 void n3Directive()
           
 void n3Directive0()
           
 void namedGraph()
           
 void node()
           
 void nsprefix()
           
 void objectList(antlr.collections.AST subj, antlr.collections.AST prop)
           
 void propertyList(antlr.collections.AST subj)
           
 void propValue(antlr.collections.AST subj)
           
 void qname()
           
 void reportError(antlr.RecognitionException ex)
           
 void reportError(String s)
          Parser error-reporting function can be overridden in subclass
 void setEventHandler(TriGParserEventHandler h)
           
 void setLexer(TriGAntlrLexer _lexer)
           
 void statement()
           
 void statements()
           
 void subject()
           
 void subjectList(antlr.collections.AST oldSub, antlr.collections.AST prop)
           
 void testPoint()
           
 void uriref()
           
 void variableDT()
           
 void variableNoDT()
           
 void verb()
           
 void verbReverse()
           
 
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, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, 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 String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0
Constructor Detail

TriGAntlrParser

protected TriGAntlrParser(antlr.TokenBuffer tokenBuf,
                          int k)

TriGAntlrParser

public TriGAntlrParser(antlr.TokenBuffer tokenBuf)

TriGAntlrParser

protected TriGAntlrParser(antlr.TokenStream lexer,
                          int k)

TriGAntlrParser

public TriGAntlrParser(antlr.TokenStream lexer)

TriGAntlrParser

public TriGAntlrParser(antlr.ParserSharedInputState state)
Method Detail

setLexer

public void setLexer(TriGAntlrLexer _lexer)

setEventHandler

public void setEventHandler(TriGParserEventHandler h)

reportError

public void reportError(antlr.RecognitionException ex)
Overrides:
reportError in class antlr.Parser

reportError

public void reportError(String s)
Parser error-reporting function can be overridden in subclass

Overrides:
reportError in class antlr.Parser

document

public final void document()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

n3Directive

public final void n3Directive()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

namedGraph

public final void namedGraph()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

n3Directive0

public final void n3Directive0()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

nsprefix

public final void nsprefix()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

uriref

public final void uriref()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

graphLabel

public final void graphLabel()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

graph

public final void graph(antlr.collections.AST label)
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

qname

public final void qname()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

statements

public final void statements()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

statement

public final void statement()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subject

public final void subject()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

propertyList

public final void propertyList(antlr.collections.AST subj)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

item

public final void item()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

propValue

public final void propValue(antlr.collections.AST subj)
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

verb

public final void verb()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

objectList

public final void objectList(antlr.collections.AST subj,
                             antlr.collections.AST prop)
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

verbReverse

public final void verbReverse()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subjectList

public final void subjectList(antlr.collections.AST oldSub,
                              antlr.collections.AST prop)
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

node

public final void node()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

testPoint

public final void testPoint()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anonnode

public final void anonnode(antlr.collections.AST label)
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literal

public final void literal()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

kwTHIS

public final void kwTHIS()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

variableDT

public final void variableDT()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

kwOF

public final void kwOF()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

kwHAS

public final void kwHAS()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

kwA

public final void kwA()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

kwIS

public final void kwIS()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

list

public final void list(antlr.collections.AST label)
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literalModifier

public final void literalModifier()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literalModifier1

public final void literalModifier1()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

datatype

public final void datatype()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

variableNoDT

public final void variableNoDT()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()