AnalysisContext constructor

AnalysisContext(
  1. AstNode root,
  2. String sql,
  3. RootScope rootScope,
  4. EngineOptions engineOptions, {
  5. AnalyzeStatementOptions? stmtOptions,
  6. required SchemaFromCreateTable schemaSupport,
})

Constructs a new analysis context from the AST and the source sql.

Implementation

AnalysisContext(this.root, this.sql, this.rootScope, this.engineOptions,
    {AnalyzeStatementOptions? stmtOptions, required this.schemaSupport})
    : stmtOptions = stmtOptions ?? const AnalyzeStatementOptions();