|OCL Pivot - Visitor implementation [message #1312588]
||Thu, 24 April 2014 11:31
| ModelGeek Mising name
Registered: June 2011
I want to have custom implementation of org.eclipse.ocl.examples.pivot.util.visitor. The motive of this custom implementation is to determine the place of specific property call in an OCL statement.|
I am trying to override following
public Object visitPropertyCallExp(
Now i want to have start and ending position of property call in OCL statement.
I have already implemented this feature in classic ocl implementation and i used
protected Integer handlePropertyCallExp(PropertyCallExp<EClassifier, EStructuralFeature> callExp, Integer sourceResult, List<Integer> qualifierResults)
and i was able to get start and end positioning by callExp.getStartPosition(), callExp.getEndPosition()
Now org.eclipse.ocl.examples.pivot.PropertyCallExp does not provide methods for start and end position.
Do you have any idea how to get start and end position of property call in OCL statement using Pivot package?
[Updated on: Thu, 24 April 2014 11:32]
Report message to a moderator