Show / Hide Table of Contents

Class CMakeBaseVisitor<Result>

This class provides an empty implementation of ICMakeVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
CMakeBaseVisitor<Result>
Implements
ICMakeVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Cmake
Assembly: Cmake.dll
Syntax
public class CMakeBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, 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().

The default implementation returns the result of calling on context.

Declaration
public virtual 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().

The default implementation returns the result of calling on context.

Declaration
public virtual 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_().

The default implementation returns the result of calling on context.

Declaration
public virtual 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().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSingle_argument(CMakeParser.Single_argumentContext context)
Parameters
Type Name Description
CMakeParser.Single_argumentContext context

The parse tree.

Returns
Type Description
Result

Implements

ICMakeVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX