Interpolation class final

An interpolated expression inside a string, such as ${…} or #{…}.

Braces inside the expression are balanced before close ends it. rules default to the grammar's top level.

Inheritance

Constructors

Interpolation(String open, String close, {List<Rule> rules = const [IncludeRule.self], String scope = Scopes.interpolation})
Creates an interpolation block.
const

Properties

close → String
Text that closes the expression.
final
hashCode → int
The hash code for this object.
no setterinherited
open → String
Text that opens the expression.
final
rules → List<Rule>
Rules inside the expression.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String
Scope of the expression.
final

Methods

expand() → List<Rule>
The basic rules this block stands for. Called once per block.
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