An AST visitor that will recursively visit all of the nodes in an AST structure. For example, using an instance of this class to visit a BlockNode will also cause all of the statements in the block to be visited.
Subclasses that override a visit method must either invoke the overridden visit method or must explicitly ask the visited node to visit its children. Failure to do so will cause the children of the visited node to not be visited.
Clients may extend or implement this class.
- Implements
-
- AstVisitor<R>
Constructors
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited -
visitAutolink(
Autolink node) → R -
visitAutolinkEmail(
AutolinkEmail node) → R -
visitBaseCompositeInline(
BaseCompositeInline node) → R -
visitBlockquote(
Blockquote node) → R -
visitClassAttribute(
ClassAttribute node) → R -
visitCode(
Code node) → R -
visitCodeBlock(
CodeBlock node) → R -
visitDocument(
Document node) → R -
visitEmphasis(
Emphasis node) → R -
visitExtendedAttributes(
ExtendedAttributes node) → R -
visitHardLineBreak(
HardLineBreak node) → R -
visitHeading(
Heading node) → R -
visitHtmlRawBlock(
HtmlRawBlock node) → R -
visitHtmlRawInline(
HtmlRawInline node) → R -
visitIdentifierAttribute(
IdentifierAttribute node) → R -
visitInfoString(
InfoString node) → R -
visitInlineImage(
InlineImage node) → R -
visitInlineLink(
InlineLink node) → R -
visitKeyValueAttribute(
KeyValueAttribute node) → R -
visitLinkReference(
LinkReference node) → R -
visitListItem(
ListItem node) → R -
visitNonBreakableSpace(
NonBreakableSpace node) → R -
visitOrderedList(
OrderedList node) → R -
visitPara(
Para node) → R -
visitReference(
Reference node) → R -
visitReferenceImage(
ReferenceImage node) → R -
visitReferenceLink(
ReferenceLink node) → R -
visitSmartChar(
SmartChar node) → R -
visitSoftLineBreak(
SoftLineBreak node) → R -
visitSpace(
Space node) → R -
visitStr(
Str node) → R -
visitStrikeout(
Strikeout node) → R -
visitStrong(
Strong node) → R -
visitSubscript(
Subscript node) → R -
visitSuperscript(
Superscript node) → R -
visitTab(
Tab node) → R -
visitTable(
Table node) → R -
visitTableCell(
TableCell node) → R -
visitTableRow(
TableRow node) → R -
visitTarget(
Target node) → R -
visitTexMathDisplay(
TexMathDisplay node) → R -
visitTexMathInline(
TexMathInline node) → R -
visitTexRawBlock(
TexRawBlock node) → R -
visitThematicBreak(
ThematicBreak node) → R -
visitUnorderedList(
UnorderedList node) → R