ListSyntax class abstract

Base class for both ordered and unordered lists.

Inheritance
Implementers

Constructors

ListSyntax.new()
const

Properties

dashListClass String?
Returns the CSS class for dash style list, or null if no special class (default).
no setter
hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
Gets the regex used to identify the beginning of this block, if any.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
squareListClass String?
Returns the CSS class for square style list, or null if no special class (default).
no setter

Methods

canEndBlock(BlockParser parser) bool
override
canParse(BlockParser parser) bool
override
ignoreSyntaxAtFirstLine(BlockParser parser, BlockSyntax syntax) bool
Whether not to parse the first line of each list item for the given syntax.
interruptedBy(BlockParser parser) BlockSyntax?
Returns the block which interrupts current syntax parsing if there is one, otherwise returns null.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(BlockParser parser) Node
override
parseChildLines(BlockParser parser) List<Line?>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

blocksInList List<RegExp>
A list of patterns that can start a valid block within a list item.
final