Add an explicit return statement

This commit is contained in:
Robert 2018-01-05 11:26:31 +00:00 committed by GitHub
parent dd3af945fd
commit 87725e65c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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