Interface IkarelListener
This interface defines a complete listener for a parse tree produced by karelParser.
Namespace: GCore.Antlr.Grammers.Karel
Assembly: Karel.dll
Syntax
public interface IkarelListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBlock(karelParser.BlockContext)
Enter a parse tree produced by block().
Declaration
void EnterBlock(karelParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.BlockContext | context | The parse tree. |
EnterCondition(karelParser.ConditionContext)
Enter a parse tree produced by condition().
Declaration
void EnterCondition(karelParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.ConditionContext | context | The parse tree. |
EnterConditional(karelParser.ConditionalContext)
Enter a parse tree produced by conditional().
Declaration
void EnterConditional(karelParser.ConditionalContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.ConditionalContext | context | The parse tree. |
EnterDefinition(karelParser.DefinitionContext)
Enter a parse tree produced by definition().
Declaration
void EnterDefinition(karelParser.DefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.DefinitionContext | context | The parse tree. |
EnterInstruction(karelParser.InstructionContext)
Enter a parse tree produced by instruction().
Declaration
void EnterInstruction(karelParser.InstructionContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.InstructionContext | context | The parse tree. |
EnterIteration(karelParser.IterationContext)
Enter a parse tree produced by iteration().
Declaration
void EnterIteration(karelParser.IterationContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.IterationContext | context | The parse tree. |
EnterKarel(karelParser.KarelContext)
Enter a parse tree produced by karel().
Declaration
void EnterKarel(karelParser.KarelContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.KarelContext | context | The parse tree. |
EnterLoop(karelParser.LoopContext)
Enter a parse tree produced by loop().
Declaration
void EnterLoop(karelParser.LoopContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.LoopContext | context | The parse tree. |
EnterNumber(karelParser.NumberContext)
Enter a parse tree produced by number().
Declaration
void EnterNumber(karelParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.NumberContext | context | The parse tree. |
EnterStatement(karelParser.StatementContext)
Enter a parse tree produced by statement().
Declaration
void EnterStatement(karelParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.StatementContext | context | The parse tree. |
ExitBlock(karelParser.BlockContext)
Exit a parse tree produced by block().
Declaration
void ExitBlock(karelParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.BlockContext | context | The parse tree. |
ExitCondition(karelParser.ConditionContext)
Exit a parse tree produced by condition().
Declaration
void ExitCondition(karelParser.ConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.ConditionContext | context | The parse tree. |
ExitConditional(karelParser.ConditionalContext)
Exit a parse tree produced by conditional().
Declaration
void ExitConditional(karelParser.ConditionalContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.ConditionalContext | context | The parse tree. |
ExitDefinition(karelParser.DefinitionContext)
Exit a parse tree produced by definition().
Declaration
void ExitDefinition(karelParser.DefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.DefinitionContext | context | The parse tree. |
ExitInstruction(karelParser.InstructionContext)
Exit a parse tree produced by instruction().
Declaration
void ExitInstruction(karelParser.InstructionContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.InstructionContext | context | The parse tree. |
ExitIteration(karelParser.IterationContext)
Exit a parse tree produced by iteration().
Declaration
void ExitIteration(karelParser.IterationContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.IterationContext | context | The parse tree. |
ExitKarel(karelParser.KarelContext)
Exit a parse tree produced by karel().
Declaration
void ExitKarel(karelParser.KarelContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.KarelContext | context | The parse tree. |
ExitLoop(karelParser.LoopContext)
Exit a parse tree produced by loop().
Declaration
void ExitLoop(karelParser.LoopContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.LoopContext | context | The parse tree. |
ExitNumber(karelParser.NumberContext)
Exit a parse tree produced by number().
Declaration
void ExitNumber(karelParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.NumberContext | context | The parse tree. |
ExitStatement(karelParser.StatementContext)
Exit a parse tree produced by statement().
Declaration
void ExitStatement(karelParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
karelParser.StatementContext | context | The parse tree. |