Show / Hide Table of Contents

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 Source

VisitCommand_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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX