cz.cuni.amis.pogamut.shady
Class ShadyParser

Package class diagram package ShadyParser
java.lang.Object
  extended by cz.cuni.amis.pogamut.shady.ShadyParser
All Implemented Interfaces:
ShadyParserConstants

public class ShadyParser
extends Object
implements ShadyParserConstants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 ShadyParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
CHARACTER_LITERAL, DECIMAL_LITERAL, DEFAULT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, GE, GT, IDENTIFIER, LE, LETTER, LT, NE, PART_LETTER, STRING_LITERAL, tokenImage
 
Constructor Summary
ShadyParser(InputStream stream)
          Constructor with InputStream.
ShadyParser(InputStream stream, String encoding)
          Constructor with InputStream and supplied encoding
ShadyParser(Reader stream)
          Constructor.
ShadyParser(ShadyParserTokenManager tm)
          Constructor with generated Token Manager.
 
Method Summary
 IArgument arg()
           
 List<IArgument> args()
           
 NodeCall call()
           
 void disable_tracing()
          Disable tracing.
 NodeElement element()
           
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 String name()
           
 ShadeNode node()
           
 ShadeTree plan()
           
 IQuery priority()
           
 QueryCall queryCall()
           
 void ReInit(InputStream stream)
          Reinitialise.
 void ReInit(InputStream stream, String encoding)
          Reinitialise.
 void ReInit(Reader stream)
          Reinitialise.
 void ReInit(ShadyParserTokenManager tm)
          Reinitialise.
 IQuery trigger()
           
 IQuery value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public ShadyParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

ShadyParser

public ShadyParser(InputStream stream)
Constructor with InputStream.


ShadyParser

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


ShadyParser

public ShadyParser(Reader stream)
Constructor.


ShadyParser

public ShadyParser(ShadyParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

plan

public final ShadeTree plan()
                     throws ParseException
Throws:
ParseException

node

public final ShadeNode node()
                     throws ParseException
Throws:
ParseException

element

public final NodeElement element()
                          throws ParseException
Throws:
ParseException

priority

public final IQuery priority()
                      throws ParseException
Throws:
ParseException

trigger

public final IQuery trigger()
                     throws ParseException
Throws:
ParseException

value

public final IQuery value()
                   throws ParseException
Throws:
ParseException

queryCall

public final QueryCall queryCall()
                          throws ParseException
Throws:
ParseException

call

public final NodeCall call()
                    throws ParseException
Throws:
ParseException

args

public final List<IArgument> args()
                           throws ParseException
Throws:
ParseException

arg

public final IArgument arg()
                    throws ParseException
Throws:
ParseException

name

public final String name()
                  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(ShadyParserTokenManager 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.



Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.