-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathmathjsVisitor.js
More file actions
40 lines (26 loc) · 864 Bytes
/
mathjsVisitor.js
File metadata and controls
40 lines (26 loc) · 864 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
36
37
38
39
40
// Generated from mathjs.g4 by ANTLR 4.13.2
// jshint ignore: start
import antlr4 from '../antlr4/index.web.js';
// This class defines a complete generic visitor for a parse tree produced by mathjsParser.
export default class mathjsVisitor extends antlr4.tree.ParseTreeVisitor {
// Visit a parse tree produced by mathjsParser#prog.
visitProg(ctx) {
return this.visitChildren(ctx);
}
// Visit a parse tree produced by mathjsParser#expr.
visitExpr(ctx) {
return this.visitChildren(ctx);
}
// Visit a parse tree produced by mathjsParser#num.
visitNum(ctx) {
return this.visitChildren(ctx);
}
// Visit a parse tree produced by mathjsParser#arrayJson.
visitArrayJson(ctx) {
return this.visitChildren(ctx);
}
// Visit a parse tree produced by mathjsParser#parameter2.
visitParameter2(ctx) {
return this.visitChildren(ctx);
}
}