Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.qvtd.doc.minioclcs.xtext/model/MiniOCLFullHelpers.ocl')
-rw-r--r--doc/org.eclipse.qvtd.doc.minioclcs.xtext/model/MiniOCLFullHelpers.ocl3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/org.eclipse.qvtd.doc.minioclcs.xtext/model/MiniOCLFullHelpers.ocl b/doc/org.eclipse.qvtd.doc.minioclcs.xtext/model/MiniOCLFullHelpers.ocl
index 932ebb9ce..fd18e0956 100644
--- a/doc/org.eclipse.qvtd.doc.minioclcs.xtext/model/MiniOCLFullHelpers.ocl
+++ b/doc/org.eclipse.qvtd.doc.minioclcs.xtext/model/MiniOCLFullHelpers.ocl
@@ -2,10 +2,11 @@ import cs : 'generated/MiniOCLCS.ecore#/'
import as : '/resource/org.eclipse.qvtd.doc.miniocl/model/MiniOCL.ecore#/'
package cs
-context cs::NameExpCS
+context cs::NavigationExpCS
def : parentAsCallExpCS() :CallExpCS =
let container = self.oclContainer()
in if container.oclIsKindOf(CallExpCS) then container.oclAsType(CallExpCS) else null endif
+context cs::NameExpCS
def : isNavExpOfACallExpCS() :Boolean =
let parentCallExpCS = parentAsCallExpCS()
in parentCallExpCS <> null and parentCallExpCS.navExp = self

Back to the top