Show / Hide Table of Contents

Class janusBaseListener

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

Inheritance
System.Object
janusBaseListener
Implements
IjanusListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Janus
Assembly: Janus.dll
Syntax
public class janusBaseListener : object, IjanusListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterCallstmt(janusParser.CallstmtContext)

Enter a parse tree produced by callstmt().

The default implementation does nothing.

Declaration
public virtual void EnterCallstmt(janusParser.CallstmtContext context)
Parameters
Type Name Description
janusParser.CallstmtContext context

The parse tree.

| Improve this Doc View Source

EnterConstant(janusParser.ConstantContext)

Enter a parse tree produced by constant().

The default implementation does nothing.

Declaration
public virtual void EnterConstant(janusParser.ConstantContext context)
Parameters
Type Name Description
janusParser.ConstantContext context

The parse tree.

| Improve this Doc View Source

EnterDostmt(janusParser.DostmtContext)

Enter a parse tree produced by dostmt().

The default implementation does nothing.

Declaration
public virtual void EnterDostmt(janusParser.DostmtContext context)
Parameters
Type Name Description
janusParser.DostmtContext 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(janusParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterIfstmt(janusParser.IfstmtContext)

Enter a parse tree produced by ifstmt().

The default implementation does nothing.

Declaration
public virtual void EnterIfstmt(janusParser.IfstmtContext context)
Parameters
Type Name Description
janusParser.IfstmtContext context

The parse tree.

| Improve this Doc View Source

EnterLvalstmt(janusParser.LvalstmtContext)

Enter a parse tree produced by lvalstmt().

The default implementation does nothing.

Declaration
public virtual void EnterLvalstmt(janusParser.LvalstmtContext context)
Parameters
Type Name Description
janusParser.LvalstmtContext context

The parse tree.

| Improve this Doc View Source

EnterLvalue(janusParser.LvalueContext)

Enter a parse tree produced by lvalue().

The default implementation does nothing.

Declaration
public virtual void EnterLvalue(janusParser.LvalueContext context)
Parameters
Type Name Description
janusParser.LvalueContext context

The parse tree.

| Improve this Doc View Source

EnterMinexp(janusParser.MinexpContext)

Enter a parse tree produced by minexp().

The default implementation does nothing.

Declaration
public virtual void EnterMinexp(janusParser.MinexpContext context)
Parameters
Type Name Description
janusParser.MinexpContext context

The parse tree.

| Improve this Doc View Source

EnterModstmt(janusParser.ModstmtContext)

Enter a parse tree produced by modstmt().

The default implementation does nothing.

Declaration
public virtual void EnterModstmt(janusParser.ModstmtContext context)
Parameters
Type Name Description
janusParser.ModstmtContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(janusParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterReadstmt(janusParser.ReadstmtContext)

Enter a parse tree produced by readstmt().

The default implementation does nothing.

Declaration
public virtual void EnterReadstmt(janusParser.ReadstmtContext context)
Parameters
Type Name Description
janusParser.ReadstmtContext context

The parse tree.

| Improve this Doc View Source

EnterStatement(janusParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterStatements(janusParser.StatementsContext)

Enter a parse tree produced by statements().

The default implementation does nothing.

Declaration
public virtual void EnterStatements(janusParser.StatementsContext context)
Parameters
Type Name Description
janusParser.StatementsContext context

The parse tree.

| Improve this Doc View Source

EnterSwapstmt(janusParser.SwapstmtContext)

Enter a parse tree produced by swapstmt().

The default implementation does nothing.

Declaration
public virtual void EnterSwapstmt(janusParser.SwapstmtContext context)
Parameters
Type Name Description
janusParser.SwapstmtContext context

The parse tree.

| Improve this Doc View Source

EnterWritestmt(janusParser.WritestmtContext)

Enter a parse tree produced by writestmt().

The default implementation does nothing.

Declaration
public virtual void EnterWritestmt(janusParser.WritestmtContext context)
Parameters
Type Name Description
janusParser.WritestmtContext context

The parse tree.

| Improve this Doc View Source

ExitCallstmt(janusParser.CallstmtContext)

Exit a parse tree produced by callstmt().

The default implementation does nothing.

Declaration
public virtual void ExitCallstmt(janusParser.CallstmtContext context)
Parameters
Type Name Description
janusParser.CallstmtContext context

The parse tree.

| Improve this Doc View Source

ExitConstant(janusParser.ConstantContext)

Exit a parse tree produced by constant().

The default implementation does nothing.

Declaration
public virtual void ExitConstant(janusParser.ConstantContext context)
Parameters
Type Name Description
janusParser.ConstantContext context

The parse tree.

| Improve this Doc View Source

ExitDostmt(janusParser.DostmtContext)

Exit a parse tree produced by dostmt().

The default implementation does nothing.

Declaration
public virtual void ExitDostmt(janusParser.DostmtContext context)
Parameters
Type Name Description
janusParser.DostmtContext 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(janusParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitIfstmt(janusParser.IfstmtContext)

Exit a parse tree produced by ifstmt().

The default implementation does nothing.

Declaration
public virtual void ExitIfstmt(janusParser.IfstmtContext context)
Parameters
Type Name Description
janusParser.IfstmtContext context

The parse tree.

| Improve this Doc View Source

ExitLvalstmt(janusParser.LvalstmtContext)

Exit a parse tree produced by lvalstmt().

The default implementation does nothing.

Declaration
public virtual void ExitLvalstmt(janusParser.LvalstmtContext context)
Parameters
Type Name Description
janusParser.LvalstmtContext context

The parse tree.

| Improve this Doc View Source

ExitLvalue(janusParser.LvalueContext)

Exit a parse tree produced by lvalue().

The default implementation does nothing.

Declaration
public virtual void ExitLvalue(janusParser.LvalueContext context)
Parameters
Type Name Description
janusParser.LvalueContext context

The parse tree.

| Improve this Doc View Source

ExitMinexp(janusParser.MinexpContext)

Exit a parse tree produced by minexp().

The default implementation does nothing.

Declaration
public virtual void ExitMinexp(janusParser.MinexpContext context)
Parameters
Type Name Description
janusParser.MinexpContext context

The parse tree.

| Improve this Doc View Source

ExitModstmt(janusParser.ModstmtContext)

Exit a parse tree produced by modstmt().

The default implementation does nothing.

Declaration
public virtual void ExitModstmt(janusParser.ModstmtContext context)
Parameters
Type Name Description
janusParser.ModstmtContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(janusParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitReadstmt(janusParser.ReadstmtContext)

Exit a parse tree produced by readstmt().

The default implementation does nothing.

Declaration
public virtual void ExitReadstmt(janusParser.ReadstmtContext context)
Parameters
Type Name Description
janusParser.ReadstmtContext context

The parse tree.

| Improve this Doc View Source

ExitStatement(janusParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitStatements(janusParser.StatementsContext)

Exit a parse tree produced by statements().

The default implementation does nothing.

Declaration
public virtual void ExitStatements(janusParser.StatementsContext context)
Parameters
Type Name Description
janusParser.StatementsContext context

The parse tree.

| Improve this Doc View Source

ExitSwapstmt(janusParser.SwapstmtContext)

Exit a parse tree produced by swapstmt().

The default implementation does nothing.

Declaration
public virtual void ExitSwapstmt(janusParser.SwapstmtContext context)
Parameters
Type Name Description
janusParser.SwapstmtContext context

The parse tree.

| Improve this Doc View Source

ExitWritestmt(janusParser.WritestmtContext)

Exit a parse tree produced by writestmt().

The default implementation does nothing.

Declaration
public virtual void ExitWritestmt(janusParser.WritestmtContext context)
Parameters
Type Name Description
janusParser.WritestmtContext 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

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