| Package | Description |
|---|---|
| xtc.type | |
| xtc.util |
| Constructor and Description |
|---|
CFactory(java.lang.String prefix,
SymbolTable.Scope scope)
Create a new C factory.
|
| Modifier and Type | Field and Description |
|---|---|
protected SymbolTable.Scope |
SymbolTable.current
The current scope.
|
protected SymbolTable.Scope |
SymbolTable.root
The root scope.
|
| Modifier and Type | Method and Description |
|---|---|
SymbolTable.Scope |
SymbolTable.current()
Get the current scope.
|
SymbolTable.Scope |
SymbolTable.Scope.getNested(java.lang.String name)
Get the nested scope with the specified unqualified name.
|
SymbolTable.Scope |
SymbolTable.Scope.getParent()
Get this scope's parent.
|
SymbolTable.Scope |
SymbolTable.getScope(java.lang.String name)
Get the scope with the specified qualified name.
|
SymbolTable.Scope |
SymbolTable.Scope.lookupBoundScope(java.lang.String symbol)
Get the scope named by the specified unqualified symbol, which
is nested in the scope defining the symbol.
|
SymbolTable.Scope |
SymbolTable.lookupScope(java.lang.String symbol)
Get the scope for the specified symbol.
|
SymbolTable.Scope |
SymbolTable.Scope.lookupScope(java.lang.String symbol)
Get the scope defining the specified unqualified symbol.
|
SymbolTable.Scope |
SymbolTable.root()
Get the root scope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SymbolTable.setScope(SymbolTable.Scope scope)
Set the current scope to the specified scope.
|
Copyright © 2014. All Rights Reserved.