Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Join two scopes
Join two scopes [message #1835413] Wed, 02 December 2020 13:10 Go to next message
Eclipse UserFriend
Hello,
How can I join two different IScope objects into single IScope?
Re: Join two scopes [message #1835416 is a reply to message #1835413] Wed, 02 December 2020 14:30 Go to previous messageGo to next message
Eclipse UserFriend
you may check
https://github.com/eclipse/n4js/blob/567293bb42fcfa9b53bdb89678491ab0515f1ea3/plugins/org.eclipse.n4js/src/org/eclipse/n4js/scoping/utils/CompositeScope.java
if it fits your needs.

otherwise simply implement it yourself
or use an SimpleScope with parent
(depending on your merge rules)
Re: Join two scopes [message #1835425 is a reply to message #1835416] Thu, 03 December 2020 02:40 Go to previous message
Eclipse UserFriend
This is exactly what I'm looking for.
Thank you!
Previous Topic:Redundant usage of =current
Next Topic:Add tag/separator/... to organise outline view
Goto Forum:
  


Current Time: Thu Jul 10 04:18:41 EDT 2025

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

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

Back to the top