Interface IReStructuredTextVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by ReStructuredTextParser.
Namespace: GCore.Antlr.Grammers.Restructuredtext
Assembly: Restructuredtext.dll
Syntax
public interface IReStructuredTextVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBackTickAtom(ReStructuredTextParser.BackTickAtomContext)
Visit a parse tree produced by backTickAtom().
Declaration
Result VisitBackTickAtom(ReStructuredTextParser.BackTickAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BackTickAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBackTickAtoms(ReStructuredTextParser.BackTickAtomsContext)
Visit a parse tree produced by backTickAtoms().
Declaration
Result VisitBackTickAtoms(ReStructuredTextParser.BackTickAtomsContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BackTickAtomsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBackTickNoSpace(ReStructuredTextParser.BackTickNoSpaceContext)
Visit a parse tree produced by backTickNoSpace().
Declaration
Result VisitBackTickNoSpace(ReStructuredTextParser.BackTickNoSpaceContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BackTickNoSpaceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBackTickText(ReStructuredTextParser.BackTickTextContext)
Visit a parse tree produced by backTickText().
Declaration
Result VisitBackTickText(ReStructuredTextParser.BackTickTextContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BackTickTextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBody(ReStructuredTextParser.BodyContext)
Visit a parse tree produced by body().
Declaration
Result VisitBody(ReStructuredTextParser.BodyContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BodyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBullet(ReStructuredTextParser.BulletContext)
Visit a parse tree produced by bullet().
Declaration
Result VisitBullet(ReStructuredTextParser.BulletContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BulletContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBulletCrossLine(ReStructuredTextParser.BulletCrossLineContext)
Visit a parse tree produced by bulletCrossLine().
Declaration
Result VisitBulletCrossLine(ReStructuredTextParser.BulletCrossLineContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BulletCrossLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBulletSimple(ReStructuredTextParser.BulletSimpleContext)
Visit a parse tree produced by bulletSimple().
Declaration
Result VisitBulletSimple(ReStructuredTextParser.BulletSimpleContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.BulletSimpleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComment(ReStructuredTextParser.CommentContext)
Visit a parse tree produced by comment().
Declaration
Result VisitComment(ReStructuredTextParser.CommentContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentLine(ReStructuredTextParser.CommentLineContext)
Visit a parse tree produced by commentLine().
Declaration
Result VisitCommentLine(ReStructuredTextParser.CommentLineContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentLineAtoms(ReStructuredTextParser.CommentLineAtomsContext)
Visit a parse tree produced by commentLineAtoms().
Declaration
Result VisitCommentLineAtoms(ReStructuredTextParser.CommentLineAtomsContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentLineAtomsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentLineNoBreak(ReStructuredTextParser.CommentLineNoBreakContext)
Visit a parse tree produced by commentLineNoBreak().
Declaration
Result VisitCommentLineNoBreak(ReStructuredTextParser.CommentLineNoBreakContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentLineNoBreakContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentParagraph(ReStructuredTextParser.CommentParagraphContext)
Visit a parse tree produced by commentParagraph().
Declaration
Result VisitCommentParagraph(ReStructuredTextParser.CommentParagraphContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentParagraphContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentParagraphs(ReStructuredTextParser.CommentParagraphsContext)
Visit a parse tree produced by commentParagraphs().
Declaration
Result VisitCommentParagraphs(ReStructuredTextParser.CommentParagraphsContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentParagraphsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentRest(ReStructuredTextParser.CommentRestContext)
Visit a parse tree produced by commentRest().
Declaration
Result VisitCommentRest(ReStructuredTextParser.CommentRestContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.CommentRestContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElement(ReStructuredTextParser.ElementContext)
Visit a parse tree produced by element().
Declaration
Result VisitElement(ReStructuredTextParser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEmpty_line(ReStructuredTextParser.Empty_lineContext)
Visit a parse tree produced by empty_line().
Declaration
Result VisitEmpty_line(ReStructuredTextParser.Empty_lineContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.Empty_lineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitForcedText(ReStructuredTextParser.ForcedTextContext)
Visit a parse tree produced by forcedText().
Declaration
Result VisitForcedText(ReStructuredTextParser.ForcedTextContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ForcedTextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHyperlink(ReStructuredTextParser.HyperlinkContext)
Visit a parse tree produced by hyperlink().
Declaration
Result VisitHyperlink(ReStructuredTextParser.HyperlinkContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.HyperlinkContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHyperlinkAtom(ReStructuredTextParser.HyperlinkAtomContext)
Visit a parse tree produced by hyperlinkAtom().
Declaration
Result VisitHyperlinkAtom(ReStructuredTextParser.HyperlinkAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.HyperlinkAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHyperlinkDoc(ReStructuredTextParser.HyperlinkDocContext)
Visit a parse tree produced by hyperlinkDoc().
Declaration
Result VisitHyperlinkDoc(ReStructuredTextParser.HyperlinkDocContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.HyperlinkDocContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHyperlinkTarget(ReStructuredTextParser.HyperlinkTargetContext)
Visit a parse tree produced by hyperlinkTarget().
Declaration
Result VisitHyperlinkTarget(ReStructuredTextParser.HyperlinkTargetContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.HyperlinkTargetContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIndentation(ReStructuredTextParser.IndentationContext)
Visit a parse tree produced by indentation().
Declaration
Result VisitIndentation(ReStructuredTextParser.IndentationContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.IndentationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineBlock(ReStructuredTextParser.LineBlockContext)
Visit a parse tree produced by lineBlock().
Declaration
Result VisitLineBlock(ReStructuredTextParser.LineBlockContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineBlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineBlockLine(ReStructuredTextParser.LineBlockLineContext)
Visit a parse tree produced by lineBlockLine().
Declaration
Result VisitLineBlockLine(ReStructuredTextParser.LineBlockLineContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineBlockLineContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineNoBreak(ReStructuredTextParser.LineNoBreakContext)
Visit a parse tree produced by lineNoBreak().
Declaration
Result VisitLineNoBreak(ReStructuredTextParser.LineNoBreakContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineNoBreakContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineNormal(ReStructuredTextParser.LineNormalContext)
Visit a parse tree produced by lineNormal().
Declaration
Result VisitLineNormal(ReStructuredTextParser.LineNormalContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineNormalContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLines(ReStructuredTextParser.LinesContext)
Visit a parse tree produced by lines().
Declaration
Result VisitLines(ReStructuredTextParser.LinesContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LinesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLinesNormal(ReStructuredTextParser.LinesNormalContext)
Visit a parse tree produced by linesNormal().
Declaration
Result VisitLinesNormal(ReStructuredTextParser.LinesNormalContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LinesNormalContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineSpecial(ReStructuredTextParser.LineSpecialContext)
Visit a parse tree produced by lineSpecial().
Declaration
Result VisitLineSpecial(ReStructuredTextParser.LineSpecialContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineSpecialContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLinesStar(ReStructuredTextParser.LinesStarContext)
Visit a parse tree produced by linesStar().
Declaration
Result VisitLinesStar(ReStructuredTextParser.LinesStarContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LinesStarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineStar(ReStructuredTextParser.LineStarContext)
Visit a parse tree produced by lineStar().
Declaration
Result VisitLineStar(ReStructuredTextParser.LineStarContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineStarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLineStart_fragment(ReStructuredTextParser.LineStart_fragmentContext)
Visit a parse tree produced by lineStart_fragment().
Declaration
Result VisitLineStart_fragment(ReStructuredTextParser.LineStart_fragmentContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.LineStart_fragmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitListItemBullet(ReStructuredTextParser.ListItemBulletContext)
Visit a parse tree produced by listItemBullet().
Declaration
Result VisitListItemBullet(ReStructuredTextParser.ListItemBulletContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ListItemBulletContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitListItemEnumerated(ReStructuredTextParser.ListItemEnumeratedContext)
Visit a parse tree produced by listItemEnumerated().
Declaration
Result VisitListItemEnumerated(ReStructuredTextParser.ListItemEnumeratedContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ListItemEnumeratedContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParagraph(ReStructuredTextParser.ParagraphContext)
Visit a parse tree produced by paragraph().
Declaration
Result VisitParagraph(ReStructuredTextParser.ParagraphContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ParagraphContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParagraphNoBreak(ReStructuredTextParser.ParagraphNoBreakContext)
Visit a parse tree produced by paragraphNoBreak().
Declaration
Result VisitParagraphNoBreak(ReStructuredTextParser.ParagraphNoBreakContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ParagraphNoBreakContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParse(ReStructuredTextParser.ParseContext)
Visit a parse tree produced by parse().
Declaration
Result VisitParse(ReStructuredTextParser.ParseContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ParseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuotedLiteral(ReStructuredTextParser.QuotedLiteralContext)
Visit a parse tree produced by quotedLiteral().
Declaration
Result VisitQuotedLiteral(ReStructuredTextParser.QuotedLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.QuotedLiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReference(ReStructuredTextParser.ReferenceContext)
Visit a parse tree produced by reference().
Declaration
Result VisitReference(ReStructuredTextParser.ReferenceContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ReferenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReferenceIn(ReStructuredTextParser.ReferenceInContext)
Visit a parse tree produced by referenceIn().
Declaration
Result VisitReferenceIn(ReStructuredTextParser.ReferenceInContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.ReferenceInContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSection(ReStructuredTextParser.SectionContext)
Visit a parse tree produced by section().
Declaration
Result VisitSection(ReStructuredTextParser.SectionContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.SectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSectionElement(ReStructuredTextParser.SectionElementContext)
Visit a parse tree produced by sectionElement().
Declaration
Result VisitSectionElement(ReStructuredTextParser.SectionElementContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.SectionElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSeparator(ReStructuredTextParser.SeparatorContext)
Visit a parse tree produced by separator().
Declaration
Result VisitSeparator(ReStructuredTextParser.SeparatorContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.SeparatorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSpan(ReStructuredTextParser.SpanContext)
Visit a parse tree produced by span().
Declaration
Result VisitSpan(ReStructuredTextParser.SpanContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.SpanContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSpanLineStartNoStar(ReStructuredTextParser.SpanLineStartNoStarContext)
Visit a parse tree produced by spanLineStartNoStar().
Declaration
Result VisitSpanLineStartNoStar(ReStructuredTextParser.SpanLineStartNoStarContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.SpanLineStartNoStarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSpanNoStar(ReStructuredTextParser.SpanNoStarContext)
Visit a parse tree produced by spanNoStar().
Declaration
Result VisitSpanNoStar(ReStructuredTextParser.SpanNoStarContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.SpanNoStarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStarAtom(ReStructuredTextParser.StarAtomContext)
Visit a parse tree produced by starAtom().
Declaration
Result VisitStarAtom(ReStructuredTextParser.StarAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.StarAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStarAtoms(ReStructuredTextParser.StarAtomsContext)
Visit a parse tree produced by starAtoms().
Declaration
Result VisitStarAtoms(ReStructuredTextParser.StarAtomsContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.StarAtomsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStarNoSpace(ReStructuredTextParser.StarNoSpaceContext)
Visit a parse tree produced by starNoSpace().
Declaration
Result VisitStarNoSpace(ReStructuredTextParser.StarNoSpaceContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.StarNoSpaceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStarText(ReStructuredTextParser.StarTextContext)
Visit a parse tree produced by starText().
Declaration
Result VisitStarText(ReStructuredTextParser.StarTextContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.StarTextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitText(ReStructuredTextParser.TextContext)
Visit a parse tree produced by text().
Declaration
Result VisitText(ReStructuredTextParser.TextContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.TextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitText_fragment(ReStructuredTextParser.Text_fragmentContext)
Visit a parse tree produced by text_fragment().
Declaration
Result VisitText_fragment(ReStructuredTextParser.Text_fragmentContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.Text_fragmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitText_fragment_start(ReStructuredTextParser.Text_fragment_startContext)
Visit a parse tree produced by text_fragment_start().
Declaration
Result VisitText_fragment_start(ReStructuredTextParser.Text_fragment_startContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.Text_fragment_startContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTextLineStart(ReStructuredTextParser.TextLineStartContext)
Visit a parse tree produced by textLineStart().
Declaration
Result VisitTextLineStart(ReStructuredTextParser.TextLineStartContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.TextLineStartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTextStart(ReStructuredTextParser.TextStartContext)
Visit a parse tree produced by textStart().
Declaration
Result VisitTextStart(ReStructuredTextParser.TextStartContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.TextStartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTitle(ReStructuredTextParser.TitleContext)
Visit a parse tree produced by title().
Declaration
Result VisitTitle(ReStructuredTextParser.TitleContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.TitleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUrl(ReStructuredTextParser.UrlContext)
Visit a parse tree produced by url().
Declaration
Result VisitUrl(ReStructuredTextParser.UrlContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.UrlContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUrlAtom(ReStructuredTextParser.UrlAtomContext)
Visit a parse tree produced by urlAtom().
Declaration
Result VisitUrlAtom(ReStructuredTextParser.UrlAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
ReStructuredTextParser.UrlAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |