ListExpression class final

A list literal.

Implemented types
Available extensions

Constructors

ListExpression(Iterable<Expression> contents, ListSeparator separator, FileSpan span, {bool brackets = false})

Properties

contents List<Expression>
The elements of this list.
final
hasBrackets bool
Whether the list has square brackets or not.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator ListSeparator
Which separator this list uses.
final
span → FileSpan
The source span associated with the node.
final

Methods

accept<T>(ExpressionVisitor<T> visitor) → T
Calls the appropriate visit method on visitor.
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