Show / Hide Table of Contents

Interface ICOOLListener

This interface defines a complete listener for a parse tree produced by COOLParser.

Namespace: GCore.Antlr.Grammers.Cool
Assembly: Cool.dll
Syntax
public interface ICOOLListener : Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAdd(COOLParser.AddContext)

Enter a parse tree produced by the add labeled alternative in expression().

Declaration
void EnterAdd(COOLParser.AddContext context)
Parameters
Type Name Description
COOLParser.AddContext context

The parse tree.

| Improve this Doc View Source

EnterAssignment(COOLParser.AssignmentContext)

Enter a parse tree produced by the assignment labeled alternative in expression().

Declaration
void EnterAssignment(COOLParser.AssignmentContext context)
Parameters
Type Name Description
COOLParser.AssignmentContext context

The parse tree.

| Improve this Doc View Source

EnterBlock(COOLParser.BlockContext)

Enter a parse tree produced by the block labeled alternative in expression().

Declaration
void EnterBlock(COOLParser.BlockContext context)
Parameters
Type Name Description
COOLParser.BlockContext context

The parse tree.

| Improve this Doc View Source

EnterBoolNot(COOLParser.BoolNotContext)

Enter a parse tree produced by the boolNot labeled alternative in expression().

Declaration
void EnterBoolNot(COOLParser.BoolNotContext context)
Parameters
Type Name Description
COOLParser.BoolNotContext context

The parse tree.

| Improve this Doc View Source

EnterCase(COOLParser.CaseContext)

Enter a parse tree produced by the case labeled alternative in expression().

Declaration
void EnterCase(COOLParser.CaseContext context)
Parameters
Type Name Description
COOLParser.CaseContext context

The parse tree.

| Improve this Doc View Source

EnterClassDefine(COOLParser.ClassDefineContext)

Enter a parse tree produced by classDefine().

Declaration
void EnterClassDefine(COOLParser.ClassDefineContext context)
Parameters
Type Name Description
COOLParser.ClassDefineContext context

The parse tree.

| Improve this Doc View Source

EnterClasses(COOLParser.ClassesContext)

Enter a parse tree produced by the classes labeled alternative in programBlocks().

Declaration
void EnterClasses(COOLParser.ClassesContext context)
Parameters
Type Name Description
COOLParser.ClassesContext context

The parse tree.

| Improve this Doc View Source

EnterDivision(COOLParser.DivisionContext)

Enter a parse tree produced by the division labeled alternative in expression().

Declaration
void EnterDivision(COOLParser.DivisionContext context)
Parameters
Type Name Description
COOLParser.DivisionContext context

The parse tree.

| Improve this Doc View Source

EnterEof(COOLParser.EofContext)

Enter a parse tree produced by the eof labeled alternative in programBlocks().

Declaration
void EnterEof(COOLParser.EofContext context)
Parameters
Type Name Description
COOLParser.EofContext context

The parse tree.

| Improve this Doc View Source

EnterEqual(COOLParser.EqualContext)

Enter a parse tree produced by the equal labeled alternative in expression().

Declaration
void EnterEqual(COOLParser.EqualContext context)
Parameters
Type Name Description
COOLParser.EqualContext context

The parse tree.

| Improve this Doc View Source

EnterFalse(COOLParser.FalseContext)

Enter a parse tree produced by the false labeled alternative in expression().

Declaration
void EnterFalse(COOLParser.FalseContext context)
Parameters
Type Name Description
COOLParser.FalseContext context

The parse tree.

| Improve this Doc View Source

EnterFormal(COOLParser.FormalContext)

Enter a parse tree produced by formal().

Declaration
void EnterFormal(COOLParser.FormalContext context)
Parameters
Type Name Description
COOLParser.FormalContext context

The parse tree.

| Improve this Doc View Source

EnterId(COOLParser.IdContext)

Enter a parse tree produced by the id labeled alternative in expression().

Declaration
void EnterId(COOLParser.IdContext context)
Parameters
Type Name Description
COOLParser.IdContext context

The parse tree.

| Improve this Doc View Source

EnterIf(COOLParser.IfContext)

Enter a parse tree produced by the if labeled alternative in expression().

Declaration
void EnterIf(COOLParser.IfContext context)
Parameters
Type Name Description
COOLParser.IfContext context

The parse tree.

| Improve this Doc View Source

EnterInt(COOLParser.IntContext)

Enter a parse tree produced by the int labeled alternative in expression().

Declaration
void EnterInt(COOLParser.IntContext context)
Parameters
Type Name Description
COOLParser.IntContext context

The parse tree.

| Improve this Doc View Source

EnterIsvoid(COOLParser.IsvoidContext)

Enter a parse tree produced by the isvoid labeled alternative in expression().

Declaration
void EnterIsvoid(COOLParser.IsvoidContext context)
Parameters
Type Name Description
COOLParser.IsvoidContext context

The parse tree.

| Improve this Doc View Source

EnterLessEqual(COOLParser.LessEqualContext)

Enter a parse tree produced by the lessEqual labeled alternative in expression().

Declaration
void EnterLessEqual(COOLParser.LessEqualContext context)
Parameters
Type Name Description
COOLParser.LessEqualContext context

The parse tree.

| Improve this Doc View Source

EnterLessThan(COOLParser.LessThanContext)

Enter a parse tree produced by the lessThan labeled alternative in expression().

Declaration
void EnterLessThan(COOLParser.LessThanContext context)
Parameters
Type Name Description
COOLParser.LessThanContext context

The parse tree.

| Improve this Doc View Source

EnterLetIn(COOLParser.LetInContext)

Enter a parse tree produced by the letIn labeled alternative in expression().

Declaration
void EnterLetIn(COOLParser.LetInContext context)
Parameters
Type Name Description
COOLParser.LetInContext context

The parse tree.

| Improve this Doc View Source

EnterMethod(COOLParser.MethodContext)

Enter a parse tree produced by the method labeled alternative in feature().

Declaration
void EnterMethod(COOLParser.MethodContext context)
Parameters
Type Name Description
COOLParser.MethodContext context

The parse tree.

| Improve this Doc View Source

EnterMethodCall(COOLParser.MethodCallContext)

Enter a parse tree produced by the methodCall labeled alternative in expression().

Declaration
void EnterMethodCall(COOLParser.MethodCallContext context)
Parameters
Type Name Description
COOLParser.MethodCallContext context

The parse tree.

| Improve this Doc View Source

EnterMinus(COOLParser.MinusContext)

Enter a parse tree produced by the minus labeled alternative in expression().

Declaration
void EnterMinus(COOLParser.MinusContext context)
Parameters
Type Name Description
COOLParser.MinusContext context

The parse tree.

| Improve this Doc View Source

EnterMultiply(COOLParser.MultiplyContext)

Enter a parse tree produced by the multiply labeled alternative in expression().

Declaration
void EnterMultiply(COOLParser.MultiplyContext context)
Parameters
Type Name Description
COOLParser.MultiplyContext context

The parse tree.

| Improve this Doc View Source

EnterNegative(COOLParser.NegativeContext)

Enter a parse tree produced by the negative labeled alternative in expression().

Declaration
void EnterNegative(COOLParser.NegativeContext context)
Parameters
Type Name Description
COOLParser.NegativeContext context

The parse tree.

| Improve this Doc View Source

EnterNew(COOLParser.NewContext)

Enter a parse tree produced by the new labeled alternative in expression().

Declaration
void EnterNew(COOLParser.NewContext context)
Parameters
Type Name Description
COOLParser.NewContext context

The parse tree.

| Improve this Doc View Source

EnterOwnMethodCall(COOLParser.OwnMethodCallContext)

Enter a parse tree produced by the ownMethodCall labeled alternative in expression().

Declaration
void EnterOwnMethodCall(COOLParser.OwnMethodCallContext context)
Parameters
Type Name Description
COOLParser.OwnMethodCallContext context

The parse tree.

| Improve this Doc View Source

EnterParentheses(COOLParser.ParenthesesContext)

Enter a parse tree produced by the parentheses labeled alternative in expression().

Declaration
void EnterParentheses(COOLParser.ParenthesesContext context)
Parameters
Type Name Description
COOLParser.ParenthesesContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(COOLParser.ProgramContext)

Enter a parse tree produced by program().

Declaration
void EnterProgram(COOLParser.ProgramContext context)
Parameters
Type Name Description
COOLParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

EnterProperty(COOLParser.PropertyContext)

Enter a parse tree produced by the property labeled alternative in feature().

Declaration
void EnterProperty(COOLParser.PropertyContext context)
Parameters
Type Name Description
COOLParser.PropertyContext context

The parse tree.

| Improve this Doc View Source

EnterString(COOLParser.StringContext)

Enter a parse tree produced by the string labeled alternative in expression().

Declaration
void EnterString(COOLParser.StringContext context)
Parameters
Type Name Description
COOLParser.StringContext context

The parse tree.

| Improve this Doc View Source

EnterTrue(COOLParser.TrueContext)

Enter a parse tree produced by the true labeled alternative in expression().

Declaration
void EnterTrue(COOLParser.TrueContext context)
Parameters
Type Name Description
COOLParser.TrueContext context

The parse tree.

| Improve this Doc View Source

EnterWhile(COOLParser.WhileContext)

Enter a parse tree produced by the while labeled alternative in expression().

Declaration
void EnterWhile(COOLParser.WhileContext context)
Parameters
Type Name Description
COOLParser.WhileContext context

The parse tree.

| Improve this Doc View Source

ExitAdd(COOLParser.AddContext)

Exit a parse tree produced by the add labeled alternative in expression().

Declaration
void ExitAdd(COOLParser.AddContext context)
Parameters
Type Name Description
COOLParser.AddContext context

The parse tree.

| Improve this Doc View Source

ExitAssignment(COOLParser.AssignmentContext)

Exit a parse tree produced by the assignment labeled alternative in expression().

Declaration
void ExitAssignment(COOLParser.AssignmentContext context)
Parameters
Type Name Description
COOLParser.AssignmentContext context

The parse tree.

| Improve this Doc View Source

ExitBlock(COOLParser.BlockContext)

Exit a parse tree produced by the block labeled alternative in expression().

Declaration
void ExitBlock(COOLParser.BlockContext context)
Parameters
Type Name Description
COOLParser.BlockContext context

The parse tree.

| Improve this Doc View Source

ExitBoolNot(COOLParser.BoolNotContext)

Exit a parse tree produced by the boolNot labeled alternative in expression().

Declaration
void ExitBoolNot(COOLParser.BoolNotContext context)
Parameters
Type Name Description
COOLParser.BoolNotContext context

The parse tree.

| Improve this Doc View Source

ExitCase(COOLParser.CaseContext)

Exit a parse tree produced by the case labeled alternative in expression().

Declaration
void ExitCase(COOLParser.CaseContext context)
Parameters
Type Name Description
COOLParser.CaseContext context

The parse tree.

| Improve this Doc View Source

ExitClassDefine(COOLParser.ClassDefineContext)

Exit a parse tree produced by classDefine().

Declaration
void ExitClassDefine(COOLParser.ClassDefineContext context)
Parameters
Type Name Description
COOLParser.ClassDefineContext context

The parse tree.

| Improve this Doc View Source

ExitClasses(COOLParser.ClassesContext)

Exit a parse tree produced by the classes labeled alternative in programBlocks().

Declaration
void ExitClasses(COOLParser.ClassesContext context)
Parameters
Type Name Description
COOLParser.ClassesContext context

The parse tree.

| Improve this Doc View Source

ExitDivision(COOLParser.DivisionContext)

Exit a parse tree produced by the division labeled alternative in expression().

Declaration
void ExitDivision(COOLParser.DivisionContext context)
Parameters
Type Name Description
COOLParser.DivisionContext context

The parse tree.

| Improve this Doc View Source

ExitEof(COOLParser.EofContext)

Exit a parse tree produced by the eof labeled alternative in programBlocks().

Declaration
void ExitEof(COOLParser.EofContext context)
Parameters
Type Name Description
COOLParser.EofContext context

The parse tree.

| Improve this Doc View Source

ExitEqual(COOLParser.EqualContext)

Exit a parse tree produced by the equal labeled alternative in expression().

Declaration
void ExitEqual(COOLParser.EqualContext context)
Parameters
Type Name Description
COOLParser.EqualContext context

The parse tree.

| Improve this Doc View Source

ExitFalse(COOLParser.FalseContext)

Exit a parse tree produced by the false labeled alternative in expression().

Declaration
void ExitFalse(COOLParser.FalseContext context)
Parameters
Type Name Description
COOLParser.FalseContext context

The parse tree.

| Improve this Doc View Source

ExitFormal(COOLParser.FormalContext)

Exit a parse tree produced by formal().

Declaration
void ExitFormal(COOLParser.FormalContext context)
Parameters
Type Name Description
COOLParser.FormalContext context

The parse tree.

| Improve this Doc View Source

ExitId(COOLParser.IdContext)

Exit a parse tree produced by the id labeled alternative in expression().

Declaration
void ExitId(COOLParser.IdContext context)
Parameters
Type Name Description
COOLParser.IdContext context

The parse tree.

| Improve this Doc View Source

ExitIf(COOLParser.IfContext)

Exit a parse tree produced by the if labeled alternative in expression().

Declaration
void ExitIf(COOLParser.IfContext context)
Parameters
Type Name Description
COOLParser.IfContext context

The parse tree.

| Improve this Doc View Source

ExitInt(COOLParser.IntContext)

Exit a parse tree produced by the int labeled alternative in expression().

Declaration
void ExitInt(COOLParser.IntContext context)
Parameters
Type Name Description
COOLParser.IntContext context

The parse tree.

| Improve this Doc View Source

ExitIsvoid(COOLParser.IsvoidContext)

Exit a parse tree produced by the isvoid labeled alternative in expression().

Declaration
void ExitIsvoid(COOLParser.IsvoidContext context)
Parameters
Type Name Description
COOLParser.IsvoidContext context

The parse tree.

| Improve this Doc View Source

ExitLessEqual(COOLParser.LessEqualContext)

Exit a parse tree produced by the lessEqual labeled alternative in expression().

Declaration
void ExitLessEqual(COOLParser.LessEqualContext context)
Parameters
Type Name Description
COOLParser.LessEqualContext context

The parse tree.

| Improve this Doc View Source

ExitLessThan(COOLParser.LessThanContext)

Exit a parse tree produced by the lessThan labeled alternative in expression().

Declaration
void ExitLessThan(COOLParser.LessThanContext context)
Parameters
Type Name Description
COOLParser.LessThanContext context

The parse tree.

| Improve this Doc View Source

ExitLetIn(COOLParser.LetInContext)

Exit a parse tree produced by the letIn labeled alternative in expression().

Declaration
void ExitLetIn(COOLParser.LetInContext context)
Parameters
Type Name Description
COOLParser.LetInContext context

The parse tree.

| Improve this Doc View Source

ExitMethod(COOLParser.MethodContext)

Exit a parse tree produced by the method labeled alternative in feature().

Declaration
void ExitMethod(COOLParser.MethodContext context)
Parameters
Type Name Description
COOLParser.MethodContext context

The parse tree.

| Improve this Doc View Source

ExitMethodCall(COOLParser.MethodCallContext)

Exit a parse tree produced by the methodCall labeled alternative in expression().

Declaration
void ExitMethodCall(COOLParser.MethodCallContext context)
Parameters
Type Name Description
COOLParser.MethodCallContext context

The parse tree.

| Improve this Doc View Source

ExitMinus(COOLParser.MinusContext)

Exit a parse tree produced by the minus labeled alternative in expression().

Declaration
void ExitMinus(COOLParser.MinusContext context)
Parameters
Type Name Description
COOLParser.MinusContext context

The parse tree.

| Improve this Doc View Source

ExitMultiply(COOLParser.MultiplyContext)

Exit a parse tree produced by the multiply labeled alternative in expression().

Declaration
void ExitMultiply(COOLParser.MultiplyContext context)
Parameters
Type Name Description
COOLParser.MultiplyContext context

The parse tree.

| Improve this Doc View Source

ExitNegative(COOLParser.NegativeContext)

Exit a parse tree produced by the negative labeled alternative in expression().

Declaration
void ExitNegative(COOLParser.NegativeContext context)
Parameters
Type Name Description
COOLParser.NegativeContext context

The parse tree.

| Improve this Doc View Source

ExitNew(COOLParser.NewContext)

Exit a parse tree produced by the new labeled alternative in expression().

Declaration
void ExitNew(COOLParser.NewContext context)
Parameters
Type Name Description
COOLParser.NewContext context

The parse tree.

| Improve this Doc View Source

ExitOwnMethodCall(COOLParser.OwnMethodCallContext)

Exit a parse tree produced by the ownMethodCall labeled alternative in expression().

Declaration
void ExitOwnMethodCall(COOLParser.OwnMethodCallContext context)
Parameters
Type Name Description
COOLParser.OwnMethodCallContext context

The parse tree.

| Improve this Doc View Source

ExitParentheses(COOLParser.ParenthesesContext)

Exit a parse tree produced by the parentheses labeled alternative in expression().

Declaration
void ExitParentheses(COOLParser.ParenthesesContext context)
Parameters
Type Name Description
COOLParser.ParenthesesContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(COOLParser.ProgramContext)

Exit a parse tree produced by program().

Declaration
void ExitProgram(COOLParser.ProgramContext context)
Parameters
Type Name Description
COOLParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

ExitProperty(COOLParser.PropertyContext)

Exit a parse tree produced by the property labeled alternative in feature().

Declaration
void ExitProperty(COOLParser.PropertyContext context)
Parameters
Type Name Description
COOLParser.PropertyContext context

The parse tree.

| Improve this Doc View Source

ExitString(COOLParser.StringContext)

Exit a parse tree produced by the string labeled alternative in expression().

Declaration
void ExitString(COOLParser.StringContext context)
Parameters
Type Name Description
COOLParser.StringContext context

The parse tree.

| Improve this Doc View Source

ExitTrue(COOLParser.TrueContext)

Exit a parse tree produced by the true labeled alternative in expression().

Declaration
void ExitTrue(COOLParser.TrueContext context)
Parameters
Type Name Description
COOLParser.TrueContext context

The parse tree.

| Improve this Doc View Source

ExitWhile(COOLParser.WhileContext)

Exit a parse tree produced by the while labeled alternative in expression().

Declaration
void ExitWhile(COOLParser.WhileContext context)
Parameters
Type Name Description
COOLParser.WhileContext context

The parse tree.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX