Show / Hide Table of Contents

    Class RtfParserBaseVisitor<Result>

    This class provides an empty implementation of IRtfParserVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

    Inheritance
    System.Object
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>
    RtfParserBaseVisitor<Result>
    Implements
    IRtfParserVisitor<Result>
    Antlr4.Runtime.Tree.IParseTreeVisitor<Result>
    Inherited Members
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.Visit(Antlr4.Runtime.Tree.IParseTree)
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode)
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.AggregateResult(Result, Result)
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.ShouldVisitNextChild(Antlr4.Runtime.Tree.IRuleNode, Result)
    Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.DefaultResult
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.TextConverter.Rtf
    Assembly: Dangl.TextConverter.dll
    Syntax
    [CLSCompliant(false)]
    public class RtfParserBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IRtfParserVisitor<Result>, IParseTreeVisitor<Result>
    Type Parameters
    Name Description
    Result

    The return type of the visit operation.

    Methods

    | Improve this Doc View Source

    VisitCompileUnit(RtfParser.CompileUnitContext)

    Visit a parse tree produced by compileUnit().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitCompileUnit([NotNull] RtfParser.CompileUnitContext context)
    Parameters
    Type Name Description
    RtfParser.CompileUnitContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitFoundPlainText(RtfParser.FoundPlainTextContext)

    Visit a parse tree produced by the FoundPlainText labeled alternative in textDocument().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitFoundPlainText([NotNull] RtfParser.FoundPlainTextContext context)
    Parameters
    Type Name Description
    RtfParser.FoundPlainTextContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitFoundRtf(RtfParser.FoundRtfContext)

    Visit a parse tree produced by the FoundRtf labeled alternative in textDocument().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitFoundRtf([NotNull] RtfParser.FoundRtfContext context)
    Parameters
    Type Name Description
    RtfParser.FoundRtfContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitFoundRtfGroup(RtfParser.FoundRtfGroupContext)

    Visit a parse tree produced by the FoundRtfGroup labeled alternative in rtfComponent().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitFoundRtfGroup([NotNull] RtfParser.FoundRtfGroupContext context)
    Parameters
    Type Name Description
    RtfParser.FoundRtfGroupContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitFoundRtfText(RtfParser.FoundRtfTextContext)

    Visit a parse tree produced by the FoundRtfText labeled alternative in rtfComponent().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitFoundRtfText([NotNull] RtfParser.FoundRtfTextContext context)
    Parameters
    Type Name Description
    RtfParser.FoundRtfTextContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitPlainTextDocument(RtfParser.PlainTextDocumentContext)

    Visit a parse tree produced by plainTextDocument().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitPlainTextDocument([NotNull] RtfParser.PlainTextDocumentContext context)
    Parameters
    Type Name Description
    RtfParser.PlainTextDocumentContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitRtfComponent(RtfParser.RtfComponentContext)

    Visit a parse tree produced by rtfComponent().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitRtfComponent([NotNull] RtfParser.RtfComponentContext context)
    Parameters
    Type Name Description
    RtfParser.RtfComponentContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitRtfGroup(RtfParser.RtfGroupContext)

    Visit a parse tree produced by rtfGroup().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitRtfGroup([NotNull] RtfParser.RtfGroupContext context)
    Parameters
    Type Name Description
    RtfParser.RtfGroupContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitRtfText(RtfParser.RtfTextContext)

    Visit a parse tree produced by rtfText().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitRtfText([NotNull] RtfParser.RtfTextContext context)
    Parameters
    Type Name Description
    RtfParser.RtfTextContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitRtfTextComponent(RtfParser.RtfTextComponentContext)

    Visit a parse tree produced by rtfTextComponent().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitRtfTextComponent([NotNull] RtfParser.RtfTextComponentContext context)
    Parameters
    Type Name Description
    RtfParser.RtfTextComponentContext context

    The parse tree.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    VisitTextDocument(RtfParser.TextDocumentContext)

    Visit a parse tree produced by textDocument().

    The default implementation returns the result of calling Antlr4.Runtime.Tree.AbstractParseTreeVisitor<Result>.VisitChildren(Antlr4.Runtime.Tree.IRuleNode) on context.

    Declaration
    public virtual Result VisitTextDocument([NotNull] RtfParser.TextDocumentContext context)
    Parameters
    Type Name Description
    RtfParser.TextDocumentContext context

    The parse tree.

    Returns
    Type Description
    Result

    Implements

    IRtfParserVisitor<Result>
    Antlr4.Runtime.Tree.IParseTreeVisitor<Result>
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH