public class PostgresqlBoundIRBuilder extends Object implements IBoundIRBuilder
IBoundIRBuilder.
Orchestrates three internal phases:
PostgresqlSymbolCollector (visitor) to extract
routines, variables, table refs, and call refsPostgresqlRoutineRefResolver with search_path
to match refs to symbols| Constructor and Description |
|---|
PostgresqlBoundIRBuilder() |
PostgresqlBoundIRBuilder(List<String> searchPath) |
| Modifier and Type | Method and Description |
|---|---|
BoundProgram |
build(TStatementList stmts,
AnalyzerV2Config config)
Builds the Bound IR from the given AST statements.
|
BoundProgram |
build(TStatementList stmts,
AnalyzerV2Config config,
String fileId) |
public PostgresqlBoundIRBuilder()
public PostgresqlBoundIRBuilder(List<String> searchPath)
public BoundProgram build(TStatementList stmts, AnalyzerV2Config config)
IBoundIRBuilderbuild in interface IBoundIRBuilderstmts - parsed SQL statementsconfig - analyzer configurationpublic BoundProgram build(TStatementList stmts, AnalyzerV2Config config, String fileId)