ListSyntax class abstract
Base class for both ordered and unordered lists.
- Inheritance
-
- Object
- BlockSyntax
- ListSyntax
- Implementers
Constructors
- ListSyntax()
-
const
Properties
- canEndBlock → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- listTag → String
-
no setter
- 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
Methods
-
canParse(
BlockParser parser) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
BlockParser parser) → Node -
override
-
parseChildLines(
BlockParser parser) → List< String?> -
inherited
-
removeLeadingEmptyLine(
ListItem item) → void -
removeTrailingEmptyLines(
List< ListItem> items) → bool - Removes any trailing empty lines and notes whether any items are separated by such lines.
-
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