public class GenerateJavaScriptAST extends Object
JProgram
node.Modifier and Type | Method and Description |
---|---|
static Pair<JavaToJavaScriptMap,Set<JsNode>> |
exec(JProgram program,
JsProgram jsProgram,
JsOutputOption outputOption,
Map<StandardSymbolData,JsName> symbolTable,
PropertyOracle[] propertyOracles)
This is the main entry point for the translation from Java to JavaScript.
|
public static Pair<JavaToJavaScriptMap,Set<JsNode>> exec(JProgram program, JsProgram jsProgram, JsOutputOption outputOption, Map<StandardSymbolData,JsName> symbolTable, PropertyOracle[] propertyOracles)
program
- a Java ASTjsProgram
- an (empty) JavaScript ASToutputOption
- options that affect this transformation for this transformation
e.g. OBFUSCATED, etc.symbolTable
- an (empty) symbol table that will be populated herepropertyOracles
- property oracles that correspond to the permutation being compiled.Copyright © 2018. All rights reserved.