Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2cfed9ee65ad03c142cf71f5b5eb78891f8376a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
grammar org.eclipse.etrice.core.Config with org.eclipse.xtext.common.Terminals

generate config "http://www.eclipse.org/etrice/core/Config"

import "http://www.eclipse.org/emf/2002/Ecore" as ecore
import 'platform:/resource/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore' as room


ConfigModel:
	actorClassConfigs+=ActorClassConfig*
	actorInstanceConfigs+=ActorInstanceConfig*
	;
	
	
ActorClassConfig:
	'ActorClassConfig' actorClass = [room::ActorClass] '{'
		
	'}' 
;

// ActorInstanceConfig MySS.AR1.AR2 {
// 		min = 1
//		max = 5
// }

ActorInstanceConfig:
	'ActorInstanceConfig' /* root=[room::SubSystemClass|FQN] '/' path=RefPath */ '{'
		
	'}' 
;

Back to the top