Interface ICMakeVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by CMakeParser.
Namespace: GCore.Antlr.Grammers.Cmake
Assembly: Cmake.dll
Syntax
public interface ICMakeVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitCommand_invocation(CMakeParser.Command_invocationContext)
Visit a parse tree produced by command_invocation().
Declaration
Result VisitCommand_invocation(CMakeParser.Command_invocationContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Command_invocationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCompound_argument(CMakeParser.Compound_argumentContext)
Visit a parse tree produced by compound_argument().
Declaration
Result VisitCompound_argument(CMakeParser.Compound_argumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Compound_argumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFile_(CMakeParser.File_Context)
Visit a parse tree produced by file_().
Declaration
Result VisitFile_(CMakeParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.File_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSingle_argument(CMakeParser.Single_argumentContext)
Visit a parse tree produced by single_argument().
Declaration
Result VisitSingle_argument(CMakeParser.Single_argumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CMakeParser.Single_argumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |