com.taggercat.el
Class ExpCheck

java.lang.Object
  extended by com.taggercat.el.ExpCheck
All Implemented Interfaces:
ExpCheckConstants

public class ExpCheck
extends java.lang.Object
implements ExpCheckConstants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 ExpCheckTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.taggercat.el.ExpCheckConstants
AND, AND2, DEFAULT, DIGIT, DIVIDE, DOT, EOF, EQ, EQ2, EQ3, EXP, FALSE, FIELD, FLOAT_LITERAL, GE, GE2, GT, GT2, ID, IN, INTEGER_LITERAL, IS_NOT_NULL, IS_NULL, LBRACKET, LE, LE2, LETTER, LIKE, LPAREN, LT, LT2, MINUS, MULTIPLY, NE, NE2, NE3, NOT, NOT2, NOTIN, NOTLIKE, NULL, OR, OR2, PLUS, PROPERTY_SUFFIX, RBRACKET, REGEXP, RPAREN, STRING_LITERAL, tokenImage, TRUE
 
Constructor Summary
ExpCheck(ExpCheckTokenManager tm)
          Constructor with generated Token Manager.
ExpCheck(java.io.InputStream stream)
          Constructor with InputStream.
ExpCheck(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
ExpCheck(java.io.Reader stream)
          Constructor.
 
Method Summary
 void addSubtract(boolean checkFunctions)
           
 void disable_tracing()
          Disable tracing.
 void element(boolean checkFunctions)
           
 void enable_tracing()
          Enable tracing.
 void equality(boolean checkFunctions)
           
 void exponent(boolean checkFunctions)
           
 void expression(boolean checkFunctions)
           
 void functionCall(boolean checkFunctions)
           
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void indexedProperty(boolean checkFunctions)
           
 void logicalAnd(boolean checkFunctions)
           
 void logicalOr(boolean checkFunctions)
           
 void multiplyDivide(boolean checkFunctions)
           
 void negation(boolean checkFunctions)
           
 void ReInit(ExpCheckTokenManager tm)
          Reinitialise.
 void ReInit(java.io.InputStream stream)
          Reinitialise.
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
          Reinitialise.
 void ReInit(java.io.Reader stream)
          Reinitialise.
 void relational(boolean checkFunctions)
           
 void relationalTerm(boolean checkFunctions)
           
 void syntaxCheck(boolean checkFunctions)
           
static void syntaxCheck(java.lang.String expression, boolean checkFunctions)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public ExpCheckTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

ExpCheck

public ExpCheck(java.io.InputStream stream)
Constructor with InputStream.


ExpCheck

public ExpCheck(java.io.InputStream stream,
                java.lang.String encoding)
Constructor with InputStream and supplied encoding


ExpCheck

public ExpCheck(java.io.Reader stream)
Constructor.


ExpCheck

public ExpCheck(ExpCheckTokenManager tm)
Constructor with generated Token Manager.

Method Detail

syntaxCheck

public static void syntaxCheck(java.lang.String expression,
                               boolean checkFunctions)
                        throws ParseException
Throws:
ParseException

syntaxCheck

public final void syntaxCheck(boolean checkFunctions)
                       throws ParseException
Throws:
ParseException

expression

public final void expression(boolean checkFunctions)
                      throws ParseException
Throws:
ParseException

logicalOr

public final void logicalOr(boolean checkFunctions)
                     throws ParseException
Throws:
ParseException

logicalAnd

public final void logicalAnd(boolean checkFunctions)
                      throws ParseException
Throws:
ParseException

equality

public final void equality(boolean checkFunctions)
                    throws ParseException
Throws:
ParseException

relationalTerm

public final void relationalTerm(boolean checkFunctions)
                          throws ParseException
Throws:
ParseException

relational

public final void relational(boolean checkFunctions)
                      throws ParseException
Throws:
ParseException

addSubtract

public final void addSubtract(boolean checkFunctions)
                       throws ParseException
Throws:
ParseException

multiplyDivide

public final void multiplyDivide(boolean checkFunctions)
                          throws ParseException
Throws:
ParseException

exponent

public final void exponent(boolean checkFunctions)
                    throws ParseException
Throws:
ParseException

negation

public final void negation(boolean checkFunctions)
                    throws ParseException
Throws:
ParseException

element

public final void element(boolean checkFunctions)
                   throws ParseException
Throws:
ParseException

functionCall

public final void functionCall(boolean checkFunctions)
                        throws ParseException
Throws:
ParseException

indexedProperty

public final void indexedProperty(boolean checkFunctions)
                           throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)
Reinitialise.


ReInit

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


ReInit

public void ReInit(java.io.Reader stream)
Reinitialise.


ReInit

public void ReInit(ExpCheckTokenManager 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.