|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.nlp.Parsing.SymTabEntry marf.nlp.Parsing.VarSymTabEntry
public class VarSymTabEntry
Represents Variable SymTab Entry.
$Id: VarSymTabEntry.java,v 1.9 2007/12/18 21:37:56 mokhov Exp $
Field Summary | |
---|---|
protected int |
iDimension
Dimension of an array. |
protected int |
iKind
Variable kind. |
protected int |
iStructure
Structure. |
static int |
SCOPE_LOCAL
Normal (local) variable kind. |
static int |
SCOPE_MEMBER
Class member. |
static int |
SCOPE_PARAM
Parameter variable. |
static int |
TYPE_ARRAY
Array. |
static int |
TYPE_CLASS
Object. |
static int |
TYPE_SIMPLE
Simple (scalar, primitive type) variable. |
Fields inherited from class marf.nlp.Parsing.SymTabEntry |
---|
bDeclared, bMultilplyDefined, bReserved, CLASS, FUNCTION, iEntryType, iID, oDataType, oGenCodeLocations, oLocalSymTab, oLocationsList, oUID, strName, VARIABLE |
Constructor Summary | |
---|---|
VarSymTabEntry()
Default Constructor. |
Method Summary | |
---|---|
int |
getArrayDimension()
Allows getting the dimensionality of the array. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
void |
setArrayDimension(int piDimension)
Allows setting the dimensionality of the array. |
void |
setDataType(int piType)
Allows to set data type of the variable. |
Methods inherited from class marf.nlp.Parsing.SymTabEntry |
---|
addLocation, getDataType, getID, getLocalSymTab, getLocationsList, getUID, isDeclared, isMultiplyDefined, setDeclared, setID, setMultiplyDefined, setMultiplyDefined, setUID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int iKind
public static final int SCOPE_LOCAL
public static final int SCOPE_PARAM
public static final int SCOPE_MEMBER
protected int iStructure
public static final int TYPE_SIMPLE
public static final int TYPE_ARRAY
public static final int TYPE_CLASS
protected int iDimension
Constructor Detail |
---|
public VarSymTabEntry()
Method Detail |
---|
public int getArrayDimension()
public void setArrayDimension(int piDimension)
piDimension
- the new dimensionality valuepublic void setDataType(int piType)
piType
- the new typepublic static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |