com.abr.calculator
Class ParserIndicators

java.lang.Object
  extended by com.abr.calculator.ParserIndicators

public class ParserIndicators
extends java.lang.Object

ParserIndicators - Stores information for a parser. This class is used to store info such as parentheses and operator offsets, for grouping purposes.


Constructor Summary
ParserIndicators()
           
 
Method Summary
 int getExpressionBegin()
           
 int getExpressionEnd()
           
 int getOperatorCount()
           
 int getOperatorOfs()
           
 long getOperatorPrecedence()
           
 java.lang.String getOperatorType()
           
 int getParenthesesCount()
           
 int getParenthesesCurCount()
           
 int getParenthesesOfs()
           
 void reset()
           
 void setExpressionBegin(int x)
           
 void setExpressionEnd(int x)
           
 void setOperatorCount(int x)
           
 void setOperatorOfs(int x)
           
 void setOperatorPrecedence(long x)
           
 void setOperatorType(java.lang.String x)
           
 void setParenthesesCount(int x)
           
 void setParenthesesCurCount(int x)
           
 void setParenthesesOfs(int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserIndicators

public ParserIndicators()
Method Detail

getParenthesesCurCount

public int getParenthesesCurCount()

getParenthesesCount

public int getParenthesesCount()

getParenthesesOfs

public int getParenthesesOfs()

getOperatorCount

public int getOperatorCount()

getOperatorType

public java.lang.String getOperatorType()

getOperatorPrecedence

public long getOperatorPrecedence()

getOperatorOfs

public int getOperatorOfs()

getExpressionBegin

public int getExpressionBegin()

getExpressionEnd

public int getExpressionEnd()

setParenthesesCurCount

public void setParenthesesCurCount(int x)

setParenthesesCount

public void setParenthesesCount(int x)

setParenthesesOfs

public void setParenthesesOfs(int x)

setOperatorCount

public void setOperatorCount(int x)

setOperatorType

public void setOperatorType(java.lang.String x)

setOperatorPrecedence

public void setOperatorPrecedence(long x)

setOperatorOfs

public void setOperatorOfs(int x)

setExpressionBegin

public void setExpressionBegin(int x)

setExpressionEnd

public void setExpressionEnd(int x)

reset

public void reset()