public class StoExCacheEntry extends Object
Constructor and Description |
---|
StoExCacheEntry(String spec)
Parse the expression and store its AST as well as its infered types
|
Modifier and Type | Method and Description |
---|---|
de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum |
getInferedType(de.uka.ipd.sdq.stoex.Expression e) |
de.uka.ipd.sdq.stoex.Expression |
getParsedExpression() |
de.uka.ipd.sdq.probfunction.math.IProbabilityFunction |
getProbFunction(EObject e)
Get the probfunction from the probfunction cache
|
ProbFunctionCache |
getProbFunctionCache() |
String |
getSpec() |
de.uka.ipd.sdq.stoex.analyser.visitors.ExpressionInferTypeVisitor |
getTypeInferer() |
public StoExCacheEntry(String spec)
spec
- The stoex to parse and storepublic de.uka.ipd.sdq.stoex.Expression getParsedExpression()
public String getSpec()
public de.uka.ipd.sdq.stoex.analyser.visitors.ExpressionInferTypeVisitor getTypeInferer()
public de.uka.ipd.sdq.stoex.analyser.visitors.TypeEnum getInferedType(de.uka.ipd.sdq.stoex.Expression e)
e
- Return the infered type of the given subexpression of this stoexpublic ProbFunctionCache getProbFunctionCache()
public de.uka.ipd.sdq.probfunction.math.IProbabilityFunction getProbFunction(EObject e)
e
- A subexpression which represents a probfunction literal