InlineHtmlSyntax class
Leave inline HTML tags alone, from CommonMark 0.30.
This is not actually a good definition (nor CommonMark's) of an HTML tag,
but it is fast. It will leave text like <a href='hi">
alone, which is
incorrect.
TODO(srawlins): improve accuracy while ensuring performance, once Markdown benchmarking is more mature.
- Inheritance
-
- Object
- InlineSyntax
- TextSyntax
- InlineHtmlSyntax
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pattern → RegExp
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- substitute → String
-
finalinherited
Methods
-
matches(
InlineParser parser, int startMatchPos) → Match? -
Test if this syntax matches the current source.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMatch(
InlineParser parser, Match match) → bool -
Adds a Text node to
parser
and returnstrue
if there is a substitute, as long as the preceding character (if any) is not a/
.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
tryMatch(
InlineParser parser, [int? startMatchPos]) → bool -
Tries to match at the parser's current position.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited