|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ISymbol | |
|---|---|
| org.norecess.citkit | |
| org.norecess.citkit.environment | This package provides classes to support an environment in an interpreter or compiler. |
| org.norecess.citkit.symboltable | Classes that implement a symbol table. |
| org.norecess.citkit.tir.declarations | |
| org.norecess.citkit.tir.lvalues | |
| org.norecess.citkit.tir.types | |
| org.norecess.citkit.types | |
| Uses of ISymbol in org.norecess.citkit |
|---|
| Classes in org.norecess.citkit that implement ISymbol | |
|---|---|
class |
Symbol
Symbols are interned names for identifiers and other names in a program. |
| Uses of ISymbol in org.norecess.citkit.environment |
|---|
| Methods in org.norecess.citkit.environment that return ISymbol | |
|---|---|
ISymbol |
InvalidVariableException.getIdentifier()
|
| Methods in org.norecess.citkit.environment with parameters of type ISymbol | |
|---|---|
void |
IEnvironment.add(ISymbol variable,
T value)
Adds a new variable to the current environment. |
void |
Environment.add(ISymbol variable,
T value)
|
void |
NullEnvironment.add(ISymbol variable,
T value)
|
void |
IEnvironment.define(ISymbol variable,
T value)
Defines the variable in the top level environment. |
void |
Environment.define(ISymbol variable,
T value)
|
void |
NullEnvironment.define(ISymbol variable,
T value)
|
T |
IEnvironment.get(ISymbol variable)
Returns the value associated with the specified variable. |
T |
Environment.get(ISymbol variable)
|
T |
NullEnvironment.get(ISymbol variable)
|
T |
IEnvironment.set(ISymbol variable,
T value)
Changes the value associated with the specified variable. |
T |
Environment.set(ISymbol variable,
T value)
|
T |
NullEnvironment.set(ISymbol variable,
T value)
|
HobbesTIR |
NullEnvironment.setInCurrentScope(ISymbol variable,
T value)
|
| Constructors in org.norecess.citkit.environment with parameters of type ISymbol | |
|---|---|
InvalidVariableException(java.lang.String message,
ISymbol identifier)
|
|
| Constructor parameters in org.norecess.citkit.environment with type arguments of type ISymbol | |
|---|---|
Environment(java.util.Map<ISymbol,T> currentScope,
IEnvironment<T> previous)
|
|
| Uses of ISymbol in org.norecess.citkit.symboltable |
|---|
| Methods in org.norecess.citkit.symboltable with parameters of type ISymbol | |
|---|---|
A |
SymbolTable.get(ISymbol variable)
Returns the value associated with the specified variable. |
T |
EmptySymbolTable.get(ISymbol variable)
For this implementation, this method always returns null
since the variable is not found. |
A |
HashSymbolTable.get(ISymbol variable)
Returns the value associated with the specified variable. |
| Uses of ISymbol in org.norecess.citkit.tir.declarations |
|---|
| Methods in org.norecess.citkit.tir.declarations that return ISymbol | |
|---|---|
ISymbol |
VariableDTIR.getSymbol()
|
ISymbol |
IVariableDTIR.getSymbol()
Returns the symbol for the variable. |
| Constructors in org.norecess.citkit.tir.declarations with parameters of type ISymbol | |
|---|---|
VariableDTIR(IPosition position,
ISymbol symbol,
INameTTIR type,
ExpressionTIR initialization)
Constructs a variable declaration. |
|
VariableDTIR(ISymbol symbol,
ExpressionTIR initialization)
Constructs a variable declaration without a known type. |
|
VariableDTIR(ISymbol symbol,
INameTTIR type,
ExpressionTIR initialization)
Basic constructor. |
|
| Uses of ISymbol in org.norecess.citkit.tir.lvalues |
|---|
| Methods in org.norecess.citkit.tir.lvalues that return ISymbol | |
|---|---|
ISymbol |
SimpleLValueTIR.getName()
Returns the name of the variable. |
ISymbol |
ISimpleLValueTIR.getName()
Returns the name of the variable. |
ISymbol |
FieldTIR.getSymbol()
Returns the name of the field as a symbol. |
ISymbol |
IFieldTIR.getSymbol()
Returns the name of the field as a symbol. |
| Constructors in org.norecess.citkit.tir.lvalues with parameters of type ISymbol | |
|---|---|
SimpleLValueTIR(IPosition position,
ISymbol name)
Constructs a simple variable reference. |
|
SimpleLValueTIR(IPosition position,
ISymbol name,
HobbesType type)
Constructs a simple variable reference. |
|
SimpleLValueTIR(ISymbol name)
Basic constructor. |
|
SimpleLValueTIR(ISymbol name,
HobbesType type)
Basic constructor. |
|
| Uses of ISymbol in org.norecess.citkit.tir.types |
|---|
| Methods in org.norecess.citkit.tir.types that return ISymbol | |
|---|---|
ISymbol |
NameTTIR.getSymbol()
Returns the name of the type as a symbol. |
ISymbol |
INameTTIR.getSymbol()
Returns the name of the type as a symbol. |
| Uses of ISymbol in org.norecess.citkit.types |
|---|
| Methods in org.norecess.citkit.types that return ISymbol | |
|---|---|
ISymbol |
INameType.getSymbol()
|
ISymbol |
NameType.getSymbol()
|
| Methods in org.norecess.citkit.types with parameters of type ISymbol | |
|---|---|
HobbesType |
RecordType.get(ISymbol symbol)
|
HobbesType |
IRecordType.get(ISymbol symbol)
|
HobbesType |
RecordType.getTypeFromLexicalEnvironment(ISymbol symbol)
|
HobbesType |
IRecordType.getTypeFromLexicalEnvironment(ISymbol symbol)
|
| Constructors in org.norecess.citkit.types with parameters of type ISymbol | |
|---|---|
NameType(ISymbol symbol)
|
|
NameType(ISymbol symbol,
HobbesType binding)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||