Download inCode.Rules Language - LOOSE Research Group

Transcript
CONTENTS
3
4.5.4 Editor Outline View . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.6 User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Execution Mechanics
5.1 Xtext Grammar . . . . . . . . . . . . .
5.1.1 Xtext grammar features used
5.1.2 Grammar definition . . . . . .
5.2 Generated Entities . . . . . . . . . . .
5.2.1 AST . . . . . . . . . . . . . . . .
5.2.2 The Parsing process . . . . . .
5.2.3 EMF model . . . . . . . . . . .
5.2.4 Proposal Engine . . . . . . . .
5.3 Rule Evaluation . . . . . . . . . . . .
5.3.1 inCode metamodel . . . . . . .
5.3.2 Group building . . . . . . . . .
5.3.3 Implemented Visitors . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
40
41
43
44
44
44
47
47
48
49
49
51
51
54
56
6 Conclusions
59
A Entity Properties Definitions
A.1 Class Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Method Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
61
61
B BNF Language Grammar
62
C Xtext Grammar
64
Bibliography
68