Indent class
A stateful set of parsers to handled indentation based grammars.
- Annotations
-
- @experimental
Properties
- current ↔ String
-
Internal field of the currently active indentation.
getter/setter pair
-
decrease
↔ Parser<
String> -
A parser that decreases the current indentation and returns it, but does
not consume anything.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
increase
↔ Parser<
String> -
A parser that increases the current indentation and returns it, but does
not consume anything.
getter/setter pair
- message → String
-
The error message to use when an indention is expected.
final
-
parser
→ Parser<
String> -
The parser used read a single indentation step.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
same
↔ Parser<
String> -
A parser that consumes and returns the current indent.
getter/setter pair
-
stack
→ List<
String> -
Internal field with the stack of indentations.
final
Methods
-
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