ReferenceScope class abstract

A class managing which tables and columns are visible to which AST nodes.

Implementers

Constructors

ReferenceScope()

Properties

expansionOfStarColumn List<Column>?
The list of column to which a * would expand to.
no setter
hashCode int
The hash code for this object.
no setterinherited
resultSetAvailableToChildScopes Iterable<ResultSetAvailableInStatement>
All available result sets that can also be seen in child scopes.
no setter
rootScope RootScope
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAlias(AstNode origin, ResultSet resultSet, String alias, {bool canUseUnqualifiedColumns = true}) → void
Registers a ResultSetAvailableInStatement to a TableAlias for the given resultSet.
addResolvedResultSet(String? name, ResultSetAvailableInStatement resultSet) → void
Adds an added result set to this scope.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveResultSetForReference(String name) ResultSetAvailableInStatement?
Attempts to find a result set that has been added to this scope, for instance because it was introduced in a FROM clause.
resolveResultSetToAdd(String name) ResultSet?
Attempts to find a result set that can be added to a scope.
resolveUnqualifiedReference(String columnName, {bool allowReferenceToResultColumn = false}) List<Column>
Attempts to resolve an unqualified reference from a columnName.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited