DocumentLine class final
One line of a TokenizedDocument.
Properties
- endState → StateStack
-
The tokenizer state after this line, which the next line starts
from.
final
- endsWithCr → bool
-
Whether raw ends with the
\rof a CRLF line break.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- raw → String
-
The line as it is in the document, including a trailing
\r.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startState → StateStack?
-
The tokenizer state before this line;
nullfor the first line.final - text → String
-
The line without a trailing
\r, as tokenized.final -
tokens
→ List<
Token> -
The tokens of text.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
themed(
SyntaxTheme theme) → List< ThemedToken> -
tokens styled by
theme, cached for the last theme used. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited