LineResult class
Helper class to track nesting levels across lines for bracket highlighting
Constructors
- LineResult.new({required TextSpan span, required int parenthesesLevel, required int braceLevel, required int bracketLevel})
-
const
Properties
- braceLevel → int
-
Current nesting level for braces {}
final
- bracketLevel → int
-
Current nesting level for brackets []
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- parenthesesLevel → int
-
Current nesting level for parentheses ()
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → TextSpan
-
The formatted text span with syntax highlighting
final
Methods
-
copyWith(
{TextSpan? span, int? parenthesesLevel, int? braceLevel, int? bracketLevel}) → LineResult - Creates a copy of this LineResult with updated values
-
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.
override