Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/ocl/values/extracted
Source used for this grammar: Julien Baudry, OCL_Values.ecore
, 2006/07/10
Value
, BasicValue
, IntegerValue
, RealValue
, StringValue
, BooleanValue
, ObjectValue
, Object
, EnumValue
, EnumLiteral
, UndefinedValue
, BagValue
, SequenceValue
, SetValue
, Count
, Boolean
, Integer
, String
), 0 root (—), 1 top (Count
), 3 bottom (CollectionValue
, Double
, Type
).[val]
4, [object]
, [objectValue]
, [enumLiteral]
, [enumValue]
, [type]
, [bagValue]
, [sequenceValue]
, [setValue]
, [elements]
3, [num]
.Value ::= BasicValue
Value ::= ObjectValue
Value ::= EnumValue
Value ::= UndefinedValue
Value ::= CollectionValue
BasicValue ::= IntegerValue
BasicValue ::= RealValue
BasicValue ::= StringValue
BasicValue ::= BooleanValue
IntegerValue ::= [val]::Integer
RealValue ::= [val]::Double
StringValue ::= [val]::String
BooleanValue ::= [val]::Boolean
ObjectValue ::= [object]::Object
Object ::= [objectValue]::ObjectValue
EnumValue ::= [enumLiteral]::EnumLiteral
EnumLiteral ::= [enumValue]::EnumValue
UndefinedValue ::= [type]::Type [bagValue]::BagValue[sequenceValue]::SequenceValue [setValue]::SetValue
BagValue ::=
[elements]::Value
SequenceValue ::=
[elements]::Value
SetValue ::=
[elements]::Value
Count ::= [num]::Integer
Boolean ::= "true" "false"
Integer ::= integer
String ::= string