Interface IRtfParserVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by RtfParser.
Inherited Members
Namespace: Dangl.TextConverter.Rtf
Assembly: Dangl.TextConverter.dll
Syntax
[CLSCompliant(false)]
public interface IRtfParserVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitCompileUnit(RtfParser.CompileUnitContext)
Visit a parse tree produced by compileUnit().
Declaration
Result VisitCompileUnit([NotNull] RtfParser.CompileUnitContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.CompileUnitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFoundPlainText(RtfParser.FoundPlainTextContext)
Visit a parse tree produced by the FoundPlainText
labeled alternative in textDocument().
Declaration
Result VisitFoundPlainText([NotNull] RtfParser.FoundPlainTextContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.FoundPlainTextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFoundRtf(RtfParser.FoundRtfContext)
Visit a parse tree produced by the FoundRtf
labeled alternative in textDocument().
Declaration
Result VisitFoundRtf([NotNull] RtfParser.FoundRtfContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.FoundRtfContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFoundRtfGroup(RtfParser.FoundRtfGroupContext)
Visit a parse tree produced by the FoundRtfGroup
labeled alternative in rtfComponent().
Declaration
Result VisitFoundRtfGroup([NotNull] RtfParser.FoundRtfGroupContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.FoundRtfGroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFoundRtfText(RtfParser.FoundRtfTextContext)
Visit a parse tree produced by the FoundRtfText
labeled alternative in rtfComponent().
Declaration
Result VisitFoundRtfText([NotNull] RtfParser.FoundRtfTextContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.FoundRtfTextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPlainTextDocument(RtfParser.PlainTextDocumentContext)
Visit a parse tree produced by plainTextDocument().
Declaration
Result VisitPlainTextDocument([NotNull] RtfParser.PlainTextDocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.PlainTextDocumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRtfComponent(RtfParser.RtfComponentContext)
Visit a parse tree produced by rtfComponent().
Declaration
Result VisitRtfComponent([NotNull] RtfParser.RtfComponentContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.RtfComponentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRtfGroup(RtfParser.RtfGroupContext)
Visit a parse tree produced by rtfGroup().
Declaration
Result VisitRtfGroup([NotNull] RtfParser.RtfGroupContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.RtfGroupContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRtfText(RtfParser.RtfTextContext)
Visit a parse tree produced by rtfText().
Declaration
Result VisitRtfText([NotNull] RtfParser.RtfTextContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.RtfTextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRtfTextComponent(RtfParser.RtfTextComponentContext)
Visit a parse tree produced by rtfTextComponent().
Declaration
Result VisitRtfTextComponent([NotNull] RtfParser.RtfTextComponentContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.RtfTextComponentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTextDocument(RtfParser.TextDocumentContext)
Visit a parse tree produced by textDocument().
Declaration
Result VisitTextDocument([NotNull] RtfParser.TextDocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
RtfParser.TextDocumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |