Show / Hide Table of Contents

Class sieveBaseListener

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

Inheritance
System.Object
sieveBaseListener
Implements
IsieveListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Sieve
Assembly: Sieve.dll
Syntax
public class sieveBaseListener : object, IsieveListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterArgument(sieveParser.ArgumentContext)

Enter a parse tree produced by argument().

The default implementation does nothing.

Declaration
public virtual void EnterArgument(sieveParser.ArgumentContext context)
Parameters
Type Name Description
sieveParser.ArgumentContext context

The parse tree.

| Improve this Doc View Source

EnterArguments(sieveParser.ArgumentsContext)

Enter a parse tree produced by arguments().

The default implementation does nothing.

Declaration
public virtual void EnterArguments(sieveParser.ArgumentsContext context)
Parameters
Type Name Description
sieveParser.ArgumentsContext context

The parse tree.

| Improve this Doc View Source

EnterBlock(sieveParser.BlockContext)

Enter a parse tree produced by block().

The default implementation does nothing.

Declaration
public virtual void EnterBlock(sieveParser.BlockContext context)
Parameters
Type Name Description
sieveParser.BlockContext context

The parse tree.

| Improve this Doc View Source

EnterCommand(sieveParser.CommandContext)

Enter a parse tree produced by command().

The default implementation does nothing.

Declaration
public virtual void EnterCommand(sieveParser.CommandContext context)
Parameters
Type Name Description
sieveParser.CommandContext context

The parse tree.

| Improve this Doc View Source

EnterCommands(sieveParser.CommandsContext)

Enter a parse tree produced by commands().

The default implementation does nothing.

Declaration
public virtual void EnterCommands(sieveParser.CommandsContext context)
Parameters
Type Name Description
sieveParser.CommandsContext context

The parse tree.

| Improve this Doc View Source

EnterComparator(sieveParser.ComparatorContext)

Enter a parse tree produced by comparator().

The default implementation does nothing.

Declaration
public virtual void EnterComparator(sieveParser.ComparatorContext context)
Parameters
Type Name Description
sieveParser.ComparatorContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

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

The default implementation does nothing.

| Improve this Doc View Source

EnterMultiline(sieveParser.MultilineContext)

Enter a parse tree produced by multiline().

The default implementation does nothing.

Declaration
public virtual void EnterMultiline(sieveParser.MultilineContext context)
Parameters
Type Name Description
sieveParser.MultilineContext context

The parse tree.

| Improve this Doc View Source

EnterMultilinedotstart(sieveParser.MultilinedotstartContext)

Enter a parse tree produced by multilinedotstart().

The default implementation does nothing.

Declaration
public virtual void EnterMultilinedotstart(sieveParser.MultilinedotstartContext context)
Parameters
Type Name Description
sieveParser.MultilinedotstartContext context

The parse tree.

| Improve this Doc View Source

EnterMultilineliteral(sieveParser.MultilineliteralContext)

Enter a parse tree produced by multilineliteral().

The default implementation does nothing.

Declaration
public virtual void EnterMultilineliteral(sieveParser.MultilineliteralContext context)
Parameters
Type Name Description
sieveParser.MultilineliteralContext context

The parse tree.

| Improve this Doc View Source

EnterStart(sieveParser.StartContext)

Enter a parse tree produced by start().

The default implementation does nothing.

Declaration
public virtual void EnterStart(sieveParser.StartContext context)
Parameters
Type Name Description
sieveParser.StartContext context

The parse tree.

| Improve this Doc View Source

EnterString(sieveParser.StringContext)

Enter a parse tree produced by .

The default implementation does nothing.

Declaration
public virtual void EnterString(sieveParser.StringContext context)
Parameters
Type Name Description
sieveParser.StringContext context

The parse tree.

| Improve this Doc View Source

EnterStringlist(sieveParser.StringlistContext)

Enter a parse tree produced by stringlist().

The default implementation does nothing.

Declaration
public virtual void EnterStringlist(sieveParser.StringlistContext context)
Parameters
Type Name Description
sieveParser.StringlistContext context

The parse tree.

| Improve this Doc View Source

EnterTest(sieveParser.TestContext)

Enter a parse tree produced by test().

The default implementation does nothing.

Declaration
public virtual void EnterTest(sieveParser.TestContext context)
Parameters
Type Name Description
sieveParser.TestContext context

The parse tree.

| Improve this Doc View Source

EnterTestlist(sieveParser.TestlistContext)

Enter a parse tree produced by testlist().

The default implementation does nothing.

Declaration
public virtual void EnterTestlist(sieveParser.TestlistContext context)
Parameters
Type Name Description
sieveParser.TestlistContext context

The parse tree.

| Improve this Doc View Source

ExitArgument(sieveParser.ArgumentContext)

Exit a parse tree produced by argument().

The default implementation does nothing.

Declaration
public virtual void ExitArgument(sieveParser.ArgumentContext context)
Parameters
Type Name Description
sieveParser.ArgumentContext context

The parse tree.

| Improve this Doc View Source

ExitArguments(sieveParser.ArgumentsContext)

Exit a parse tree produced by arguments().

The default implementation does nothing.

Declaration
public virtual void ExitArguments(sieveParser.ArgumentsContext context)
Parameters
Type Name Description
sieveParser.ArgumentsContext context

The parse tree.

| Improve this Doc View Source

ExitBlock(sieveParser.BlockContext)

Exit a parse tree produced by block().

The default implementation does nothing.

Declaration
public virtual void ExitBlock(sieveParser.BlockContext context)
Parameters
Type Name Description
sieveParser.BlockContext context

The parse tree.

| Improve this Doc View Source

ExitCommand(sieveParser.CommandContext)

Exit a parse tree produced by command().

The default implementation does nothing.

Declaration
public virtual void ExitCommand(sieveParser.CommandContext context)
Parameters
Type Name Description
sieveParser.CommandContext context

The parse tree.

| Improve this Doc View Source

ExitCommands(sieveParser.CommandsContext)

Exit a parse tree produced by commands().

The default implementation does nothing.

Declaration
public virtual void ExitCommands(sieveParser.CommandsContext context)
Parameters
Type Name Description
sieveParser.CommandsContext context

The parse tree.

| Improve this Doc View Source

ExitComparator(sieveParser.ComparatorContext)

Exit a parse tree produced by comparator().

The default implementation does nothing.

Declaration
public virtual void ExitComparator(sieveParser.ComparatorContext context)
Parameters
Type Name Description
sieveParser.ComparatorContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

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

The default implementation does nothing.

| Improve this Doc View Source

ExitMultiline(sieveParser.MultilineContext)

Exit a parse tree produced by multiline().

The default implementation does nothing.

Declaration
public virtual void ExitMultiline(sieveParser.MultilineContext context)
Parameters
Type Name Description
sieveParser.MultilineContext context

The parse tree.

| Improve this Doc View Source

ExitMultilinedotstart(sieveParser.MultilinedotstartContext)

Exit a parse tree produced by multilinedotstart().

The default implementation does nothing.

Declaration
public virtual void ExitMultilinedotstart(sieveParser.MultilinedotstartContext context)
Parameters
Type Name Description
sieveParser.MultilinedotstartContext context

The parse tree.

| Improve this Doc View Source

ExitMultilineliteral(sieveParser.MultilineliteralContext)

Exit a parse tree produced by multilineliteral().

The default implementation does nothing.

Declaration
public virtual void ExitMultilineliteral(sieveParser.MultilineliteralContext context)
Parameters
Type Name Description
sieveParser.MultilineliteralContext context

The parse tree.

| Improve this Doc View Source

ExitStart(sieveParser.StartContext)

Exit a parse tree produced by start().

The default implementation does nothing.

Declaration
public virtual void ExitStart(sieveParser.StartContext context)
Parameters
Type Name Description
sieveParser.StartContext context

The parse tree.

| Improve this Doc View Source

ExitString(sieveParser.StringContext)

Exit a parse tree produced by .

The default implementation does nothing.

Declaration
public virtual void ExitString(sieveParser.StringContext context)
Parameters
Type Name Description
sieveParser.StringContext context

The parse tree.

| Improve this Doc View Source

ExitStringlist(sieveParser.StringlistContext)

Exit a parse tree produced by stringlist().

The default implementation does nothing.

Declaration
public virtual void ExitStringlist(sieveParser.StringlistContext context)
Parameters
Type Name Description
sieveParser.StringlistContext context

The parse tree.

| Improve this Doc View Source

ExitTest(sieveParser.TestContext)

Exit a parse tree produced by test().

The default implementation does nothing.

Declaration
public virtual void ExitTest(sieveParser.TestContext context)
Parameters
Type Name Description
sieveParser.TestContext context

The parse tree.

| Improve this Doc View Source

ExitTestlist(sieveParser.TestlistContext)

Exit a parse tree produced by testlist().

The default implementation does nothing.

Declaration
public virtual void ExitTestlist(sieveParser.TestlistContext context)
Parameters
Type Name Description
sieveParser.TestlistContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

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

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

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

The default implementation does nothing.

Implements

IsieveListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX