-
Key: MARTE-20
-
Legacy Issue Number: 11545
-
Status: closed
-
Source: THALES ( Sebastien Demathieu)
-
Summary:
The grammar defined for conditional expressions does not allow one to use operation call expressions in the condition predicate. The BNF defines only <condition-expr> ::= <variable-declaration> | <variable-call-expr> | <property-call-expr> As a consequence, it is not possible to define predicates based on value comparison. Thus, it is not possible to implement the expression "(clock_rate>5)?(5):(clock_rate)", provided as example page 404.
-
Reported: MARTE 1.0b1 — Thu, 4 Oct 2007 04:00 GMT
-
Disposition: Resolved — MARTE 1.0b2
-
Disposition Summary:
We add a new terminal to the <condition-expr> rule, which is operation call expression. This allows us to specify: "(clock_rate>5)" which is an infix operation call of ">" in clock_rate.
-
Updated: Fri, 6 Mar 2015 20:58 GMT
MARTE — grammar defined for conditional expressions
- Key: MARTE-20
- OMG Task Force: UML Profile for MARTE FTF