Show / Hide Table of Contents

Class sickbayBaseVisitor<Result>

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

Inheritance
System.Object
sickbayBaseVisitor<Result>
Implements
IsickbayVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Sickbay
Assembly: Sickbay.dll
Syntax
public class sickbayBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IsickbayVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitIntExpr(sickbayParser.IntExprContext)

Visit a parse tree produced by intExpr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIntExpr(sickbayParser.IntExprContext context)
Parameters
Type Name Description
sickbayParser.IntExprContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIntVar(sickbayParser.IntVarContext)

Visit a parse tree produced by intVar().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIntVar(sickbayParser.IntVarContext context)
Parameters
Type Name Description
sickbayParser.IntVarContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLine(sickbayParser.LineContext)

Visit a parse tree produced by line().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLine(sickbayParser.LineContext context)
Parameters
Type Name Description
sickbayParser.LineContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSickbay(sickbayParser.SickbayContext)

Visit a parse tree produced by sickbay().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSickbay(sickbayParser.SickbayContext context)
Parameters
Type Name Description
sickbayParser.SickbayContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStmt(sickbayParser.StmtContext)

Visit a parse tree produced by stmt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStmt(sickbayParser.StmtContext context)
Parameters
Type Name Description
sickbayParser.StmtContext context

The parse tree.

Returns
Type Description
Result

Implements

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