org.jscience.ml.sbml.jep
Class Parser

java.lang.Object
  extended by org.jscience.ml.sbml.jep.Parser
All Implemented Interfaces:
ParserConstants, ParserTreeConstants

public class Parser
extends java.lang.Object
implements ParserTreeConstants, ParserConstants

DOCUMENT ME!


Field Summary
 Token jj_nt
          DOCUMENT ME!
protected  org.jscience.ml.sbml.jep.JJTParserState jjtree
          DOCUMENT ME!
 boolean lookingAhead
          DOCUMENT ME!
 Token token
          DOCUMENT ME!
 ParserTokenManager token_source
          DOCUMENT ME!
 
Fields inherited from interface org.jscience.ml.sbml.jep.ParserTreeConstants
JJTCONSTANT, JJTELSE, JJTELSEIFTHEN, JJTFUNNODE, JJTIFTHEN, jjtNodeName, JJTPIECEWISE, JJTSTART, JJTVARNODE, JJTVOID
 
Fields inherited from interface org.jscience.ml.sbml.jep.ParserConstants
AND, DECIMAL_LITERAL, DEFAULT, DIGIT, DIV, ELSE, ELSEIF, EOF, EQ, ESC, ESCAP, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GE, GT, IDENTIFIER, IF, INTEGER_LITERAL, LE, LETTER, LT, MINUS, MUL, NE, NOT, OR, PLUS, POWER, THEN, tokenImage, TRUE, XOR
 
Constructor Summary
Parser(java.io.InputStream stream)
          Creates a new Parser object.
Parser(ParserTokenManager tm)
          Creates a new Parser object.
Parser(java.io.Reader stream)
          Creates a new Parser object.
 
Method Summary
 void AdditiveExpression()
          DOCUMENT ME!
 void AnyConstant()
          DOCUMENT ME!
 void ArgumentList(int reqArguments, java.lang.String functionName)
          DOCUMENT ME!
 void Condition()
          DOCUMENT ME!
 void ConnectiveCondition()
          DOCUMENT ME!
 void disable_tracing()
          DOCUMENT ME!
 void enable_tracing()
          DOCUMENT ME!
 void Expression()
          DOCUMENT ME!
 void Function()
          DOCUMENT ME!
 ParseException generateParseException()
          DOCUMENT ME!
 Token getNextToken()
          DOCUMENT ME!
 Token getToken(int index)
          DOCUMENT ME!
 java.lang.String Identifier()
          DOCUMENT ME!
 void MultiplicativeExpression()
          DOCUMENT ME!
 void NotConnectiveCondition()
          DOCUMENT ME!
 Node parseStream(java.io.Reader stream, JEP jep_in)
          DOCUMENT ME!
 void Piecewise()
          DOCUMENT ME!
 void PowerExpression()
          DOCUMENT ME!
 java.lang.Object RealConstant()
          DOCUMENT ME!
 void ReInit(java.io.InputStream stream)
          DOCUMENT ME!
 void ReInit(ParserTokenManager tm)
          DOCUMENT ME!
 void ReInit(java.io.Reader stream)
          DOCUMENT ME!
 ASTStart Start()
          GRAMMAR START
 void UnaryExpression()
          DOCUMENT ME!
 void UnaryExpressionNotPlusMinus()
          DOCUMENT ME!
 void Variable()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lookingAhead

public boolean lookingAhead
DOCUMENT ME!


token_source

public ParserTokenManager token_source
DOCUMENT ME!


jj_nt

public Token jj_nt
DOCUMENT ME!


token

public Token token
DOCUMENT ME!


jjtree

protected org.jscience.ml.sbml.jep.JJTParserState jjtree
DOCUMENT ME!

Constructor Detail

Parser

public Parser(java.io.InputStream stream)
Creates a new Parser object.

Parameters:
stream - DOCUMENT ME!

Parser

public Parser(java.io.Reader stream)
Creates a new Parser object.

Parameters:
stream - DOCUMENT ME!

Parser

public Parser(ParserTokenManager tm)
Creates a new Parser object.

Parameters:
tm - DOCUMENT ME!
Method Detail

AdditiveExpression

public final void AdditiveExpression()
                              throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

AnyConstant

public final void AnyConstant()
                       throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

ArgumentList

public final void ArgumentList(int reqArguments,
                               java.lang.String functionName)
                        throws ParseException
DOCUMENT ME!

Parameters:
reqArguments - DOCUMENT ME!
functionName - DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!

Condition

public final void Condition()
                     throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

ConnectiveCondition

public final void ConnectiveCondition()
                               throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

Expression

public final void Expression()
                      throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

Function

public final void Function()
                    throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

Identifier

public final java.lang.String Identifier()
                                  throws ParseException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!
java.lang.Error - DOCUMENT ME!

MultiplicativeExpression

public final void MultiplicativeExpression()
                                    throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

NotConnectiveCondition

public final void NotConnectiveCondition()
                                  throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

Piecewise

public final void Piecewise()
                     throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

PowerExpression

public final void PowerExpression()
                           throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

RealConstant

public final java.lang.Object RealConstant()
                                    throws ParseException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!
java.lang.Error - DOCUMENT ME!

Start

public final ASTStart Start()
                     throws ParseException
GRAMMAR START

Returns:
DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!
java.lang.Error - DOCUMENT ME!

UnaryExpression

public final void UnaryExpression()
                           throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

UnaryExpressionNotPlusMinus

public final void UnaryExpressionNotPlusMinus()
                                       throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

Variable

public final void Variable()
                    throws ParseException
DOCUMENT ME!

Throws:
ParseException - DOCUMENT ME!

ReInit

public void ReInit(java.io.InputStream stream)
DOCUMENT ME!

Parameters:
stream - DOCUMENT ME!

ReInit

public void ReInit(java.io.Reader stream)
DOCUMENT ME!

Parameters:
stream - DOCUMENT ME!

ReInit

public void ReInit(ParserTokenManager tm)
DOCUMENT ME!

Parameters:
tm - DOCUMENT ME!

disable_tracing

public final void disable_tracing()
DOCUMENT ME!


enable_tracing

public final void enable_tracing()
DOCUMENT ME!


generateParseException

public final ParseException generateParseException()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getNextToken

public final Token getNextToken()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getToken

public final Token getToken(int index)
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!

parseStream

public Node parseStream(java.io.Reader stream,
                        JEP jep_in)
                 throws ParseException
DOCUMENT ME!

Parameters:
stream - DOCUMENT ME!
jep_in - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ParseException - DOCUMENT ME!