extending EvaluationVisitorImpl [message #63730] |
Tue, 05 December 2006 06:50  |
Eclipse User |
|
|
|
Hello,
I have ocl Query, it use EvaluationVisitorImpl for evaluation.
I want to have access to intervening results of evaluation, but I cant
extending this class, because all of its constructors are private.
Can you help me? May be its possible make public these constructors?
Good luck,
Yury
|
|
|
Re: extending EvaluationVisitorImpl [message #63845 is a reply to message #63730] |
Tue, 05 December 2006 12:25  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Yury,
In the development of UML support in the OCL parser:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=163808
I will be adding API to the EvaluationEnvironment interface to support,
among other things, custom evaluation of property and association-class
navigation. The EvaluationEnvironment will also be more involved in the
evaluation of operations.
These changes should give you the hooks that you need to access intermediate
values, as ultimately all computations in OCL are either operation calls or
property/association-class navigation and these values will always be
provided by the EvaluationEnvironment. Please add yourself to the cc list
of this bug and add a comment to ensure that your requirements will be
considered. The intent is to make it easy for clients to extend the
interpreter via the EvaluationEnvironment, without exposing the core
evaluation engine.
Cheers,
Christian
Yury Chernikov wrote:
> Hello,
>
> I have ocl Query, it use EvaluationVisitorImpl for evaluation.
> I want to have access to intervening results of evaluation, but I cant
> extending this class, because all of its constructors are private.
>
> Can you help me? May be its possible make public these constructors?
>
> Good luck,
> Yury
|
|
|
Re: extending EvaluationVisitorImpl [message #596578 is a reply to message #63730] |
Tue, 05 December 2006 12:25  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Yury,
In the development of UML support in the OCL parser:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=163808
I will be adding API to the EvaluationEnvironment interface to support,
among other things, custom evaluation of property and association-class
navigation. The EvaluationEnvironment will also be more involved in the
evaluation of operations.
These changes should give you the hooks that you need to access intermediate
values, as ultimately all computations in OCL are either operation calls or
property/association-class navigation and these values will always be
provided by the EvaluationEnvironment. Please add yourself to the cc list
of this bug and add a comment to ensure that your requirements will be
considered. The intent is to make it easy for clients to extend the
interpreter via the EvaluationEnvironment, without exposing the core
evaluation engine.
Cheers,
Christian
Yury Chernikov wrote:
> Hello,
>
> I have ocl Query, it use EvaluationVisitorImpl for evaluation.
> I want to have access to intervening results of evaluation, but I cant
> extending this class, because all of its constructors are private.
>
> Can you help me? May be its possible make public these constructors?
>
> Good luck,
> Yury
|
|
|
Powered by
FUDForum. Page generated in 0.30655 seconds