Class CMakeBaseListener
This class provides an empty implementation of ICMakeListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Cmake
Assembly: Cmake.dll
Syntax
public class CMakeBaseListener : object, ICMakeListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterCommand_invocation(CMakeParser.Command_invocationContext)
Enter a parse tree produced by command_invocation().
The default implementation does nothing.
Declaration
public virtual void EnterCommand_invocation(CMakeParser.Command_invocationContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Command_invocationContext | context | The parse tree. |
EnterCompound_argument(CMakeParser.Compound_argumentContext)
Enter a parse tree produced by compound_argument().
The default implementation does nothing.
Declaration
public virtual void EnterCompound_argument(CMakeParser.Compound_argumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Compound_argumentContext | context | The parse tree. |
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.
EnterFile_(CMakeParser.File_Context)
Enter a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void EnterFile_(CMakeParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.File_Context | context | The parse tree. |
EnterSingle_argument(CMakeParser.Single_argumentContext)
Enter a parse tree produced by single_argument().
The default implementation does nothing.
Declaration
public virtual void EnterSingle_argument(CMakeParser.Single_argumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Single_argumentContext | context | The parse tree. |
ExitCommand_invocation(CMakeParser.Command_invocationContext)
Exit a parse tree produced by command_invocation().
The default implementation does nothing.
Declaration
public virtual void ExitCommand_invocation(CMakeParser.Command_invocationContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Command_invocationContext | context | The parse tree. |
ExitCompound_argument(CMakeParser.Compound_argumentContext)
Exit a parse tree produced by compound_argument().
The default implementation does nothing.
Declaration
public virtual void ExitCompound_argument(CMakeParser.Compound_argumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Compound_argumentContext | context | The parse tree. |
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.
ExitFile_(CMakeParser.File_Context)
Exit a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void ExitFile_(CMakeParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.File_Context | context | The parse tree. |
ExitSingle_argument(CMakeParser.Single_argumentContext)
Exit a parse tree produced by single_argument().
The default implementation does nothing.
Declaration
public virtual void ExitSingle_argument(CMakeParser.Single_argumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Single_argumentContext | context | The parse tree. |
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.
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.