public static interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>
extends com.ibm.wala.cast.ir.translator.TranslatorToCAst.WalkContext<C,T>
| Modifier and Type | Method and Description |
|---|---|
void |
addNameDecl(com.ibm.wala.cast.tree.CAstNode n)
Add a name declaration to this context.
|
void |
copyOperation(T from,
T to) |
boolean |
foundMemberOperation(T node) |
com.ibm.wala.cast.tree.CAstNode |
getCatchTarget() |
Collection<com.ibm.wala.cast.tree.CAstNode> |
getNameDecls() |
String |
script() |
int |
setOperation(T node) |
T |
top() |
String script()
T top()
void addNameDecl(com.ibm.wala.cast.tree.CAstNode n)
CAstNode.DECL_STMT, and the initialization of the
variable (if any) may occur in a separate assignment. For functions, n
should be a CAstNode.FUNCTION_STMT, including the function body.Collection<com.ibm.wala.cast.tree.CAstNode> getNameDecls()
com.ibm.wala.cast.tree.CAstNode getCatchTarget()
int setOperation(T node)
boolean foundMemberOperation(T node)
Copyright © 2017. All rights reserved.