Add an explicit return statement
This commit is contained in:
parent
dd3af945fd
commit
87725e65c9
|
@ -75,6 +75,8 @@ ParseTreeVisitor.prototype.visit = function(ctx) {
|
|||
ParseTreeVisitor.prototype.visitChildren = function(ctx) {
|
||||
if (ctx.children) {
|
||||
return this.visit(ctx.children);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue