Commit f802bfdd authored by Philip Makedonski's avatar Philip Makedonski
Browse files

- removed other leftovers

parent 7d272c84
Loading
Loading
Loading
Loading
+0 −49
Original line number Diff line number Diff line
@@ -251,31 +251,6 @@ EventOccurrence returns to::EventOccurrence:
//	 | Message
//;

//------------BEGIN CARRYOVER FROM TDLan2-----------------------------
Message returns tdl::Message:
	//add qualifier?
    comment+=AndOrQualifier?
    //only one qualifier?
    comment+=ArticleQualifier?
	sourceGate=[tdl::GateReference|IdentifierDot]
	('sends' | (isTrigger?='triggers')) 
	//TODO: use TDLan notation?
	//TODO: expand to more data uses?
	argument=StaticDataUse
	'to' 
	target+=TargetMessage ( "," target+=TargetMessage)* 
	(
	'with'
	'{'
		(comment+=Comment (comment+=Comment)*)?
		(annotation+=Annotation (annotation+=Annotation)*)?
		('test' 'objectives' ':' testObjective+=[tdl::TestObjective|Identifier] ( "," testObjective+=[tdl::TestObjective|Identifier])* ';')?
		('name' name=Identifier)? //USE FOR STEPS?
		('time' 'label' timeLabel=TimeLabel)?
		('time' 'constraints' ':' timeConstraint+=TimeConstraint ( "," timeConstraint+=TimeConstraint)* ';' )?
	'}')?
//	';'
	;

IdentifierDot returns ecore::EString:
	ID '.' ID
@@ -299,30 +274,6 @@ String0 returns ecore::EString:
	STRING
;

TargetMessage returns tdl::Target:
	targetGate=[tdl::GateReference|IdentifierDot]
	//TODO: check what the correct syntax shall be
	(valueAssignment+=ValueAssignmentMessage)?
   	(
    'with'
    '{'
        (comment+=Comment (comment+=Comment)*)?
        (annotation+=Annotation (annotation+=Annotation)*)?
		('name' name=Identifier)?
    '}')?
    ;

ValueAssignmentMessage returns tdl::ValueAssignment:
    //TODO: check what the correct syntax shall be
    'where' 'it' 'is' 'assigned' 'to' variable=[tdl::Variable|Identifier]
    (
    'with'
    '{'
        (comment+=Comment (comment+=Comment)*)?
        (annotation+=Annotation (annotation+=Annotation)*)?
        ('name' name=Identifier)?
    '}')?
    ;

LiteralValueUse returns tdl::LiteralValueUse:
	{tdl::LiteralValueUse}