Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d04c4e90a9e1b50149b996458b56c955bf2a6d3c (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
lexer grammar InternalRoom;
@header {
package org.eclipse.etrice.core.parser.antlr.internal;

// Hack: Use our own Lexer superclass by means of import. 
// Currently there is no other way to specify the superclass for the lexer.
import org.eclipse.xtext.parser.antlr.Lexer;
}

T11 : 'RoomModel' ;
T12 : '{' ;
T13 : '}' ;
T14 : ':' ;
T15 : 'DataClass' ;
T16 : 'extends' ;
T17 : 'Attribute' ;
T18 : '[' ;
T19 : ']' ;
T20 : 'Operation' ;
T21 : '(' ;
T22 : ',' ;
T23 : ')' ;
T24 : 'ProtocolClass' ;
T25 : 'usercode1' ;
T26 : 'usercode2' ;
T27 : 'incoming' ;
T28 : 'outgoing' ;
T29 : 'regular' ;
T30 : 'PortClass' ;
T31 : 'conjugate' ;
T32 : 'Message' ;
T33 : 'usercode' ;
T34 : 'handle' ;
T35 : 'semantics' ;
T36 : 'in' ;
T37 : '->' ;
T38 : 'out' ;
T39 : 'abstract' ;
T40 : 'ActorClass' ;
T41 : 'Interface' ;
T42 : 'Structure' ;
T43 : 'Behavior' ;
T44 : 'conjugated' ;
T45 : 'Port' ;
T46 : 'external' ;
T47 : 'SAP' ;
T48 : 'SPP' ;
T49 : 'ServiceImplementation' ;
T50 : 'of' ;
T51 : 'LogicalSystem' ;
T52 : 'SubSystemRef' ;
T53 : 'SubSystemClass' ;
T54 : 'LogicalThread' ;
T55 : '.' ;
T56 : 'Binding' ;
T57 : 'and' ;
T58 : 'LayerConnection' ;
T59 : 'satisfied_by' ;
T60 : 'ref' ;
T61 : 'relay_sap' ;
T62 : 'ActorRef' ;
T63 : 'StateMachine' ;
T64 : 'State' ;
T65 : 'entry' ;
T66 : 'exit' ;
T67 : 'subgraph' ;
T68 : 'RefinedState' ;
T69 : 'handler' ;
T70 : 'TransitionPoint' ;
T71 : 'EntryPoint' ;
T72 : 'ExitPoint' ;
T73 : 'ChoicePoint' ;
T74 : 'Transition' ;
T75 : 'initial' ;
T76 : 'action' ;
T77 : 'triggers' ;
T78 : 'or' ;
T79 : 'cond' ;
T80 : 'my' ;
T81 : 'cp' ;
T82 : '<' ;
T83 : '|' ;
T84 : '>' ;
T85 : 'guard' ;
T86 : 'import' ;
T87 : '*' ;
T88 : 'void' ;
T89 : 'int8' ;
T90 : 'int16' ;
T91 : 'int32' ;
T92 : 'uint8' ;
T93 : 'uint16' ;
T94 : 'uint32' ;
T95 : 'float32' ;
T96 : 'float64' ;
T97 : 'boolean' ;
T98 : 'string' ;
T99 : 'char' ;

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6213
RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6215
RULE_INT : ('0'..'9')+;

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6217
RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\'');

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6219
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6221
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6223
RULE_WS : (' '|'\t'|'\r'|'\n')+;

// $ANTLR src "../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalRoom.g" 6225
RULE_ANY_OTHER : .;


Back to the top