InlineSyntax class abstract
Represents one kind of Markdown tag that can be parsed.
Constructors
- InlineSyntax(String pattern, {int? startCharacter, bool caseSensitive = true})
-
Create a new InlineSyntax which matches text on
pattern
.
Properties
Methods
-
matches(
InlineParser parser, int startMatchPos) → Match? - Test if this syntax matches the current source.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMatch(
InlineParser parser, Match match) → bool -
Processes
match
, adding nodes toparser
and possibly advancingparser
. -
toString(
) → String -
A string representation of this object.
inherited
-
tryMatch(
InlineParser parser, [int? startMatchPos]) → bool - Tries to match at the parser's current position.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited