Show / Hide Table of Contents

Class brainfuckBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitFile_(brainfuckParser.File_Context)

Visit a parse tree produced by file_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFile_(brainfuckParser.File_Context context)
Parameters
Type Name Description
brainfuckParser.File_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOpcode(brainfuckParser.OpcodeContext)

Visit a parse tree produced by opcode().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOpcode(brainfuckParser.OpcodeContext context)
Parameters
Type Name Description
brainfuckParser.OpcodeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStatement(brainfuckParser.StatementContext)

Visit a parse tree produced by statement().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStatement(brainfuckParser.StatementContext context)
Parameters
Type Name Description
brainfuckParser.StatementContext context

The parse tree.

Returns
Type Description
Result

Implements

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