rp1.planparser
Class RsToken
java.lang.Object
rp1.planparser.RsToken
public class RsToken
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TT_UNDETERMINED
public static final int TT_UNDETERMINED
- See Also:
- Constant Field Values
TT_IDENTIFIER
public static final int TT_IDENTIFIER
- See Also:
- Constant Field Values
TT_STRING
public static final int TT_STRING
- See Also:
- Constant Field Values
TT_DOUBLE
public static final int TT_DOUBLE
- See Also:
- Constant Field Values
TT_INTEGER
public static final int TT_INTEGER
- See Also:
- Constant Field Values
TT_CHARACTER
public static final int TT_CHARACTER
- See Also:
- Constant Field Values
TT_EOF
public static final int TT_EOF
- See Also:
- Constant Field Values
TT_COUNT
public static final int TT_COUNT
- See Also:
- Constant Field Values
RsToken
public RsToken()
getType
public int getType()
setType
public void setType(int typeSpecification)
getDoubleValue
public double getDoubleValue()
getIntegerValue
public int getIntegerValue()
setValue
public void setValue(int intSpecification)
setValue
public void setValue(double doubleSpecification)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDataTypeString
public java.lang.String getDataTypeString()
endOfFile
public boolean endOfFile()
getStringBuffer
public java.lang.StringBuffer getStringBuffer()
getString
public java.lang.String getString()
getChar
public char getChar()
setLineNumber
public void setLineNumber(int value)
getLineNumber
public int getLineNumber()
setFileName
public void setFileName(java.lang.String fileNameReference)
gripe
public RsParsingException gripe(java.lang.String string)
isOpenBrace
public boolean isOpenBrace()
isCloseBrace
public boolean isCloseBrace()
isSemiColon
public boolean isSemiColon()
isNumeric
public boolean isNumeric()
isIdentifier
public boolean isIdentifier()
isString
public boolean isString()