|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.impactanalyzer.instanceScope.AbstractTracer<LetExp>
org.eclipse.ocl.examples.impactanalyzer.instanceScope.LetExpTracer
public class LetExpTracer
Field Summary |
---|
Fields inherited from class org.eclipse.ocl.examples.impactanalyzer.instanceScope.AbstractTracer |
---|
oclFactory |
Constructor Summary | |
---|---|
LetExpTracer(LetExp expression,
java.util.Stack<java.lang.String> tuplePartNames,
OCLFactory oclFactory)
|
Method Summary | |
---|---|
protected java.util.Set<Variable> |
calculateEnteringScope(OperationBodyToCallMapper operationBodyToCallMapper)
Calculates the scopes the NavigationStep this Tracer creates will enter when navigated. |
NavigationStep |
traceback(org.eclipse.emf.ecore.EClass context,
PathCache pathCache,
OperationBodyToCallMapper operationBodyToCallMapper)
By default, many expression types which, e.g., result in a primitive result, return an EmptyResultNavigationStep
which is what this default implementation does. |
Methods inherited from class org.eclipse.ocl.examples.impactanalyzer.instanceScope.AbstractTracer |
---|
applyScopesOnNavigationStep, calculateLeavingScopes, commonCompositionParent, commonCompositionParent, doesTypeMatch, doesTypeMatch, getAllVariablesInScope, getExpression, getExtendedListOfTuplePartNames, getInnermostElementType, getListOfTuplePartNamesWithFoundRemoved, getRootExpression, getTupleLiteralPartNamesToLookFor, getTuplePartNameLookedFor, getVariablesIntroducedBetweenHereAnd, getVariablesScopedByExpression, isLookingForTuplePart, variablesIntroducedBetween |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LetExpTracer(LetExp expression, java.util.Stack<java.lang.String> tuplePartNames, OCLFactory oclFactory)
Method Detail |
---|
public NavigationStep traceback(org.eclipse.emf.ecore.EClass context, PathCache pathCache, OperationBodyToCallMapper operationBodyToCallMapper)
AbstractTracer
EmptyResultNavigationStep
which is what this default implementation does.
traceback
in interface Tracer
traceback
in class AbstractTracer<LetExp>
context
- the context type that defines the type of any self occurrence outside of operation bodiespathCache
- a global cache that remembers the navigation steps already computed for some OCL expressionsoperationBodyToCallMapper
- the filter synthesizer that analyzed an overall expression that contains the expression to be handled by this
tracerprotected java.util.Set<Variable> calculateEnteringScope(OperationBodyToCallMapper operationBodyToCallMapper)
AbstractTracer
NavigationStep
this Tracer
creates will enter when navigated.
calculateEnteringScope
in class AbstractTracer<LetExp>
OCLExpression
s representing the scope the created NavigationStep
will enter when navigated. Always
non-null
, but possibly empty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |