fbench.translate
Class STtoJavaVal

java.lang.Object
  extended by fbench.translate.STtoJavaVal

public class STtoJavaVal
extends java.lang.Object

BYACC/J Semantic Value for parser: STtoJava 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
STtoJavaVal()
          Initialize me without a value
STtoJavaVal(double val)
          Initialize me as a double
STtoJavaVal(int val)
          Initialize me as an int
STtoJavaVal(java.lang.Object val)
          Initialize me as an Object
STtoJavaVal(java.lang.String val)
          Initialize me as a string
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, 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

STtoJavaVal

public STtoJavaVal()
Initialize me without a value


STtoJavaVal

public STtoJavaVal(int val)
Initialize me as an int


STtoJavaVal

public STtoJavaVal(double val)
Initialize me as a double


STtoJavaVal

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


STtoJavaVal

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