Deprecated
Should not be used in new code without data demonstrating its
benefits. Instead, use LocalSymbolTable.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SymbolTableStructCache |
| Access | Constructor and Description |
|---|---|
| private | LocalSymbolTableAsStruct(LocalSymbolTableImports
never null imports, List<String> may be null or empty symbolsList, IonStruct image)
|
| Modifier and Type | Method and Description |
|---|---|
| public IonStruct | getIonRepresentation(ValueFactory
the factory)ValueFactory from which to construct the IonStruct.Implements com. Provides an IonStruct representation of the SymbolTable. |
| pack-priv int | putSymbol(String symbolName)
Overrides com. NOT SYNCHRONIZED! |
| structCache | back to summary |
|---|---|
| private final SymbolTableStructCache structCache | |
| LocalSymbolTableAsStruct | back to summary |
|---|---|
private LocalSymbolTableAsStruct(LocalSymbolTableImports imports, List<String> symbolsList, IonStruct image)
| |
| getIonRepresentation | back to summary |
|---|---|
| public IonStruct getIonRepresentation(ValueFactory factory) Implements com. Doc from com. Provides an IonStruct representation of the SymbolTable.
| |
| putSymbol | back to summary |
|---|---|
| pack-priv int putSymbol(String symbolName) Overrides com. Doc from com. NOT SYNCHRONIZED! Call within constructor or from synch'd method.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ValueFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SymbolTable | newLocalSymtab(IonCatalog
the catalog containing shared symtabs referenced by import
declarations within the local symtab catalog, IonReader the reader positioned on the local symbol table represented as
a struct reader, boolean denotes whether the reader is already positioned on the struct;
false if it is positioned before the struct alreadyInStruct)Implements com. Constructs a new local symbol table represented by the current value of
the passed in |
| public SymbolTable | newLocalSymtab(SymbolTable
the default system symtab, which will be used if the first
import in defaultSystemSymtab, SymbolTable... imports isn't a system symtab, never nullthe set of shared symbol tables to import; the first (and only
the first) may be a system table, in which case the
imports)defaultSystemSymtab is ignoredImplements com. Constructs a new local symtab with given imports and local symbols. |
| public SymbolTable | newLocalSymtab(IonCatalog
may be null catalog, IonStruct the struct represented the local symtab ionRep)Constructs a new local symbol table represented by the passed in
|
| imageFactory | back to summary |
|---|---|
| private final ValueFactory imageFactory | |
| Factory | back to summary |
|---|---|
public Factory(ValueFactory imageFactory)
| |
| newLocalSymtab | back to summary |
|---|---|
| public SymbolTable newLocalSymtab(IonCatalog catalog, IonReader reader, boolean alreadyInStruct) Implements com. Doc from com. Constructs a new local symbol table represented by the current value of
the passed in Note It is assumed that the passed in reader is positioned
properly on/before a value that represents a local symtab semantically.
That is, no exception-checks are made on the
| |
| newLocalSymtab | back to summary |
|---|---|
| public SymbolTable newLocalSymtab(SymbolTable defaultSystemSymtab, SymbolTable... imports) Implements com. Doc from com. Constructs a new local symtab with given imports and local symbols.
| |
| newLocalSymtab | back to summary |
|---|---|
| public SymbolTable newLocalSymtab(IonCatalog catalog, IonStruct ionRep) Constructs a new local symbol table represented by the passed in
| |