NamedArgument class final

A name: value argument inside CallArguments.

value is restricted to literals at parse time.

Inheritance

Constructors

NamedArgument(Identifier name, Literal value, {Span? span})
Pairs the argument name with its literal value.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name Identifier
The argument name.
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
value Literal
The argument value — literal-only per the Fluent EBNF.
final

Methods

clone() NamedArgument
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.
inherited

Operators

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