LineParts class final

A line split into its head and parts, as the grammar says a line is.

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
final
parts → List<LinePart>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strings → Iterable<LinePart>
no setter
variant ↔ String
The line's first word, its .variants and its #id (each as written, with its mark, or empty).
getter/setter pair
word ↔ String
The line's first word, its .variants and its #id (each as written, with its mark, or empty).
getter/setter pair

Methods

has(String flag) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair(String key) → LinePart?
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

of(String text) → LineParts?
Null when text (one line, no indentation) does not start with a word.