scope property
ReferenceScope
get
scope
The ReferenceScope, which contains available tables, column references and functions for this node.
Implementation
ReferenceScope get scope {
final resolved = optionalScope;
if (resolved != null) return resolved;
throw StateError('No reference scope found in this or any parent node');
}
set
scope
(ReferenceScope scope)
Applies a ReferenceScope to this node. Variables declared in scope
will be visible to this node and to allDescendants.
Implementation
set scope(ReferenceScope scope) {
setMeta<ReferenceScope>(scope);
}