-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMyScriptVisitor.h
More file actions
36 lines (20 loc) · 885 Bytes
/
MyScriptVisitor.h
File metadata and controls
36 lines (20 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Generated from E:\VSProjects\MyScript\MyScript\MyScript.g4 by ANTLR 4.7
#pragma once
#include "antlr4-runtime.h"
#include "MyScriptParser.h"
/**
* This class defines an abstract visitor for a parse tree
* produced by MyScriptParser.
*/
class MyScriptVisitor : public antlr4::tree::AbstractParseTreeVisitor {
public:
/**
* Visit parse trees produced by MyScriptParser.
*/
virtual antlrcpp::Any visitStart(MyScriptParser::StartContext *context) = 0;
virtual antlrcpp::Any visitExprs(MyScriptParser::ExprsContext *context) = 0;
virtual antlrcpp::Any visitExpr(MyScriptParser::ExprContext *context) = 0;
virtual antlrcpp::Any visitQuote(MyScriptParser::QuoteContext *context) = 0;
virtual antlrcpp::Any visitList(MyScriptParser::ListContext *context) = 0;
virtual antlrcpp::Any visitAtom(MyScriptParser::AtomContext *context) = 0;
};