com.japisoft.formula
Class FormulaParserVal

java.lang.Object
  extended bycom.japisoft.formula.FormulaParserVal

public class FormulaParserVal
extends java.lang.Object

BYACC/J Semantic Value for parser: FormulaParser This class provides some of the functionality of the yacc/C 'union' directive


Field Summary
 double dval
          double value of this 'union'
 int ival
          integer value of this 'union'
 java.lang.Object obj
          object value of this 'union'
 java.lang.String sval
          string value of this 'union'
 
Constructor Summary
FormulaParserVal()
          Initialize me without a value
FormulaParserVal(double val)
          Initialize me as a double
FormulaParserVal(int val)
          Initialize me as an int
FormulaParserVal(java.lang.Object val)
          Initialize me as an Object
FormulaParserVal(java.lang.String val)
          Initialize me as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ival

public int ival
integer value of this 'union'


dval

public double dval
double value of this 'union'


sval

public java.lang.String sval
string value of this 'union'


obj

public java.lang.Object obj
object value of this 'union'

Constructor Detail

FormulaParserVal

public FormulaParserVal()
Initialize me without a value


FormulaParserVal

public FormulaParserVal(int val)
Initialize me as an int


FormulaParserVal

public FormulaParserVal(double val)
Initialize me as a double


FormulaParserVal

public FormulaParserVal(java.lang.String val)
Initialize me as a string


FormulaParserVal

public FormulaParserVal(java.lang.Object val)
Initialize me as an Object