[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [xtext-dev] add visitor method to generated AbstractElement interface with @modified tag to
|
hi sven,
could you point me in the right direction pls. did you mean
XtextutilSwitch,ParsetreeSwitch or XtextSwitch
do you have an example code to showcase the usage of the 'generated
switch' class to examine if its sufficient?
m
On Mon, Sep 15, 2008 at 10:24 AM, Sven Efftinge <sven@xxxxxxxxxxx> wrote:
> Hi Michael,
>
> you could use the generated Switch class to do that.
> Would that be sufficient?
>
> Sven
>
> On Sep 14, 2008, at 8:13 PM, michael clay wrote:
>
>> hi all,
>>
>> i would like to add a visitor method (@modified) to the generated EMF
>> AbstractElement interface to get rid of the various 'instanceof' test
>> in several places of the xtext code for a cleaner
>> structuring and better maintainability of the code base.
>>
>> pls. let me know if this is ok for you.
>>
>> thx
>> m
>> _______________________________________________
>> xtext-dev mailing list
>> xtext-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/xtext-dev
>
> _______________________________________________
> xtext-dev mailing list
> xtext-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/xtext-dev
>