JS parser minor: removed unused function

This commit is contained in:
Alexey Tsvetkov
2014-11-10 19:46:12 +03:00
parent 225c9cdf54
commit 706b93b5b8
@@ -38,15 +38,6 @@ public class JsParser {
return new JsParser().parseImpl(rootSourceInfo, scope, r);
}
public static void parseInto(
SourceInfo rootSourceInfo, JsScope scope,
JsBlock block, Reader r
) throws IOException, JsParserException {
List<JsStatement> childStmts = parse(rootSourceInfo, scope, r);
List<JsStatement> parentStmts = block.getStatements();
parentStmts.addAll(childStmts);
}
private final Stack<JsScope> scopeStack = new Stack<JsScope>();
private final Stack<SourceInfo> sourceInfoStack = new Stack<SourceInfo>();