marf.nlp.Parsing
Class FuncSymTabEntry

java.lang.Object
  |
  +--marf.nlp.Parsing.SymTabEntry
        |
        +--marf.nlp.Parsing.FuncSymTabEntry

public class FuncSymTabEntry
extends SymTabEntry

Function SymTab Entry. $Id: FuncSymTabEntry.java,v 1.6 2005/06/01 05:35:09 mokhov Exp $

Since:
0.3.0
Version:
$Revision: 1.6 $
Author:
Serguei Mokhov

Field Summary
protected  java.util.Vector Params
          Parameter List.
protected  marf.nlp.Parsing.SymDataType RetValType
          Return Value Type.
 
Fields inherited from class marf.nlp.Parsing.SymTabEntry
CLASS, DataType, Declared, EntryType, FUNCTION, GenCodeLocations, ID, LocalSymTab, LocationsList, MultilplyDefined, Name, Reserved, UID, VARIABLE
 
Constructor Summary
FuncSymTabEntry()
          Constructor.
 
Method Summary
 void addParam(marf.nlp.Parsing.VarSymTabEntry poParam)
          Add a new parameter.
 marf.nlp.Parsing.SymDataType getDataType()
          Cannot be anyther other than FUNCTION.
 java.util.Vector getParams()
           
 marf.nlp.Parsing.SymDataType getRetValDataType()
           
static java.lang.String getRevision()
          Returns source code revision information.
 void setRetValDataType(marf.nlp.Parsing.SymDataType poSymDataType)
           
 
Methods inherited from class marf.nlp.Parsing.SymTabEntry
addLocation, 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

RetValType

protected marf.nlp.Parsing.SymDataType RetValType
Return Value Type.


Params

protected java.util.Vector Params
Parameter List. Parameters are VarSymTabEntries

Constructor Detail

FuncSymTabEntry

public FuncSymTabEntry()
Constructor.

Method Detail

addParam

public void addParam(marf.nlp.Parsing.VarSymTabEntry poParam)
Add a new parameter.


getParams

public java.util.Vector getParams()

getDataType

public marf.nlp.Parsing.SymDataType getDataType()
Cannot be anyther other than FUNCTION.

Overrides:
getDataType in class SymTabEntry

setRetValDataType

public void setRetValDataType(marf.nlp.Parsing.SymDataType poSymDataType)

getRetValDataType

public marf.nlp.Parsing.SymDataType getRetValDataType()

getRevision

public static java.lang.String getRevision()
Returns source code revision information.

Returns:
revision string