Show / Hide Table of Contents

Class refalBaseListener

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

Inheritance
System.Object
refalBaseListener
Implements
IrefalListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Refal
Assembly: Refal.dll
Syntax
public class refalBaseListener : object, IrefalListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterArg_(refalParser.Arg_Context)

Enter a parse tree produced by arg_().

The default implementation does nothing.

Declaration
public virtual void EnterArg_(refalParser.Arg_Context context)
Parameters
Type Name Description
refalParser.Arg_Context context

The parse tree.

| Improve this Doc View Source

EnterBlock_(refalParser.Block_Context)

Enter a parse tree produced by block_().

The default implementation does nothing.

Declaration
public virtual void EnterBlock_(refalParser.Block_Context context)
Parameters
Type Name Description
refalParser.Block_Context context

The parse tree.

| Improve this Doc View Source

EnterBlock_ending(refalParser.Block_endingContext)

Enter a parse tree produced by block_ending().

The default implementation does nothing.

Declaration
public virtual void EnterBlock_ending(refalParser.Block_endingContext context)
Parameters
Type Name Description
refalParser.Block_endingContext context

The parse tree.

| Improve this Doc View Source

EnterConditions(refalParser.ConditionsContext)

Enter a parse tree produced by conditions().

The default implementation does nothing.

Declaration
public virtual void EnterConditions(refalParser.ConditionsContext context)
Parameters
Type Name Description
refalParser.ConditionsContext context

The parse tree.

| Improve this Doc View Source

EnterEvar(refalParser.EvarContext)

Enter a parse tree produced by evar().

The default implementation does nothing.

Declaration
public virtual void EnterEvar(refalParser.EvarContext context)
Parameters
Type Name Description
refalParser.EvarContext 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_(refalParser.Expression_Context)

Enter a parse tree produced by expression_().

The default implementation does nothing.

Declaration
public virtual void EnterExpression_(refalParser.Expression_Context context)
Parameters
Type Name Description
refalParser.Expression_Context context

The parse tree.

| Improve this Doc View Source

EnterExternal_decl(refalParser.External_declContext)

Enter a parse tree produced by external_decl().

The default implementation does nothing.

Declaration
public virtual void EnterExternal_decl(refalParser.External_declContext context)
Parameters
Type Name Description
refalParser.External_declContext context

The parse tree.

| Improve this Doc View Source

EnterF_definition(refalParser.F_definitionContext)

Enter a parse tree produced by f_definition().

The default implementation does nothing.

Declaration
public virtual void EnterF_definition(refalParser.F_definitionContext context)
Parameters
Type Name Description
refalParser.F_definitionContext context

The parse tree.

| Improve this Doc View Source

EnterF_name(refalParser.F_nameContext)

Enter a parse tree produced by f_name().

The default implementation does nothing.

Declaration
public virtual void EnterF_name(refalParser.F_nameContext context)
Parameters
Type Name Description
refalParser.F_nameContext context

The parse tree.

| Improve this Doc View Source

EnterF_name_list(refalParser.F_name_listContext)

Enter a parse tree produced by f_name_list().

The default implementation does nothing.

Declaration
public virtual void EnterF_name_list(refalParser.F_name_listContext context)
Parameters
Type Name Description
refalParser.F_name_listContext context

The parse tree.

| Improve this Doc View Source

EnterIdentifier(refalParser.IdentifierContext)

Enter a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void EnterIdentifier(refalParser.IdentifierContext context)
Parameters
Type Name Description
refalParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

EnterIndex(refalParser.IndexContext)

Enter a parse tree produced by index().

The default implementation does nothing.

Declaration
public virtual void EnterIndex(refalParser.IndexContext context)
Parameters
Type Name Description
refalParser.IndexContext context

The parse tree.

| Improve this Doc View Source

EnterLeft_side(refalParser.Left_sideContext)

Enter a parse tree produced by left_side().

The default implementation does nothing.

Declaration
public virtual void EnterLeft_side(refalParser.Left_sideContext context)
Parameters
Type Name Description
refalParser.Left_sideContext context

The parse tree.

| Improve this Doc View Source

EnterPattern(refalParser.PatternContext)

Enter a parse tree produced by pattern().

The default implementation does nothing.

Declaration
public virtual void EnterPattern(refalParser.PatternContext context)
Parameters
Type Name Description
refalParser.PatternContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(refalParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void EnterProgram(refalParser.ProgramContext context)
Parameters
Type Name Description
refalParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

EnterRight_side(refalParser.Right_sideContext)

Enter a parse tree produced by right_side().

The default implementation does nothing.

Declaration
public virtual void EnterRight_side(refalParser.Right_sideContext context)
Parameters
Type Name Description
refalParser.Right_sideContext context

The parse tree.

| Improve this Doc View Source

EnterSentence(refalParser.SentenceContext)

Enter a parse tree produced by sentence().

The default implementation does nothing.

Declaration
public virtual void EnterSentence(refalParser.SentenceContext context)
Parameters
Type Name Description
refalParser.SentenceContext context

The parse tree.

| Improve this Doc View Source

EnterSvar(refalParser.SvarContext)

Enter a parse tree produced by svar().

The default implementation does nothing.

Declaration
public virtual void EnterSvar(refalParser.SvarContext context)
Parameters
Type Name Description
refalParser.SvarContext context

The parse tree.

| Improve this Doc View Source

EnterSymbol(refalParser.SymbolContext)

Enter a parse tree produced by symbol().

The default implementation does nothing.

Declaration
public virtual void EnterSymbol(refalParser.SymbolContext context)
Parameters
Type Name Description
refalParser.SymbolContext context

The parse tree.

| Improve this Doc View Source

EnterTerm_(refalParser.Term_Context)

Enter a parse tree produced by term_().

The default implementation does nothing.

Declaration
public virtual void EnterTerm_(refalParser.Term_Context context)
Parameters
Type Name Description
refalParser.Term_Context context

The parse tree.

| Improve this Doc View Source

EnterTvar(refalParser.TvarContext)

Enter a parse tree produced by tvar().

The default implementation does nothing.

Declaration
public virtual void EnterTvar(refalParser.TvarContext context)
Parameters
Type Name Description
refalParser.TvarContext context

The parse tree.

| Improve this Doc View Source

EnterVariable(refalParser.VariableContext)

Enter a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void EnterVariable(refalParser.VariableContext context)
Parameters
Type Name Description
refalParser.VariableContext context

The parse tree.

| Improve this Doc View Source

ExitArg_(refalParser.Arg_Context)

Exit a parse tree produced by arg_().

The default implementation does nothing.

Declaration
public virtual void ExitArg_(refalParser.Arg_Context context)
Parameters
Type Name Description
refalParser.Arg_Context context

The parse tree.

| Improve this Doc View Source

ExitBlock_(refalParser.Block_Context)

Exit a parse tree produced by block_().

The default implementation does nothing.

Declaration
public virtual void ExitBlock_(refalParser.Block_Context context)
Parameters
Type Name Description
refalParser.Block_Context context

The parse tree.

| Improve this Doc View Source

ExitBlock_ending(refalParser.Block_endingContext)

Exit a parse tree produced by block_ending().

The default implementation does nothing.

Declaration
public virtual void ExitBlock_ending(refalParser.Block_endingContext context)
Parameters
Type Name Description
refalParser.Block_endingContext context

The parse tree.

| Improve this Doc View Source

ExitConditions(refalParser.ConditionsContext)

Exit a parse tree produced by conditions().

The default implementation does nothing.

Declaration
public virtual void ExitConditions(refalParser.ConditionsContext context)
Parameters
Type Name Description
refalParser.ConditionsContext context

The parse tree.

| Improve this Doc View Source

ExitEvar(refalParser.EvarContext)

Exit a parse tree produced by evar().

The default implementation does nothing.

Declaration
public virtual void ExitEvar(refalParser.EvarContext context)
Parameters
Type Name Description
refalParser.EvarContext 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_(refalParser.Expression_Context)

Exit a parse tree produced by expression_().

The default implementation does nothing.

Declaration
public virtual void ExitExpression_(refalParser.Expression_Context context)
Parameters
Type Name Description
refalParser.Expression_Context context

The parse tree.

| Improve this Doc View Source

ExitExternal_decl(refalParser.External_declContext)

Exit a parse tree produced by external_decl().

The default implementation does nothing.

Declaration
public virtual void ExitExternal_decl(refalParser.External_declContext context)
Parameters
Type Name Description
refalParser.External_declContext context

The parse tree.

| Improve this Doc View Source

ExitF_definition(refalParser.F_definitionContext)

Exit a parse tree produced by f_definition().

The default implementation does nothing.

Declaration
public virtual void ExitF_definition(refalParser.F_definitionContext context)
Parameters
Type Name Description
refalParser.F_definitionContext context

The parse tree.

| Improve this Doc View Source

ExitF_name(refalParser.F_nameContext)

Exit a parse tree produced by f_name().

The default implementation does nothing.

Declaration
public virtual void ExitF_name(refalParser.F_nameContext context)
Parameters
Type Name Description
refalParser.F_nameContext context

The parse tree.

| Improve this Doc View Source

ExitF_name_list(refalParser.F_name_listContext)

Exit a parse tree produced by f_name_list().

The default implementation does nothing.

Declaration
public virtual void ExitF_name_list(refalParser.F_name_listContext context)
Parameters
Type Name Description
refalParser.F_name_listContext context

The parse tree.

| Improve this Doc View Source

ExitIdentifier(refalParser.IdentifierContext)

Exit a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void ExitIdentifier(refalParser.IdentifierContext context)
Parameters
Type Name Description
refalParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

ExitIndex(refalParser.IndexContext)

Exit a parse tree produced by index().

The default implementation does nothing.

Declaration
public virtual void ExitIndex(refalParser.IndexContext context)
Parameters
Type Name Description
refalParser.IndexContext context

The parse tree.

| Improve this Doc View Source

ExitLeft_side(refalParser.Left_sideContext)

Exit a parse tree produced by left_side().

The default implementation does nothing.

Declaration
public virtual void ExitLeft_side(refalParser.Left_sideContext context)
Parameters
Type Name Description
refalParser.Left_sideContext context

The parse tree.

| Improve this Doc View Source

ExitPattern(refalParser.PatternContext)

Exit a parse tree produced by pattern().

The default implementation does nothing.

Declaration
public virtual void ExitPattern(refalParser.PatternContext context)
Parameters
Type Name Description
refalParser.PatternContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(refalParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void ExitProgram(refalParser.ProgramContext context)
Parameters
Type Name Description
refalParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

ExitRight_side(refalParser.Right_sideContext)

Exit a parse tree produced by right_side().

The default implementation does nothing.

Declaration
public virtual void ExitRight_side(refalParser.Right_sideContext context)
Parameters
Type Name Description
refalParser.Right_sideContext context

The parse tree.

| Improve this Doc View Source

ExitSentence(refalParser.SentenceContext)

Exit a parse tree produced by sentence().

The default implementation does nothing.

Declaration
public virtual void ExitSentence(refalParser.SentenceContext context)
Parameters
Type Name Description
refalParser.SentenceContext context

The parse tree.

| Improve this Doc View Source

ExitSvar(refalParser.SvarContext)

Exit a parse tree produced by svar().

The default implementation does nothing.

Declaration
public virtual void ExitSvar(refalParser.SvarContext context)
Parameters
Type Name Description
refalParser.SvarContext context

The parse tree.

| Improve this Doc View Source

ExitSymbol(refalParser.SymbolContext)

Exit a parse tree produced by symbol().

The default implementation does nothing.

Declaration
public virtual void ExitSymbol(refalParser.SymbolContext context)
Parameters
Type Name Description
refalParser.SymbolContext context

The parse tree.

| Improve this Doc View Source

ExitTerm_(refalParser.Term_Context)

Exit a parse tree produced by term_().

The default implementation does nothing.

Declaration
public virtual void ExitTerm_(refalParser.Term_Context context)
Parameters
Type Name Description
refalParser.Term_Context context

The parse tree.

| Improve this Doc View Source

ExitTvar(refalParser.TvarContext)

Exit a parse tree produced by tvar().

The default implementation does nothing.

Declaration
public virtual void ExitTvar(refalParser.TvarContext context)
Parameters
Type Name Description
refalParser.TvarContext context

The parse tree.

| Improve this Doc View Source

ExitVariable(refalParser.VariableContext)

Exit a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void ExitVariable(refalParser.VariableContext context)
Parameters
Type Name Description
refalParser.VariableContext 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

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