Show / Hide Table of Contents

Class sieveBaseVisitor<Result>

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

Inheritance
System.Object
sieveBaseVisitor<Result>
Implements
IsieveVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Sieve
Assembly: Sieve.dll
Syntax
public class sieveBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IsieveVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitArgument(sieveParser.ArgumentContext)

Visit a parse tree produced by argument().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArgument(sieveParser.ArgumentContext context)
Parameters
Type Name Description
sieveParser.ArgumentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArguments(sieveParser.ArgumentsContext)

Visit a parse tree produced by arguments().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArguments(sieveParser.ArgumentsContext context)
Parameters
Type Name Description
sieveParser.ArgumentsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock(sieveParser.BlockContext)

Visit a parse tree produced by block().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBlock(sieveParser.BlockContext context)
Parameters
Type Name Description
sieveParser.BlockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCommand(sieveParser.CommandContext)

Visit a parse tree produced by command().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCommand(sieveParser.CommandContext context)
Parameters
Type Name Description
sieveParser.CommandContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCommands(sieveParser.CommandsContext)

Visit a parse tree produced by commands().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCommands(sieveParser.CommandsContext context)
Parameters
Type Name Description
sieveParser.CommandsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitComparator(sieveParser.ComparatorContext)

Visit a parse tree produced by comparator().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitComparator(sieveParser.ComparatorContext context)
Parameters
Type Name Description
sieveParser.ComparatorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiline(sieveParser.MultilineContext)

Visit a parse tree produced by multiline().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultiline(sieveParser.MultilineContext context)
Parameters
Type Name Description
sieveParser.MultilineContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultilinedotstart(sieveParser.MultilinedotstartContext)

Visit a parse tree produced by multilinedotstart().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultilinedotstart(sieveParser.MultilinedotstartContext context)
Parameters
Type Name Description
sieveParser.MultilinedotstartContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultilineliteral(sieveParser.MultilineliteralContext)

Visit a parse tree produced by multilineliteral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMultilineliteral(sieveParser.MultilineliteralContext context)
Parameters
Type Name Description
sieveParser.MultilineliteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStart(sieveParser.StartContext)

Visit a parse tree produced by start().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStart(sieveParser.StartContext context)
Parameters
Type Name Description
sieveParser.StartContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(sieveParser.StringContext)

Visit a parse tree produced by .

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitString(sieveParser.StringContext context)
Parameters
Type Name Description
sieveParser.StringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStringlist(sieveParser.StringlistContext)

Visit a parse tree produced by stringlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStringlist(sieveParser.StringlistContext context)
Parameters
Type Name Description
sieveParser.StringlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTest(sieveParser.TestContext)

Visit a parse tree produced by test().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTest(sieveParser.TestContext context)
Parameters
Type Name Description
sieveParser.TestContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTestlist(sieveParser.TestlistContext)

Visit a parse tree produced by testlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTestlist(sieveParser.TestlistContext context)
Parameters
Type Name Description
sieveParser.TestlistContext context

The parse tree.

Returns
Type Description
Result

Implements

IsieveVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX