Merge pull request #1060 from ericvergnaud/missing-js-visitor-methods
fix #1058
This commit is contained in:
commit
49cc92aa35
|
@ -95,6 +95,13 @@ ParseTreeVisitor.prototype.visit = function(ctx) {
|
|||
}
|
||||
};
|
||||
|
||||
ParseTreeVisitor.prototype.visitTerminal = function(node) {
|
||||
};
|
||||
|
||||
ParseTreeVisitor.prototype.visitErrorNode = function(node) {
|
||||
};
|
||||
|
||||
|
||||
var visitAtom = function(visitor, ctx) {
|
||||
if (ctx.parser === undefined) { //is terminal
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue