Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Validate with parameter?
icon5.gif  Validate with parameter? [message #1403512] Thu, 24 July 2014 09:10
Jonas Heinisch is currently offline Jonas HeinischFriend
Messages: 12
Registered: June 2014
Location: Germany
Junior Member
Hey folks!

I've implemented a Typesystem for my grammar which is called by a check-method in the validator. As I am planning to use embedded editors for my DSL in several contexts with different types, I'd like to know if it's possible to give the Valditor an optional parameter which holds the expected type.

Is it possiblen? If yes, can someone give me a hint how to implement this? (I must admit that I am not so familiar with Injection..)

Thanks in advance
Jonas
Previous Topic:errors while exporting to Repository
Next Topic:org.eclipse.xtext.parser.impl.PartialParsingHelper - Invalid replace region [0 / length: 30]
Goto Forum:
  


Current Time: Tue Dec 10 07:19:26 GMT 2019

Powered by FUDForum. Page generated in 0.01922 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top