treecalc.comp
Class SymbolImpl
java.lang.Object
treecalc.comp.SymbolImpl
- All Implemented Interfaces:
- Symbol
public class SymbolImpl
- extends java.lang.Object
- implements Symbol
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SymbolImpl
public SymbolImpl(java.lang.String name,
int symboltype,
int nargs)
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.