|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmarf.nlp.Parsing.SymDataType
public class SymDataType
User-defined symbol's data type.
$Id: SymDataType.java,v 1.11 2008/01/03 03:21:57 mokhov Exp $
Field Summary | |
---|---|
static int |
CLASS
Class data type of the symbol. |
static int |
FUNCTION
Function data type of the symbol. |
static int |
INTEGER
Integer data type of the symbol. |
private int |
iType
Current type. |
static int |
REAL
Real data type of the symbol. |
static int |
UNKNOWN
Unknown data type of the symbol. |
Constructor Summary | |
---|---|
SymDataType()
Default Constructor. |
|
SymDataType(int piType)
Constructor with the type parameter. |
Method Summary | |
---|---|
static java.lang.String |
getMARFSourceCodeRevision()
Retrieves class' revision. |
int |
getType()
Allows querying for data type. |
void |
setType(int piType)
Allows setting the date type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNKNOWN
public static final int INTEGER
public static final int REAL
public static final int CLASS
public static final int FUNCTION
private int iType
UNKNOWN
Constructor Detail |
---|
public SymDataType()
public SymDataType(int piType)
piType
- the desired data type to set
java.lang.IllegalArgumentException
- if the parameter is out of rangeMethod Detail |
---|
public int getType()
public void setType(int piType)
piType
- the desired type
java.lang.IllegalArgumentException
- if the parameter is out of rangepublic static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |