Show / Hide Table of Contents

    Class RtfParserBaseListener

    This class provides an empty implementation of IRtfParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

    Inheritance
    System.Object
    RtfParserBaseListener
    Implements
    IRtfParserListener
    Antlr4.Runtime.Tree.IParseTreeListener
    Inherited Members
    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 RtfParserBaseListener : IRtfParserListener, IParseTreeListener

    Methods

    | Improve this Doc View Source

    EnterCompileUnit(RtfParser.CompileUnitContext)

    Enter a parse tree produced by compileUnit().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterEveryRule(ParserRuleContext)

    Declaration
    public virtual void EnterEveryRule([NotNull] ParserRuleContext context)
    Parameters
    Type Name Description
    Antlr4.Runtime.ParserRuleContext context
    Remarks

    The default implementation does nothing.

    | Improve this Doc View Source

    EnterFoundPlainText(RtfParser.FoundPlainTextContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterFoundRtf(RtfParser.FoundRtfContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterFoundRtfGroup(RtfParser.FoundRtfGroupContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterFoundRtfText(RtfParser.FoundRtfTextContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterPlainTextDocument(RtfParser.PlainTextDocumentContext)

    Enter a parse tree produced by plainTextDocument().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterRtfComponent(RtfParser.RtfComponentContext)

    Enter a parse tree produced by rtfComponent().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterRtfGroup(RtfParser.RtfGroupContext)

    Enter a parse tree produced by rtfGroup().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterRtfText(RtfParser.RtfTextContext)

    Enter a parse tree produced by rtfText().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterRtfTextComponent(RtfParser.RtfTextComponentContext)

    Enter a parse tree produced by rtfTextComponent().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    EnterTextDocument(RtfParser.TextDocumentContext)

    Enter a parse tree produced by textDocument().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitCompileUnit(RtfParser.CompileUnitContext)

    Exit a parse tree produced by compileUnit().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitEveryRule(ParserRuleContext)

    Declaration
    public virtual void ExitEveryRule([NotNull] ParserRuleContext context)
    Parameters
    Type Name Description
    Antlr4.Runtime.ParserRuleContext context
    Remarks

    The default implementation does nothing.

    | Improve this Doc View Source

    ExitFoundPlainText(RtfParser.FoundPlainTextContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitFoundRtf(RtfParser.FoundRtfContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitFoundRtfGroup(RtfParser.FoundRtfGroupContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitFoundRtfText(RtfParser.FoundRtfTextContext)

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

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitPlainTextDocument(RtfParser.PlainTextDocumentContext)

    Exit a parse tree produced by plainTextDocument().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitRtfComponent(RtfParser.RtfComponentContext)

    Exit a parse tree produced by rtfComponent().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitRtfGroup(RtfParser.RtfGroupContext)

    Exit a parse tree produced by rtfGroup().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitRtfText(RtfParser.RtfTextContext)

    Exit a parse tree produced by rtfText().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitRtfTextComponent(RtfParser.RtfTextComponentContext)

    Exit a parse tree produced by rtfTextComponent().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    ExitTextDocument(RtfParser.TextDocumentContext)

    Exit a parse tree produced by textDocument().

    The default implementation does nothing.

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

    The parse tree.

    | Improve this Doc View Source

    VisitErrorNode(IErrorNode)

    Declaration
    public virtual void VisitErrorNode([NotNull] IErrorNode node)
    Parameters
    Type Name Description
    Antlr4.Runtime.Tree.IErrorNode node
    Remarks

    The default implementation does nothing.

    | Improve this Doc View Source

    VisitTerminal(ITerminalNode)

    Declaration
    public virtual void VisitTerminal([NotNull] ITerminalNode node)
    Parameters
    Type Name Description
    Antlr4.Runtime.Tree.ITerminalNode node
    Remarks

    The default implementation does nothing.

    Implements

    IRtfParserListener
    Antlr4.Runtime.Tree.IParseTreeListener
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH