/
JSONListener.js
60 lines (41 loc) · 1.48 KB
/
JSONListener.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Generated from JSON.g4 by ANTLR 4.7
// jshint ignore: start
var antlr4 = require('antlr4/index');
// This class defines a complete listener for a parse tree produced by JSONParser.
function JSONListener() {
antlr4.tree.ParseTreeListener.call(this);
return this;
}
JSONListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype);
JSONListener.prototype.constructor = JSONListener;
// Enter a parse tree produced by JSONParser#json.
JSONListener.prototype.enterJson = function(ctx) {
};
// Exit a parse tree produced by JSONParser#json.
JSONListener.prototype.exitJson = function(ctx) {
};
// Enter a parse tree produced by JSONParser#object.
JSONListener.prototype.enterObject = function(ctx) {
};
// Exit a parse tree produced by JSONParser#object.
JSONListener.prototype.exitObject = function(ctx) {
};
// Enter a parse tree produced by JSONParser#pair.
JSONListener.prototype.enterPair = function(ctx) {
};
// Exit a parse tree produced by JSONParser#pair.
JSONListener.prototype.exitPair = function(ctx) {
};
// Enter a parse tree produced by JSONParser#array.
JSONListener.prototype.enterArray = function(ctx) {
};
// Exit a parse tree produced by JSONParser#array.
JSONListener.prototype.exitArray = function(ctx) {
};
// Enter a parse tree produced by JSONParser#value.
JSONListener.prototype.enterValue = function(ctx) {
};
// Exit a parse tree produced by JSONParser#value.
JSONListener.prototype.exitValue = function(ctx) {
};
exports.JSONListener = JSONListener;