VariableDefinitionContext class

A single variable definition.

Inheritance
Mixed in types

Constructors

VariableDefinitionContext(VariableContext variable, Token? colonToken, TypeContext type, [DefaultValueContext? defaultValue])

Properties

COLON Token?
Use colonToken instead.
no setter
colonToken Token?
The source token.
final
defaultValue DefaultValueContext?
The default value of the variable.
final
directives List<DirectiveContext>
Any directives affixed to this field.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan
no setteroverride
type TypeContext
The type of the variable.
final
variable VariableContext
The declared variable.
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

Operators

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