VariableAst class
A variable declaration on a
- Implemented types
Constructors
- VariableAst(String name, String? value, SourceSpan sourceSpan)
Properties
- dartType ↔ DartType?
-
Optional type for optimizing generated code if value references a local.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceSpan → SourceSpan
-
The source span from which this node was parsed.
final
- type → OutputType?
-
no setter
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visit<
R, C, CO extends C> (TemplateAstVisitor< R, C> visitor, CO context) → R -
Visit this node and possibly transform it.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- implicitValue → const String
- A variable's default value if unassigned or assigned an empty value.