public static class JavaScriptTranslatorToCAst.DelegatingContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T> extends com.ibm.wala.cast.ir.translator.TranslatorToCAst.DelegatingContext<C,T> implements JavaScriptTranslatorToCAst.WalkContext<C,T>
| Modifier | Constructor and Description |
|---|---|
protected |
JavaScriptTranslatorToCAst.DelegatingContext(C parent) |
| 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() |
addScopedEntity, cfg, getBreakFor, getContinueFor, getNodeTypeMap, getScopedEntities, posprotected JavaScriptTranslatorToCAst.DelegatingContext(C parent)
public String script()
script in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public T top()
top in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public void addNameDecl(com.ibm.wala.cast.tree.CAstNode n)
JavaScriptTranslatorToCAst.WalkContextCAstNode.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.addNameDecl in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public Collection<com.ibm.wala.cast.tree.CAstNode> getNameDecls()
getNameDecls in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public com.ibm.wala.cast.tree.CAstNode getCatchTarget()
getCatchTarget in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public int setOperation(T node)
setOperation in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public boolean foundMemberOperation(T node)
foundMemberOperation in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>public void copyOperation(T from, T to)
copyOperation in interface JavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>,T>Copyright © 2017. All rights reserved.