TagSyntax class

Matches syntax that has a pair of tags and becomes an element, like * for <em>. Allows nested tags.

Inheritance
Implementers

Constructors

TagSyntax(String pattern, {String? end, bool requiresDelimiterRun = false})

Properties

endPattern RegExp
final
hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
finalinherited
requiresDelimiterRun bool
Whether this is parsed according to the same nesting rules as emphasis delimiters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMatch(InlineParser parser, Match match) bool
Processes match, adding nodes to parser and possibly advancing parser.
override
onMatchEnd(InlineParser parser, Match match, TagState state) bool
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