edu.umich.visualsoar.parser
Class Constant
java.lang.Object
|
+--edu.umich.visualsoar.parser.Constant
- public class Constant
- extends java.lang.Object
Constructor Summary |
private |
Constant()
|
|
Constant(float floatConst,
int beginLine)
|
|
Constant(int intConst,
int beginLine)
|
|
Constant(java.lang.String symConst,
int beginLine)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
d_beginLine
private int d_beginLine
d_constType
private int d_constType
d_intConst
private int d_intConst
d_floatConst
private float d_floatConst
d_symConst
private java.lang.String d_symConst
INTEGER_CONST
public static final int INTEGER_CONST
- See Also:
- Constant Field Values
SYMBOLIC_CONST
public static final int SYMBOLIC_CONST
- See Also:
- Constant Field Values
FLOATING_CONST
public static final int FLOATING_CONST
- See Also:
- Constant Field Values
Constant
private Constant()
Constant
public Constant(java.lang.String symConst,
int beginLine)
Constant
public Constant(int intConst,
int beginLine)
Constant
public Constant(float floatConst,
int beginLine)
getConstantType
public int getConstantType()
getBeginLine
public int getBeginLine()
getIntConst
public int getIntConst()
getFloatConst
public float getFloatConst()
getSymConst
public java.lang.String getSymConst()
toPair
public edu.umich.visualsoar.parser.Pair toPair()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object