public class ExtInitializer extends ExtCodeDecl implements ExtInitializerOrFieldDecl
| Constructor and Description |
|---|
ExtInitializer() |
| Modifier and Type | Method and Description |
|---|---|
<DFItem extends polyglot.visit.DataFlow.Item> |
flowDispatch(DataFlowDispatch<DFItem> dataflow,
DFItem dfIn,
polyglot.visit.FlowGraph<DFItem> graph,
polyglot.visit.FlowGraph.Peer<DFItem> peer)
Dispatch function.
|
ReferenceVariable |
getThisNode(ConstructorContext constructorContext)
Get the appropriate reference variable for "this" (i.e., the reference
variable used in the pointer analysis to refer to "this")
for the given constructor context.
|
void |
setThisNode(ConstructorContext constructorContext,
ReferenceVariable thisNode)
Set the appropriate ReferenceVariable that represents the
current object (i.e., the reference variable
used in the pointer analysis to refer to "this")
for the given constructor context.
|
flowDispatch, throwTypesenclosingFinallyDepth, ext, getAnalysisResult, getAnalysisResult, getAnalysisResult, lang, numArgumentsOnResultStack, recordAnalysisResult, recordAnalysisResult, recordAnalysisResult, registerPointerStmts, removeAnalysisResult, removeAnalysisResult, removeAnalysisResult, setEnclosingFinallyDepthaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, ext, ext, extRewrite, extRewriteEnter, init, initPred, node, pred, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, superLang, throwTypes, toString, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpublic <DFItem extends polyglot.visit.DataFlow.Item> java.util.Map<polyglot.visit.FlowGraph.EdgeKey,DFItem> flowDispatch(DataFlowDispatch<DFItem> dataflow, DFItem dfIn, polyglot.visit.FlowGraph<DFItem> graph, polyglot.visit.FlowGraph.Peer<DFItem> peer)
ExtTermDataFlowDispatch d .
This helps extensions implement and extend data flow analyses.flowDispatch in class ExtTermpublic void setThisNode(ConstructorContext constructorContext, ReferenceVariable thisNode)
ExtInitializerOrFieldDeclsetThisNode in interface ExtInitializerOrFieldDeclpublic ReferenceVariable getThisNode(ConstructorContext constructorContext)
ExtInitializerOrFieldDeclgetThisNode in interface ExtInitializerOrFieldDecl