add antlr
This commit is contained in:
25
lib/generated/bfListener.h
Normal file
25
lib/generated/bfListener.h
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
// 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 interface defines an abstract listener for a parse tree produced by bfParser.
|
||||
*/
|
||||
class bfListener : public antlr4::tree::ParseTreeListener {
|
||||
public:
|
||||
|
||||
virtual void enterProgram(bfParser::ProgramContext *ctx) = 0;
|
||||
virtual void exitProgram(bfParser::ProgramContext *ctx) = 0;
|
||||
|
||||
virtual void enterStatements(bfParser::StatementsContext *ctx) = 0;
|
||||
virtual void exitStatements(bfParser::StatementsContext *ctx) = 0;
|
||||
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user