Browsable OCL Operations Grammar

CC-BY

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

Summary

Syntax

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]::AttributeExp+
NaviguationExp ::=
	[assEnd]::AssocationEnd [qualifierValues]::OclExpression
AssocationEnd ::=
	[navExp]::NaviguationExp+
ClassifierOperation ::=
	[op]::Operation [arguments]::OclExpression
Operation ::=
	[classOp]::ClassifierOperation+
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []