Show / Hide Table of Contents

Class focalBaseListener

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

Inheritance
System.Object
focalBaseListener
Implements
IfocalListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Focal
Assembly: Focal.dll
Syntax
public class focalBaseListener : object, IfocalListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAsk(focalParser.AskContext)

Enter a parse tree produced by ask().

The default implementation does nothing.

Declaration
public virtual void EnterAsk(focalParser.AskContext context)
Parameters
Type Name Description
focalParser.AskContext context

The parse tree.

| Improve this Doc View Source

EnterAskpair(focalParser.AskpairContext)

Enter a parse tree produced by askpair().

The default implementation does nothing.

Declaration
public virtual void EnterAskpair(focalParser.AskpairContext context)
Parameters
Type Name Description
focalParser.AskpairContext context

The parse tree.

| Improve this Doc View Source

EnterCommand(focalParser.CommandContext)

Enter a parse tree produced by command().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterComment(focalParser.CommentContext)

Enter a parse tree produced by comment().

The default implementation does nothing.

Declaration
public virtual void EnterComment(focalParser.CommentContext context)
Parameters
Type Name Description
focalParser.CommentContext context

The parse tree.

| Improve this Doc View Source

EnterDo_(focalParser.Do_Context)

Enter a parse tree produced by do_().

The default implementation does nothing.

Declaration
public virtual void EnterDo_(focalParser.Do_Context context)
Parameters
Type Name Description
focalParser.Do_Context 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

EnterExpression(focalParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void EnterExpression(focalParser.ExpressionContext context)
Parameters
Type Name Description
focalParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterFor_(focalParser.For_Context)

Enter a parse tree produced by for_().

The default implementation does nothing.

Declaration
public virtual void EnterFor_(focalParser.For_Context context)
Parameters
Type Name Description
focalParser.For_Context context

The parse tree.

| Improve this Doc View Source

EnterGoto_(focalParser.Goto_Context)

Enter a parse tree produced by goto_().

The default implementation does nothing.

Declaration
public virtual void EnterGoto_(focalParser.Goto_Context context)
Parameters
Type Name Description
focalParser.Goto_Context context

The parse tree.

| Improve this Doc View Source

EnterGrpnum(focalParser.GrpnumContext)

Enter a parse tree produced by grpnum().

The default implementation does nothing.

Declaration
public virtual void EnterGrpnum(focalParser.GrpnumContext context)
Parameters
Type Name Description
focalParser.GrpnumContext context

The parse tree.

| Improve this Doc View Source

EnterIf_(focalParser.If_Context)

Enter a parse tree produced by if_().

The default implementation does nothing.

Declaration
public virtual void EnterIf_(focalParser.If_Context context)
Parameters
Type Name Description
focalParser.If_Context context

The parse tree.

| Improve this Doc View Source

EnterLinenum(focalParser.LinenumContext)

Enter a parse tree produced by linenum().

The default implementation does nothing.

Declaration
public virtual void EnterLinenum(focalParser.LinenumContext context)
Parameters
Type Name Description
focalParser.LinenumContext context

The parse tree.

| Improve this Doc View Source

EnterMantissa(focalParser.MantissaContext)

Enter a parse tree produced by mantissa().

The default implementation does nothing.

Declaration
public virtual void EnterMantissa(focalParser.MantissaContext context)
Parameters
Type Name Description
focalParser.MantissaContext context

The parse tree.

| Improve this Doc View Source

EnterNumber(focalParser.NumberContext)

Enter a parse tree produced by number().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterPrimary(focalParser.PrimaryContext)

Enter a parse tree produced by primary().

The default implementation does nothing.

Declaration
public virtual void EnterPrimary(focalParser.PrimaryContext context)
Parameters
Type Name Description
focalParser.PrimaryContext context

The parse tree.

| Improve this Doc View Source

EnterProg(focalParser.ProgContext)

Enter a parse tree produced by prog().

The default implementation does nothing.

Declaration
public virtual void EnterProg(focalParser.ProgContext context)
Parameters
Type Name Description
focalParser.ProgContext context

The parse tree.

| Improve this Doc View Source

EnterQuit(focalParser.QuitContext)

Enter a parse tree produced by quit().

The default implementation does nothing.

Declaration
public virtual void EnterQuit(focalParser.QuitContext context)
Parameters
Type Name Description
focalParser.QuitContext context

The parse tree.

| Improve this Doc View Source

EnterReturn_(focalParser.Return_Context)

Enter a parse tree produced by return_().

The default implementation does nothing.

Declaration
public virtual void EnterReturn_(focalParser.Return_Context context)
Parameters
Type Name Description
focalParser.Return_Context context

The parse tree.

| Improve this Doc View Source

EnterSet_(focalParser.Set_Context)

Enter a parse tree produced by set_().

The default implementation does nothing.

Declaration
public virtual void EnterSet_(focalParser.Set_Context context)
Parameters
Type Name Description
focalParser.Set_Context context

The parse tree.

| Improve this Doc View Source

EnterSigned_(focalParser.Signed_Context)

Enter a parse tree produced by signed_().

The default implementation does nothing.

Declaration
public virtual void EnterSigned_(focalParser.Signed_Context context)
Parameters
Type Name Description
focalParser.Signed_Context context

The parse tree.

| Improve this Doc View Source

EnterStatement(focalParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void EnterStatement(focalParser.StatementContext context)
Parameters
Type Name Description
focalParser.StatementContext context

The parse tree.

| Improve this Doc View Source

EnterTerm(focalParser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void EnterTerm(focalParser.TermContext context)
Parameters
Type Name Description
focalParser.TermContext context

The parse tree.

| Improve this Doc View Source

EnterType_(focalParser.Type_Context)

Enter a parse tree produced by type_().

The default implementation does nothing.

Declaration
public virtual void EnterType_(focalParser.Type_Context context)
Parameters
Type Name Description
focalParser.Type_Context context

The parse tree.

| Improve this Doc View Source

EnterTypeexpression(focalParser.TypeexpressionContext)

Enter a parse tree produced by typeexpression().

The default implementation does nothing.

Declaration
public virtual void EnterTypeexpression(focalParser.TypeexpressionContext context)
Parameters
Type Name Description
focalParser.TypeexpressionContext context

The parse tree.

| Improve this Doc View Source

EnterWrite_(focalParser.Write_Context)

Enter a parse tree produced by write_().

The default implementation does nothing.

Declaration
public virtual void EnterWrite_(focalParser.Write_Context context)
Parameters
Type Name Description
focalParser.Write_Context context

The parse tree.

| Improve this Doc View Source

ExitAsk(focalParser.AskContext)

Exit a parse tree produced by ask().

The default implementation does nothing.

Declaration
public virtual void ExitAsk(focalParser.AskContext context)
Parameters
Type Name Description
focalParser.AskContext context

The parse tree.

| Improve this Doc View Source

ExitAskpair(focalParser.AskpairContext)

Exit a parse tree produced by askpair().

The default implementation does nothing.

Declaration
public virtual void ExitAskpair(focalParser.AskpairContext context)
Parameters
Type Name Description
focalParser.AskpairContext context

The parse tree.

| Improve this Doc View Source

ExitCommand(focalParser.CommandContext)

Exit a parse tree produced by command().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitComment(focalParser.CommentContext)

Exit a parse tree produced by comment().

The default implementation does nothing.

Declaration
public virtual void ExitComment(focalParser.CommentContext context)
Parameters
Type Name Description
focalParser.CommentContext context

The parse tree.

| Improve this Doc View Source

ExitDo_(focalParser.Do_Context)

Exit a parse tree produced by do_().

The default implementation does nothing.

Declaration
public virtual void ExitDo_(focalParser.Do_Context context)
Parameters
Type Name Description
focalParser.Do_Context 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

ExitExpression(focalParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void ExitExpression(focalParser.ExpressionContext context)
Parameters
Type Name Description
focalParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitFor_(focalParser.For_Context)

Exit a parse tree produced by for_().

The default implementation does nothing.

Declaration
public virtual void ExitFor_(focalParser.For_Context context)
Parameters
Type Name Description
focalParser.For_Context context

The parse tree.

| Improve this Doc View Source

ExitGoto_(focalParser.Goto_Context)

Exit a parse tree produced by goto_().

The default implementation does nothing.

Declaration
public virtual void ExitGoto_(focalParser.Goto_Context context)
Parameters
Type Name Description
focalParser.Goto_Context context

The parse tree.

| Improve this Doc View Source

ExitGrpnum(focalParser.GrpnumContext)

Exit a parse tree produced by grpnum().

The default implementation does nothing.

Declaration
public virtual void ExitGrpnum(focalParser.GrpnumContext context)
Parameters
Type Name Description
focalParser.GrpnumContext context

The parse tree.

| Improve this Doc View Source

ExitIf_(focalParser.If_Context)

Exit a parse tree produced by if_().

The default implementation does nothing.

Declaration
public virtual void ExitIf_(focalParser.If_Context context)
Parameters
Type Name Description
focalParser.If_Context context

The parse tree.

| Improve this Doc View Source

ExitLinenum(focalParser.LinenumContext)

Exit a parse tree produced by linenum().

The default implementation does nothing.

Declaration
public virtual void ExitLinenum(focalParser.LinenumContext context)
Parameters
Type Name Description
focalParser.LinenumContext context

The parse tree.

| Improve this Doc View Source

ExitMantissa(focalParser.MantissaContext)

Exit a parse tree produced by mantissa().

The default implementation does nothing.

Declaration
public virtual void ExitMantissa(focalParser.MantissaContext context)
Parameters
Type Name Description
focalParser.MantissaContext context

The parse tree.

| Improve this Doc View Source

ExitNumber(focalParser.NumberContext)

Exit a parse tree produced by number().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitPrimary(focalParser.PrimaryContext)

Exit a parse tree produced by primary().

The default implementation does nothing.

Declaration
public virtual void ExitPrimary(focalParser.PrimaryContext context)
Parameters
Type Name Description
focalParser.PrimaryContext context

The parse tree.

| Improve this Doc View Source

ExitProg(focalParser.ProgContext)

Exit a parse tree produced by prog().

The default implementation does nothing.

Declaration
public virtual void ExitProg(focalParser.ProgContext context)
Parameters
Type Name Description
focalParser.ProgContext context

The parse tree.

| Improve this Doc View Source

ExitQuit(focalParser.QuitContext)

Exit a parse tree produced by quit().

The default implementation does nothing.

Declaration
public virtual void ExitQuit(focalParser.QuitContext context)
Parameters
Type Name Description
focalParser.QuitContext context

The parse tree.

| Improve this Doc View Source

ExitReturn_(focalParser.Return_Context)

Exit a parse tree produced by return_().

The default implementation does nothing.

Declaration
public virtual void ExitReturn_(focalParser.Return_Context context)
Parameters
Type Name Description
focalParser.Return_Context context

The parse tree.

| Improve this Doc View Source

ExitSet_(focalParser.Set_Context)

Exit a parse tree produced by set_().

The default implementation does nothing.

Declaration
public virtual void ExitSet_(focalParser.Set_Context context)
Parameters
Type Name Description
focalParser.Set_Context context

The parse tree.

| Improve this Doc View Source

ExitSigned_(focalParser.Signed_Context)

Exit a parse tree produced by signed_().

The default implementation does nothing.

Declaration
public virtual void ExitSigned_(focalParser.Signed_Context context)
Parameters
Type Name Description
focalParser.Signed_Context context

The parse tree.

| Improve this Doc View Source

ExitStatement(focalParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void ExitStatement(focalParser.StatementContext context)
Parameters
Type Name Description
focalParser.StatementContext context

The parse tree.

| Improve this Doc View Source

ExitTerm(focalParser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void ExitTerm(focalParser.TermContext context)
Parameters
Type Name Description
focalParser.TermContext context

The parse tree.

| Improve this Doc View Source

ExitType_(focalParser.Type_Context)

Exit a parse tree produced by type_().

The default implementation does nothing.

Declaration
public virtual void ExitType_(focalParser.Type_Context context)
Parameters
Type Name Description
focalParser.Type_Context context

The parse tree.

| Improve this Doc View Source

ExitTypeexpression(focalParser.TypeexpressionContext)

Exit a parse tree produced by typeexpression().

The default implementation does nothing.

Declaration
public virtual void ExitTypeexpression(focalParser.TypeexpressionContext context)
Parameters
Type Name Description
focalParser.TypeexpressionContext context

The parse tree.

| Improve this Doc View Source

ExitWrite_(focalParser.Write_Context)

Exit a parse tree produced by write_().

The default implementation does nothing.

Declaration
public virtual void ExitWrite_(focalParser.Write_Context context)
Parameters
Type Name Description
focalParser.Write_Context 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

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