treecalc.comp
Class SymbolImpl

java.lang.Object
  extended by treecalc.comp.SymbolImpl
All Implemented Interfaces:
Symbol

public class SymbolImpl
extends java.lang.Object
implements Symbol


Field Summary
 
Fields inherited from interface treecalc.comp.Symbol
SYMBOLTYPE_BULITIN, SYMBOLTYPE_FUNCTION, SYMBOLTYPE_INPUT, SYMBOLTYPE_INPUTRESULTDEF, SYMBOLTYPE_LOCALVAR, SYMBOLTYPE_NODERESULTDEF, SYMBOLTYPE_PARAMETER, SYMBOLTYPE_SPECIAL, SYMBOLTYPE_TABLE, SYMBOLTYPE_TABLECOLUMN, SYMBOLTYPE_TIMESINDEX
 
Constructor Summary
SymbolImpl(java.lang.String name, int symboltype, int nargs)
           
 
Method Summary
 int getId()
           
 int getNumArgs()
           
 Scope getScope()
           
 java.lang.String getSymbolName()
           
 int getSymboltype()
           
 void setId(int id)
           
 void setScope(Scope scope)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SymbolImpl

public SymbolImpl(java.lang.String name,
                  int symboltype,
                  int nargs)
Method Detail

getScope

public Scope getScope()
Specified by:
getScope in interface Symbol

setScope

public void setScope(Scope scope)
Specified by:
setScope in interface Symbol

getSymbolName

public java.lang.String getSymbolName()
Specified by:
getSymbolName in interface Symbol

getSymboltype

public int getSymboltype()
Specified by:
getSymboltype in interface Symbol

getNumArgs

public int getNumArgs()
Specified by:
getNumArgs in interface Symbol

setId

public void setId(int id)
Specified by:
setId in interface Symbol

getId

public int getId()
Specified by:
getId in interface Symbol

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All Rights Reserved.