Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[viatra-dev] Xtext scoping for XBlockExpressions

Hey guys,

I'd like to implement a functionality in the DSL for the VIATRA-CEP engine just like the check _expression_ in the IQPL. Although, I'm not quite familiar with the topic of scoping in Xtext and couldn't identify the related parts from the IncQuery codebase.

Here's the grammar I use: http://git.eclipse.org/c/viatra2/org.eclipse.viatra2.emf.git/tree/plugins/org.eclipse.viatra.cep.vepl/src/org/eclipse/viatra/cep/vepl/Vepl.xtext.
In the most elementary case, referring to atomic event parameters (line 58) and using those in Xbase expressions should be available from an XBlockExpression (line 60). (For the parameter definitions, please see lines 100-108.)

Your help would be appreciated.

Cheers,
Steve

Back to the top