TermReference class final
A reference to a term: -name, -name.attr, or -name(arg, key: value).
- Inheritance
-
- Object
- FluentNode
- SyntaxNode
- Expression
- InlineExpression
- TermReference
Constructors
- TermReference(Identifier id, {Identifier? attribute, CallArguments? arguments, Span? span})
-
References the term
id(+ optionalattributeand callarguments).const
Properties
- arguments → CallArguments?
-
Call arguments; named ones become the term's variable scope.
final
- attribute → Identifier?
-
The referenced attribute, for
{ -term.attr }forms.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → Identifier
-
The referenced term's id without the leading
-.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → Span?
-
Source range this node covers; null when spans were off.
final
Methods
-
clone(
) → TermReference -
Deep clone of this node.
override
-
equals(
FluentNode other, {bool ignoreSpans = true}) → bool -
Structural equality.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited