Document class
Maintains the context needed to parse a Markdown document.
Constructors
-
Document({Iterable<
BlockSyntax> ? blockSynTaxes, Iterable<InlineSyntax> ? inlineSynTaxes, ExtensionSet? extensionSet, Resolver? linkResolver, Resolver? imageLinkResolver})
Properties
-
blockSynTaxes
→ Iterable<
BlockSyntax> -
no setter
- extensionSet → ExtensionSet
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageLinkResolver → Resolver?
-
final
-
inlineSynTaxes
→ Iterable<
InlineSyntax> -
no setter
-
linkReferences
→ Map<
String, LinkReference> -
final
- linkResolver → Resolver?
-
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
-
parseInline(
String text) → List< Node> ? -
Parses the given inline Markdown
text
to a series of AST nodes. -
parseLines(
List< String> lines) → List<Node> -
Parses the given
lines
of Markdown to a series of AST nodes. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited