This commit is contained in:
Eric Vergnaud 2015-12-09 22:17:46 +08:00
parent 01e6923dbd
commit c651c83a8b
1 changed files with 7 additions and 0 deletions

View File

@ -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;