29 lines
561 B
C
29 lines
561 B
C
|
|
||
|
// Generated from /home/atreya/Documents/Projects/Miscellaneous/bfc/grammar/bf.g4 by ANTLR 4.8
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
|
||
|
#include "antlr4-runtime.h"
|
||
|
#include "bfParser.h"
|
||
|
|
||
|
|
||
|
|
||
|
/**
|
||
|
* This class defines an abstract visitor for a parse tree
|
||
|
* produced by bfParser.
|
||
|
*/
|
||
|
class bfVisitor : public antlr4::tree::AbstractParseTreeVisitor {
|
||
|
public:
|
||
|
|
||
|
/**
|
||
|
* Visit parse trees produced by bfParser.
|
||
|
*/
|
||
|
virtual antlrcpp::Any visitProgram(bfParser::ProgramContext *context) = 0;
|
||
|
|
||
|
virtual antlrcpp::Any visitStatements(bfParser::StatementsContext *context) = 0;
|
||
|
|
||
|
|
||
|
};
|
||
|
|