【发布时间】:2016-06-07 11:49:11
【问题描述】:
使用简单实体示例https://eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html
如何添加如下内容:
Map:
'map' entityA=[Entity] '.' featureA=[Feature] '=>' entityZ=[Entity] '.' featureZ=[Feature]
;
这样我就可以写了:
entity A {
name:String
}
entity B {
name:String
}
map A.name => B.name
以便我在编写 A. 时获得内容帮助,仅限于 A 的功能?
谢谢
【问题讨论】:
标签: xtext