com.hp.hpl.jena.sparql.sse.lang.parser
Class SSE_ParserCore

java.lang.Object
  extended by com.hp.hpl.jena.sparql.lang.ParserBase
      extended by com.hp.hpl.jena.sparql.sse.lang.ParserSSEBase
          extended by com.hp.hpl.jena.sparql.sse.lang.parser.SSE_ParserCore
All Implemented Interfaces:
SSE_ParserCoreConstants

public class SSE_ParserCore
extends ParserSSEBase
implements SSE_ParserCoreConstants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 SSE_ParserCoreTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.hp.hpl.jena.sparql.sse.lang.parser.SSE_ParserCoreConstants
A2Z, A2ZN, AT, BLANK_NODE_LABEL, DATATYPE, DECIMAL, DEFAULT, DIGITS, DOUBLE, ECHAR, EOF, EXPONENT, INTEGER, IRIref, LANGTAG, LBRACE, LBRACKET, LPAREN, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, RPAREN, SINGLE_LINE_COMMENT1, SINGLE_LINE_COMMENT2, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, SYM, SYM_ESC, SYM1, SYMBOL, tokenImage, UNKNOWN, VAR_NAMED, VAR_OTHER, VARNAME, WS
 
Constructor Summary
SSE_ParserCore(InputStream stream)
          Constructor with InputStream.
SSE_ParserCore(InputStream stream, String encoding)
          Constructor with InputStream and supplied encoding
SSE_ParserCore(Reader stream)
          Constructor.
SSE_ParserCore(SSE_ParserCoreTokenManager tm)
          Constructor with generated Token Manager.
 
Method Summary
 void BareList()
           
 void BlankNode()
           
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void IRIref()
           
 void List()
           
 void Literal()
           
 void NumericLiteral()
           
 void parse()
           
 void PrefixedName()
           
 void RDFLiteral()
           
 void ReInit(InputStream stream)
          Reinitialise.
 void ReInit(InputStream stream, String encoding)
          Reinitialise.
 void ReInit(Reader stream)
          Reinitialise.
 void ReInit(SSE_ParserCoreTokenManager tm)
          Reinitialise.
 void Symbol()
           
 void term()
           
 void Term()
           
 void TermOrList()
           
 void Var()
           
 
Methods inherited from class com.hp.hpl.jena.sparql.sse.lang.ParserSSEBase
setHandler, throwParseException
 
Methods inherited from class com.hp.hpl.jena.sparql.lang.ParserBase
getPrologue, hex, setPrologue, stripChars, unescape, unescapePName, unescapeStr, unescapeStr
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public SSE_ParserCoreTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

SSE_ParserCore

public SSE_ParserCore(InputStream stream)
Constructor with InputStream.


SSE_ParserCore

public SSE_ParserCore(InputStream stream,
                      String encoding)
Constructor with InputStream and supplied encoding


SSE_ParserCore

public SSE_ParserCore(Reader stream)
Constructor.


SSE_ParserCore

public SSE_ParserCore(SSE_ParserCoreTokenManager tm)
Constructor with generated Token Manager.

Method Detail

parse

public final void parse()
                 throws ParseException
Throws:
ParseException

term

public final void term()
                throws ParseException
Throws:
ParseException

TermOrList

public final void TermOrList()
                      throws ParseException
Throws:
ParseException

List

public final void List()
                throws ParseException
Throws:
ParseException

BareList

public final void BareList()
                    throws ParseException
Throws:
ParseException

Term

public final void Term()
                throws ParseException
Throws:
ParseException

Symbol

public final void Symbol()
                  throws ParseException
Throws:
ParseException

IRIref

public final void IRIref()
                  throws ParseException
Throws:
ParseException

PrefixedName

public final void PrefixedName()
                        throws ParseException
Throws:
ParseException

Var

public final void Var()
               throws ParseException
Throws:
ParseException

Literal

public final void Literal()
                   throws ParseException
Throws:
ParseException

BlankNode

public final void BlankNode()
                     throws ParseException
Throws:
ParseException

RDFLiteral

public final void RDFLiteral()
                      throws ParseException
Throws:
ParseException

NumericLiteral

public final void NumericLiteral()
                          throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)
Reinitialise.


ReInit

public void ReInit(InputStream stream,
                   String encoding)
Reinitialise.


ReInit

public void ReInit(Reader stream)
Reinitialise.


ReInit

public void ReInit(SSE_ParserCoreTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Licenced under the Apache License, Version 2.0