
Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/ocl/operations/extracted
Source used for this grammar: Julien Baudry, OCL_Operations.ecore, 2006/07/10
OperationExp, PropertyOperation, OclOperation, ConstExp, IntegerConstExp, StringConstExp, RealConstExp, AttributeExp, Attribute, NaviguationExp, AssocationEnd, ClassifierOperation, Operation, Boolean, Integer, String), 0 root (—), 1 top (OperationExp), 2 bottom (Double, OclExpression 4).[isMarkedPre], [source], [arguments] 2, [value] 3, [attr], [attrExp], [assEnd], [qualifierValues], [navExp], [op], [classOp].OperationExp ::= PropertyOperation
OperationExp ::= OclOperation
OperationExp ::= ConstExp
PropertyOperation ::= AttributeExp
PropertyOperation ::= NaviguationExp
PropertyOperation ::= ClassifierOperation
PropertyOperation ::= [isMarkedPre]::Boolean [source]::OclExpression
OclOperation ::= [arguments]::OclExpression
ConstExp ::= IntegerConstExp
ConstExp ::= StringConstExp
ConstExp ::= RealConstExp
ConstExp ::= IntegerConstExp StringConstExp RealConstExp
IntegerConstExp ::= [value]::Integer
StringConstExp ::= [value]::String
RealConstExp ::= [value]::Double
AttributeExp ::= [attr]::Attribute
Attribute ::=
[attrExp]::AttributeExpNaviguationExp ::= [assEnd]::AssocationEnd [qualifierValues]::OclExpression
AssocationEnd ::=
[navExp]::NaviguationExpClassifierOperation ::= [op]::Operation [arguments]::OclExpression
Operation ::=
[classOp]::ClassifierOperationBoolean ::= "true" "false"
Integer ::= integer
String ::= string