Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Syntax for attribute conditions

Hi,

I think with the name of a rule and additional parameters we put enough
information in the rule's name label. I'd rather prefer a solution,
where below the rule box another compartment contains attribute
conditions, similar to attribute compartments in classes in common class
diagrams.
Such a compartment allows to be un-/folded if (not) needed. Moreover, an
additional compartment could be used to express the binary relations of
application conditions (see proposed solution in the forum). Putting
both information in compartments would lead to a consistent viz, imo.


Regards,
Stefan


Am 28.09.2011 17:23, schrieb Christian Krause:
> Hi,
> I'm preparing a tutorial and need a syntax for attribute conditions in
> the graphical editor. Of the top of my head, I was thinking we could
> extend the syntax for the rule names to something like this:
>
> "ruleName(p1,p2,p3,...) with c1,c2,c3,..."
>
> where "with" is a keyword and c1,c2 etc. are attribute conditions.
> What do you think? Any other ideas? Anybody volunteering to implement
> it? This would be very useful...
>
> Ciao,
> Christian
>
> _______________________________________________
> henshin-dev mailing list
> henshin-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/henshin-dev


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top