Start using clang tokens for the Rust code generation

This commit is contained in:
Dhruv Maroo
2023-05-20 13:00:50 +08:00
parent a9592b2b93
commit 54611042f1
75 changed files with 58 additions and 13019 deletions

View File

@@ -0,0 +1,10 @@
package ghidrust.decompiler.codegen.rust;
import ghidra.app.decompiler.ClangTokenGroup;
public class RustGen {
public static String generate(ClangTokenGroup ctg) {
RustVisitor rsv = new RustVisitor();
return rsv.visit(ctg.Parent());
}
}