| Package | Description |
|---|---|
| gudusoft.gsqlparser.dlineage.dataflow.model | |
| gudusoft.gsqlparser.dlineage.symbol |
| Modifier and Type | Method and Description |
|---|---|
void |
ModelBindingManager.bindLocalSymbol(LocalSymbolKey key,
Table symbol)
Indexes a local symbol by its key without listing it again (an alias of a model already listed).
|
Table |
ModelBindingManager.getLocalSymbol(LocalSymbolKey key)
The local symbol under a typed key, or null.
|
Table |
ModelBindingManager.lookupVisibleLocalSymbol(LocalSymbolKey key,
TCustomSqlStatement stmt)
The local symbol a reference in
stmt sees under key's name: the first scope of the statement's
lexical chain (routine, enclosing routines, package) that declares it; at top level, the top-level one. |
Table |
ModelBindingManager.lookupVisibleLocalSymbol(LocalSymbolKey key,
TCustomSqlStatement stmt,
boolean topLevel)
As
ModelBindingManager.lookupVisibleLocalSymbol(gudusoft.gsqlparser.dlineage.symbol.LocalSymbolKey, TCustomSqlStatement);
with topLevel, a declaration at top level is visible from inside a routine too (a declared type). |
void |
ModelBindingManager.publishLocalSymbol(LocalSymbolKey key,
Table symbol)
Binds a local symbol by its key and lists it among the analysis's tables at this point (getTablesByName, and so
the output order), as every binding of a variable, cursor or correlation name has been listed.
|
| Modifier and Type | Method and Description |
|---|---|
LocalSymbolKey |
LocalSymbolKey.asCorrelation()
The same written name and scope, keyed as a trigger correlation name (under that namespace's rules).
|
LocalSymbolKey |
LocalSymbolKey.inScope(Object otherScope)
The same name in another scope (a lookup walking a lexical chain).
|
static LocalSymbolKey |
LocalSymbolKey.of(Object scope,
String name,
LocalSymbolKey.Kind kind)
The key of
name, a single identifier as written (a leading : already removed), declared in
scope; null only for an empty name. |
static LocalSymbolKey |
LocalSymbolKey.of(Object scope,
String name,
LocalSymbolKey.Kind kind,
IdentifierService service) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LocalSymbolRegistry.contains(LocalSymbolKey key) |
Table |
LocalSymbolRegistry.get(LocalSymbolKey key) |
void |
LocalSymbolRegistry.put(LocalSymbolKey key,
Table symbol) |