MarkdownSyntaxRule class abstract
A synchronous extension to the default parser's block or inline grammar.
Matching rules run before built-in extraction, in descending priority. Ties follow registration order; the first successful match owns its range. Ordinary inline rules do not inspect literal code. For grammar outside these contexts, implement MarkdownParser instead.
Constructors
- MarkdownSyntaxRule()
-
const
Properties
- context → MarkdownSyntaxContext
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- overridesLiteralCode → bool
-
Opt in to intercepting a literal code context.
no setter
- priority → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
match(
MarkdownSyntaxRequest request) → MarkdownSyntaxMatch -
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