An AST visitor that will recursively visit all of the nodes in an AST structure (like instances of the class RecursiveAstVisitor). In addition, when a node of a specific type is visited not only will the visit method for that specific type of node be invoked, but additional methods for the superclasses of that node will also be invoked. For example, using an instance of this class to visit a BaseCompositeInline will cause the method visitBaseCompositeInline to be invoked but will also cause the methods visitCompositeInline, visitInlineNode, visitNode to be subsequently invoked.

Subclasses that override a visit method must either invoke the overridden visit method or explicitly invoke the more general visit method. Failure to do so will cause the visit methods for superclasses of the node to not be invoked and will cause the children of the visited node to not be visited.

Clients may extend or implement this class.

Implements

Constructors

GeneralizingAstVisitor()

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
visitAttribute(Attribute node) → R

visitAttributes(Attributes node) → R

visitAutolinkEmail(AutolinkEmail node) → R

visitBaseCompositeInline(BaseCompositeInline node) → R

visitBlockNode(BlockNode node) → R

visitBlockquote(Blockquote node) → R

visitChar(Char node) → R

visitClassAttribute(ClassAttribute node) → R

visitCode(Code node) → R

visitCodeBlock(CodeBlock node) → R

visitCompositeInline(CompositeInline 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

visitImage(Image node) → R

visitInfoString(InfoString node) → R

visitInlineImage(InlineImage node) → R

visitInlineNode(InlineNode node) → R

visitKeyValueAttribute(KeyValueAttribute node) → R

visitLinkReference(LinkReference node) → R

visitListBlock(ListBlock node) → R

visitListItem(ListItem node) → R

visitNode(AstNode node) → R

visitNonBreakableSpace(NonBreakableSpace node) → R

visitOrderedList(OrderedList node) → R

visitPara(Para node) → R

visitRawBlock(RawBlock node) → R

visitRawInline(RawInline node) → R

visitReference(Reference node) → R

visitReferenceImage(ReferenceImage 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

visitTexMath(TexMath node) → R

visitTexMathDisplay(TexMathDisplay node) → R

visitTexMathInline(TexMathInline node) → R

visitTexRawBlock(TexRawBlock node) → R

visitTexRawInline(TexRawInline node) → R

visitThematicBreak(ThematicBreak node) → R

visitUnorderedList(UnorderedList node) → R

visitWhitespace(Whitespace node) → R