|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaitools.jiffle.parser.Symbol
public class Symbol
Represents a symbol in a Jiffle script. Used by SymbolScopeStack
during script compilation.
| Constructor Summary | |
|---|---|
Symbol(String name,
SymbolType type,
ScopeType scopeType)
Creates a new symbol. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getName()
Gets this symbol's name. |
ScopeType |
getScopeType()
Gets this symbol's scope type. |
SymbolType |
getType()
Gets this symbol's type. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Symbol(String name,
SymbolType type,
ScopeType scopeType)
name - name as used in the Jiffle scripttype - type of symbolscopeType - scope of symbol| Method Detail |
|---|
public String getName()
public SymbolType getType()
public ScopeType getScopeType()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||