Show / Hide Table of Contents

Class pdnBaseListener

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

Inheritance
System.Object
pdnBaseListener
Implements
IpdnListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Pdn
Assembly: Pdn.dll
Syntax
public class pdnBaseListener : object, IpdnListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| 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

EnterGame(pdnParser.GameContext)

Enter a parse tree produced by game().

The default implementation does nothing.

Declaration
public virtual void EnterGame(pdnParser.GameContext context)
Parameters
Type Name Description
pdnParser.GameContext context

The parse tree.

| Improve this Doc View Source

EnterMove(pdnParser.MoveContext)

Enter a parse tree produced by move().

The default implementation does nothing.

Declaration
public virtual void EnterMove(pdnParser.MoveContext context)
Parameters
Type Name Description
pdnParser.MoveContext context

The parse tree.

| Improve this Doc View Source

EnterMovenum(pdnParser.MovenumContext)

Enter a parse tree produced by movenum().

The default implementation does nothing.

Declaration
public virtual void EnterMovenum(pdnParser.MovenumContext context)
Parameters
Type Name Description
pdnParser.MovenumContext context

The parse tree.

| Improve this Doc View Source

EnterMoves(pdnParser.MovesContext)

Enter a parse tree produced by moves().

The default implementation does nothing.

Declaration
public virtual void EnterMoves(pdnParser.MovesContext context)
Parameters
Type Name Description
pdnParser.MovesContext context

The parse tree.

| Improve this Doc View Source

EnterMovespec(pdnParser.MovespecContext)

Enter a parse tree produced by movespec().

The default implementation does nothing.

Declaration
public virtual void EnterMovespec(pdnParser.MovespecContext context)
Parameters
Type Name Description
pdnParser.MovespecContext context

The parse tree.

| Improve this Doc View Source

EnterNumber(pdnParser.NumberContext)

Enter a parse tree produced by number().

The default implementation does nothing.

Declaration
public virtual void EnterNumber(pdnParser.NumberContext context)
Parameters
Type Name Description
pdnParser.NumberContext context

The parse tree.

| Improve this Doc View Source

EnterResult(pdnParser.ResultContext)

Enter a parse tree produced by result().

The default implementation does nothing.

Declaration
public virtual void EnterResult(pdnParser.ResultContext context)
Parameters
Type Name Description
pdnParser.ResultContext context

The parse tree.

| Improve this Doc View Source

EnterString(pdnParser.StringContext)

Enter a parse tree produced by .

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterTag(pdnParser.TagContext)

Enter a parse tree produced by tag().

The default implementation does nothing.

Declaration
public virtual void EnterTag(pdnParser.TagContext context)
Parameters
Type Name Description
pdnParser.TagContext context

The parse tree.

| Improve this Doc View Source

EnterTags(pdnParser.TagsContext)

Enter a parse tree produced by tags().

The default implementation does nothing.

Declaration
public virtual void EnterTags(pdnParser.TagsContext context)
Parameters
Type Name Description
pdnParser.TagsContext context

The parse tree.

| Improve this Doc View Source

EnterText(pdnParser.TextContext)

Enter a parse tree produced by text().

The default implementation does nothing.

Declaration
public virtual void EnterText(pdnParser.TextContext context)
Parameters
Type Name Description
pdnParser.TextContext 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

ExitGame(pdnParser.GameContext)

Exit a parse tree produced by game().

The default implementation does nothing.

Declaration
public virtual void ExitGame(pdnParser.GameContext context)
Parameters
Type Name Description
pdnParser.GameContext context

The parse tree.

| Improve this Doc View Source

ExitMove(pdnParser.MoveContext)

Exit a parse tree produced by move().

The default implementation does nothing.

Declaration
public virtual void ExitMove(pdnParser.MoveContext context)
Parameters
Type Name Description
pdnParser.MoveContext context

The parse tree.

| Improve this Doc View Source

ExitMovenum(pdnParser.MovenumContext)

Exit a parse tree produced by movenum().

The default implementation does nothing.

Declaration
public virtual void ExitMovenum(pdnParser.MovenumContext context)
Parameters
Type Name Description
pdnParser.MovenumContext context

The parse tree.

| Improve this Doc View Source

ExitMoves(pdnParser.MovesContext)

Exit a parse tree produced by moves().

The default implementation does nothing.

Declaration
public virtual void ExitMoves(pdnParser.MovesContext context)
Parameters
Type Name Description
pdnParser.MovesContext context

The parse tree.

| Improve this Doc View Source

ExitMovespec(pdnParser.MovespecContext)

Exit a parse tree produced by movespec().

The default implementation does nothing.

Declaration
public virtual void ExitMovespec(pdnParser.MovespecContext context)
Parameters
Type Name Description
pdnParser.MovespecContext context

The parse tree.

| Improve this Doc View Source

ExitNumber(pdnParser.NumberContext)

Exit a parse tree produced by number().

The default implementation does nothing.

Declaration
public virtual void ExitNumber(pdnParser.NumberContext context)
Parameters
Type Name Description
pdnParser.NumberContext context

The parse tree.

| Improve this Doc View Source

ExitResult(pdnParser.ResultContext)

Exit a parse tree produced by result().

The default implementation does nothing.

Declaration
public virtual void ExitResult(pdnParser.ResultContext context)
Parameters
Type Name Description
pdnParser.ResultContext context

The parse tree.

| Improve this Doc View Source

ExitString(pdnParser.StringContext)

Exit a parse tree produced by .

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitTag(pdnParser.TagContext)

Exit a parse tree produced by tag().

The default implementation does nothing.

Declaration
public virtual void ExitTag(pdnParser.TagContext context)
Parameters
Type Name Description
pdnParser.TagContext context

The parse tree.

| Improve this Doc View Source

ExitTags(pdnParser.TagsContext)

Exit a parse tree produced by tags().

The default implementation does nothing.

Declaration
public virtual void ExitTags(pdnParser.TagsContext context)
Parameters
Type Name Description
pdnParser.TagsContext context

The parse tree.

| Improve this Doc View Source

ExitText(pdnParser.TextContext)

Exit a parse tree produced by text().

The default implementation does nothing.

Declaration
public virtual void ExitText(pdnParser.TextContext context)
Parameters
Type Name Description
pdnParser.TextContext 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

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