|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Symbol | |
---|---|
org.norecess.citkit | |
org.norecess.citkit.symboltable | Classes that implement a symbol table. |
org.norecess.citkit.types |
Uses of Symbol in org.norecess.citkit |
---|
Methods in org.norecess.citkit that return Symbol | |
---|---|
static Symbol |
Symbol.createSymbol(java.lang.String name)
Use this static method to create symbols instead of a constructor. |
Uses of Symbol in org.norecess.citkit.symboltable |
---|
Methods in org.norecess.citkit.symboltable that return types with arguments of type Symbol | |
---|---|
java.util.Set<Symbol> |
SymbolTable.getSymbols()
Returns all of symbols from the current scope. |
java.util.Set<Symbol> |
EmptySymbolTable.getSymbols()
Returns an empty list of symbols since there are no symbols in an empty symbol table. |
java.util.Set<Symbol> |
HashSymbolTable.getSymbols()
Returns the symbols in the current scope. |
Methods in org.norecess.citkit.symboltable with parameters of type Symbol | |
---|---|
void |
SymbolTable.add(Symbol variable,
A value)
Adds a new variable to the current symbol table. |
void |
HashSymbolTable.add(Symbol variable,
A value)
|
void |
EmptySymbolTable.add(Symbol variable,
T value)
Always throws an exception. |
A |
SymbolTable.set(Symbol variable,
A value)
Changes the value associated with the specified variable. |
A |
HashSymbolTable.set(Symbol variable,
A value)
Changes the value associated with the specified variable. |
T |
EmptySymbolTable.set(Symbol variable,
T value)
Based on previous implementations, this method returns null . |
A |
HashSymbolTable.setInCurrentScope(Symbol variable,
A value)
Changes the value associated with the specified variable only in the current scope. |
Uses of Symbol in org.norecess.citkit.types |
---|
Methods in org.norecess.citkit.types that return types with arguments of type Symbol | |
---|---|
java.util.Set<Symbol> |
RecordType.getFields()
|
java.util.Set<Symbol> |
IRecordType.getFields()
|
Constructor parameters in org.norecess.citkit.types with type arguments of type Symbol | |
---|---|
RecordType(java.util.Map<Symbol,HobbesType> fields)
Deprecated. Use RecordType.RecordType(Map, SymbolTable) instead. |
|
RecordType(java.util.Map<Symbol,HobbesType> fields,
SymbolTable<HobbesType> environment)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |