Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [TCS] multi-step reference resolution
[TCS] multi-step reference resolution [message #611107] Fri, 04 January 2008 13:50
Andy Carpenter is currently offline Andy CarpenterFriend
Messages: 145
Registered: July 2009
Senior Member
We are trying to process an existing DSL that has a
nested block structure but which allows references
to objects in sibling blocks by specifying the path to
the object, cf. referencing objects in Java packages.
For example

block0 {
block1 {
define v1;
block2 {
define v2;
v2 = block1.v1;

Here, the reference to v1 in block2 has to use the
prefix block1 to make the name v1 visible. Is there
a variant of the referesTo operation that can be used
to resolve such references, or is there a way to
overload the implementation of referesTo to perform
such resolution?

Thanks for any help

-- ------------------------------------------------------------ -------------
Dr Andy Carpenter
School of Computer Science,
University of Manchester, Manchester M13 9PL, UK
Tel: +44 161 275 6168
Fax: +44 161 275 6280
Previous Topic:[TCS] KM3 save bug
Next Topic:am3 ant tasks outside eclipse workspace
Goto Forum:

Current Time: Sun Jun 24 20:32:26 GMT 2018

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

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

Back to the top