|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pdmfc.tea.runtime.SObjSymbol
public class SObjSymbol
Instances of this class represent a symbol in a Tea program. This class is also manages all the existing symbols in a Tea program.
| Method Summary | |
|---|---|
static SObjSymbol |
addSymbol(java.lang.String name)
Adds a new symbol to the symbol table and returns the associated object. |
java.lang.String |
getName()
Fetches the name of this symbol. |
static SObjSymbol |
getSymbol(java.lang.String name)
Finds the object associated with the symbol named name. |
int |
hashCode()
The hash code of this object. |
java.lang.String |
toString()
Retrieves a string representation for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic static SObjSymbol getSymbol(java.lang.String name)
name - The name of the symbol to search for.
public static SObjSymbol addSymbol(java.lang.String name)
name - String with the name of the symbol to be added to the symbol table.
|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||