Skip to content

Commit f63a0d6

Browse files
committed
added "statement" plugin to Parser for custom stuff
1 parent 7633749 commit f63a0d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Parser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ Parser.prototype.walkStatements = function walkStatements(statements) {
336336
}
337337

338338
Parser.prototype.walkStatement = function walkStatement(statement) {
339+
if(this.applyPluginsBailResult("statement", statement) !== undefined) return;
339340
switch(statement.type) {
340341
// Real Statements
341342
case "BlockStatement":

0 commit comments

Comments
 (0)