Class JavaScriptTranslatorToCAst.ScriptContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T> , T>
java.lang.Object
com.ibm.wala.cast.ir.translator.TranslatorToCAst.DelegatingContext<C,T>
com.ibm.wala.cast.ir.translator.TranslatorToCAst.FunctionContext<C,T>
com.ibm.wala.cast.js.translator.JavaScriptTranslatorToCAst.FunctionContext<C,T>
com.ibm.wala.cast.js.translator.JavaScriptTranslatorToCAst.ScriptContext<C,T>
- All Implemented Interfaces:
TranslatorToCAst.WalkContext<C,T>, JavaScriptTranslatorToCAst.WalkContext<C, T>
- Enclosing interface:
JavaScriptTranslatorToCAst
public static class JavaScriptTranslatorToCAst.ScriptContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>, T>
extends JavaScriptTranslatorToCAst.FunctionContext<C,T>
-
Field Summary
Fields inherited from class TranslatorToCAst.DelegatingContext
parent -
Method Summary
Methods inherited from class JavaScriptTranslatorToCAst.FunctionContext
addNameDecl, copyOperation, foundMemberOperation, getCatchTarget, getNameDecls, getParent, setOperationModifier and TypeMethodDescriptionvoidAdd a name declaration to this context.voidcopyOperation(T from, T to) booleanfoundMemberOperation(T node) intsetOperation(T node) Methods inherited from class TranslatorToCAst.FunctionContext
addScopedEntity, cfg, getScopedEntities, pos, topModifier and TypeMethodDescriptionvoidaddScopedEntity(CAstNode construct, CAstEntity e) associate a child entity with a given CAstNode, e.g.cfg()for recording control-flow relationships among the CAst nodesget a mapping from CAstNodes to the scoped entities (e.g.pos()for recording source positionstop()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TranslatorToCAst.WalkContext
getBreakFor, getCatchTarget, getContinueFor, getNodeTypeMapModifier and TypeMethodDescriptiondefault TgetBreakFor(String label) for a 'break' style goto, return the control flow targetdefault CAstNodedefault TgetContinueFor(String label) for a 'continue' style goto, return the control flow targetdefault CAstNodeTypeMapRecorderfor recording types of nodes
-
Method Details
-
script
- Specified by:
scriptin interfaceJavaScriptTranslatorToCAst.WalkContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>, T> - Overrides:
scriptin classJavaScriptTranslatorToCAst.FunctionContext<C extends JavaScriptTranslatorToCAst.WalkContext<C,T>, T>
-