Show / Hide Table of Contents

Class fenBaseListener

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

Inheritance
System.Object
fenBaseListener
Implements
IfenListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Fen
Assembly: Fen.dll
Syntax
public class fenBaseListener : object, IfenListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterCastling(fenParser.CastlingContext)

Enter a parse tree produced by castling().

The default implementation does nothing.

Declaration
public virtual void EnterCastling(fenParser.CastlingContext context)
Parameters
Type Name Description
fenParser.CastlingContext context

The parse tree.

| Improve this Doc View Source

EnterColor(fenParser.ColorContext)

Enter a parse tree produced by color().

The default implementation does nothing.

Declaration
public virtual void EnterColor(fenParser.ColorContext context)
Parameters
Type Name Description
fenParser.ColorContext context

The parse tree.

| Improve this Doc View Source

EnterEnpassant(fenParser.EnpassantContext)

Enter a parse tree produced by enpassant().

The default implementation does nothing.

Declaration
public virtual void EnterEnpassant(fenParser.EnpassantContext context)
Parameters
Type Name Description
fenParser.EnpassantContext 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

EnterFen(fenParser.FenContext)

Enter a parse tree produced by fen().

The default implementation does nothing.

Declaration
public virtual void EnterFen(fenParser.FenContext context)
Parameters
Type Name Description
fenParser.FenContext context

The parse tree.

| Improve this Doc View Source

EnterFullmoveclock(fenParser.FullmoveclockContext)

Enter a parse tree produced by fullmoveclock().

The default implementation does nothing.

Declaration
public virtual void EnterFullmoveclock(fenParser.FullmoveclockContext context)
Parameters
Type Name Description
fenParser.FullmoveclockContext context

The parse tree.

| Improve this Doc View Source

EnterHalfmoveclock(fenParser.HalfmoveclockContext)

Enter a parse tree produced by halfmoveclock().

The default implementation does nothing.

Declaration
public virtual void EnterHalfmoveclock(fenParser.HalfmoveclockContext context)
Parameters
Type Name Description
fenParser.HalfmoveclockContext context

The parse tree.

| Improve this Doc View Source

EnterPiece(fenParser.PieceContext)

Enter a parse tree produced by piece().

The default implementation does nothing.

Declaration
public virtual void EnterPiece(fenParser.PieceContext context)
Parameters
Type Name Description
fenParser.PieceContext context

The parse tree.

| Improve this Doc View Source

EnterPlacement(fenParser.PlacementContext)

Enter a parse tree produced by placement().

The default implementation does nothing.

Declaration
public virtual void EnterPlacement(fenParser.PlacementContext context)
Parameters
Type Name Description
fenParser.PlacementContext context

The parse tree.

| Improve this Doc View Source

EnterPosition(fenParser.PositionContext)

Enter a parse tree produced by position().

The default implementation does nothing.

Declaration
public virtual void EnterPosition(fenParser.PositionContext context)
Parameters
Type Name Description
fenParser.PositionContext context

The parse tree.

| Improve this Doc View Source

EnterRank(fenParser.RankContext)

Enter a parse tree produced by rank().

The default implementation does nothing.

Declaration
public virtual void EnterRank(fenParser.RankContext context)
Parameters
Type Name Description
fenParser.RankContext context

The parse tree.

| Improve this Doc View Source

ExitCastling(fenParser.CastlingContext)

Exit a parse tree produced by castling().

The default implementation does nothing.

Declaration
public virtual void ExitCastling(fenParser.CastlingContext context)
Parameters
Type Name Description
fenParser.CastlingContext context

The parse tree.

| Improve this Doc View Source

ExitColor(fenParser.ColorContext)

Exit a parse tree produced by color().

The default implementation does nothing.

Declaration
public virtual void ExitColor(fenParser.ColorContext context)
Parameters
Type Name Description
fenParser.ColorContext context

The parse tree.

| Improve this Doc View Source

ExitEnpassant(fenParser.EnpassantContext)

Exit a parse tree produced by enpassant().

The default implementation does nothing.

Declaration
public virtual void ExitEnpassant(fenParser.EnpassantContext context)
Parameters
Type Name Description
fenParser.EnpassantContext 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

ExitFen(fenParser.FenContext)

Exit a parse tree produced by fen().

The default implementation does nothing.

Declaration
public virtual void ExitFen(fenParser.FenContext context)
Parameters
Type Name Description
fenParser.FenContext context

The parse tree.

| Improve this Doc View Source

ExitFullmoveclock(fenParser.FullmoveclockContext)

Exit a parse tree produced by fullmoveclock().

The default implementation does nothing.

Declaration
public virtual void ExitFullmoveclock(fenParser.FullmoveclockContext context)
Parameters
Type Name Description
fenParser.FullmoveclockContext context

The parse tree.

| Improve this Doc View Source

ExitHalfmoveclock(fenParser.HalfmoveclockContext)

Exit a parse tree produced by halfmoveclock().

The default implementation does nothing.

Declaration
public virtual void ExitHalfmoveclock(fenParser.HalfmoveclockContext context)
Parameters
Type Name Description
fenParser.HalfmoveclockContext context

The parse tree.

| Improve this Doc View Source

ExitPiece(fenParser.PieceContext)

Exit a parse tree produced by piece().

The default implementation does nothing.

Declaration
public virtual void ExitPiece(fenParser.PieceContext context)
Parameters
Type Name Description
fenParser.PieceContext context

The parse tree.

| Improve this Doc View Source

ExitPlacement(fenParser.PlacementContext)

Exit a parse tree produced by placement().

The default implementation does nothing.

Declaration
public virtual void ExitPlacement(fenParser.PlacementContext context)
Parameters
Type Name Description
fenParser.PlacementContext context

The parse tree.

| Improve this Doc View Source

ExitPosition(fenParser.PositionContext)

Exit a parse tree produced by position().

The default implementation does nothing.

Declaration
public virtual void ExitPosition(fenParser.PositionContext context)
Parameters
Type Name Description
fenParser.PositionContext context

The parse tree.

| Improve this Doc View Source

ExitRank(fenParser.RankContext)

Exit a parse tree produced by rank().

The default implementation does nothing.

Declaration
public virtual void ExitRank(fenParser.RankContext context)
Parameters
Type Name Description
fenParser.RankContext 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

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