use of com.googlecode.d2j.smali.antlr4.SmaliLexer in project dex2jar by pxb1988.
the class Smali method smali0.
private static void smali0(DexFileVisitor dcv, CharStream is) throws IOException {
SmaliLexer lexer = new SmaliLexer(is);
CommonTokenStream ts = new CommonTokenStream(lexer);
SmaliParser parser = new SmaliParser(ts);
for (SmaliParser.SFileContext ctx : parser.sFiles().sFile()) {
AntlrSmaliUtil.acceptFile(ctx, dcv);
}
}
Aggregations