IndentationRule class
Describes indentation rules for a language.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- IndentationRule({RegExp? decreaseIndentPattern, RegExp? increaseIndentPattern, RegExp? indentNextLinePattern, RegExp? unIndentedLinePattern})
-
factory
Properties
- decreaseIndentPattern ↔ RegExp
-
Available on IndentationRule, provided by the IndentationRule$Typings extension
If a line matches this pattern, then all the lines after it should be unindented once (until another rule matches).getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- increaseIndentPattern ↔ RegExp
-
Available on IndentationRule, provided by the IndentationRule$Typings extension
If a line matches this pattern, then all the lines after it should be indented once (until another rule matches).getter/setter pair - indentNextLinePattern ↔ RegExp?
-
Available on IndentationRule, provided by the IndentationRule$Typings extension
If a line matches this pattern, then only the next line after it should be indented once.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unIndentedLinePattern ↔ RegExp?
-
Available on IndentationRule, provided by the IndentationRule$Typings extension
If a line matches this pattern, then its indentation should not be changed and it should not be evaluated against the other rules.getter/setter pair
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