本文整理匯總了Java中natlab.tame.callgraph.StaticFunction.getAst方法的典型用法代碼示例。如果您正苦於以下問題:Java StaticFunction.getAst方法的具體用法?Java StaticFunction.getAst怎麽用?Java StaticFunction.getAst使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類natlab.tame.callgraph.StaticFunction
的用法示例。
在下文中一共展示了StaticFunction.getAst方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: CallStringAnalysis
import natlab.tame.callgraph.StaticFunction; //導入方法依賴的package包/類
private CallStringAnalysis(StaticFunction function,
InterproceduralAnalysisNode<CallStringAnalysis, CallString<?>, CallStrings> node) {
super(function.getAst());
this.node = node;
this.callstring = node.getCallString();
this.function = function;
this.result = newInitialFlow();
result.add(callstring);
}
示例2: IntraproceduralValueAnalysis
import natlab.tame.callgraph.StaticFunction; //導入方法依賴的package包/類
public IntraproceduralValueAnalysis(InterproceduralAnalysisNode<IntraproceduralValueAnalysis<V>, Args<V>, Res<V>> node,
StaticFunction function, ValueFactory<V> factory) {
super(function.getAst());
this.node = node;
this.function = function;
this.factory = factory;
this.valuePropagator = factory.getValuePropagator();
this.classRepository = node.getInterproceduralAnalysis().getFunctionCollection().getClassRepository();
}