MarkdownStructure class final
Source structure shared by speech, paragraph splitting and attachment scans. Uses the renderer's block parser, including open streaming containers, so consumers do not maintain a second fence, math or details grammar.
Constructors
- MarkdownStructure(String source, {ParserOptions options = const ParserOptions()})
-
factory
Properties
-
codeBlocks
→ List<
CodeBlockNode> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lines
→ Iterable<
({bool code, SourceLine line})> -
Code includes opening and closing fence lines. Line endings retain their
original UTF-16 coordinates, including CRLF and LLM Unicode separators.
no setter
- options → ParserOptions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
protects(
int offset) → bool - True inside a block whose internal blank lines must stay together.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited