Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-05-11 11:45:46 -0400
committerEd Willink2016-05-11 13:07:13 -0400
commitc4c4ccac3f0018a178ac9cf7241ad9bafeba6582 (patch)
tree310ec3a002e9cfb6379992c29ccabc5e322cd695
parent0b3fe6e94833d0a84f64f0bf7392828721f709e5 (diff)
downloadorg.eclipse.qvtd-c4c4ccac3f0018a178ac9cf7241ad9bafeba6582.tar.gz
org.eclipse.qvtd-c4c4ccac3f0018a178ac9cf7241ad9bafeba6582.tar.xz
org.eclipse.qvtd-c4c4ccac3f0018a178ac9cf7241ad9bafeba6582.zip
[486722] Add ImperativeRealizedVariableCS to grammar
-rw-r--r--plugins/org.eclipse.qvtd.xtext.qvtimperative/src/org/eclipse/qvtd/xtext/qvtimperative/QVTimperative.xtext4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.qvtd.xtext.qvtimperative/src/org/eclipse/qvtd/xtext/qvtimperative/QVTimperative.xtext b/plugins/org.eclipse.qvtd.xtext.qvtimperative/src/org/eclipse/qvtd/xtext/qvtimperative/QVTimperative.xtext
index a6c2d7d99..b9d90e3bb 100644
--- a/plugins/org.eclipse.qvtd.xtext.qvtimperative/src/org/eclipse/qvtd/xtext/qvtimperative/QVTimperative.xtext
+++ b/plugins/org.eclipse.qvtd.xtext.qvtimperative/src/org/eclipse/qvtd/xtext/qvtimperative/QVTimperative.xtext
@@ -50,6 +50,10 @@ MappingSequenceCS: ownedMappingStatements+=MappingStatementCS+;
MappingStatementCS: ConnectionStatementCS | MappingCallCS | MappingLoopCS;
ImperativePredicateOrAssignmentCS: isDefault?='default'? ownedTarget=ExpCS ((':='|isAccumulate?='+=') ownedInitExpression=ExpCS)? ';';
+
+RealizedVariableCS returns ImperativeRealizedVariableCS:
+ 'realize' name=UnrestrictedName ':' ownedType=TypeExpCS (':=' ownedInitExpression=ExpCS)?
+;
SourceDomainCS returns ImperativeDomainCS: isCheck?='check' direction=[qvtbase::TypedModel|UnrestrictedName]
('{' ('check' checkedProperties+=PathNameCS (',' checkedProperties+=PathNameCS)*)?

Back to the top