public interface _Private_LocalSymbolTableFactory
LocalSymbolTableAsStruct is ever deleted, this can go away
too.| Modifier and Type | Method and Description |
|---|---|
SymbolTable |
newLocalSymtab(IonCatalog catalog,
IonReader reader,
boolean alreadyInStruct)
Constructs a new local symbol table represented by the current value of
the passed in
IonReader. |
SymbolTable |
newLocalSymtab(SymbolTable defaultSystemSymtab,
SymbolTable... imports)
Constructs a new local symtab with given imports and local symbols.
|
SymbolTable newLocalSymtab(IonCatalog catalog, IonReader reader, boolean alreadyInStruct)
IonReader.
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 IonType
and annotation, callers are responsible for checking this!
catalog - the catalog containing shared symtabs referenced by import
declarations within the local symtabreader - the reader positioned on the local symbol table represented as
a structalreadyInStruct - denotes whether the reader is already positioned on the struct;
false if it is positioned before the structSymbolTable newLocalSymtab(SymbolTable defaultSystemSymtab, SymbolTable... imports)
defaultSystemSymtab - the default system symtab, which will be used if the first
import in imports isn't a system symtab, never nullimports - the set of shared symbol tables to import; the first (and only
the first) may be a system table, in which case the
defaultSystemSymtab is ignoredjava.lang.IllegalArgumentException - if any import is a local table, or if any but the first is a
system tablejava.lang.NullPointerException - if any import is null