Reference manual
Build date: 10-April-2009
$Date: 2009-02-09 14:18:56 $
Abstract
This manual presents the various aspects of the Kermeta language. This is the reference manual for anybody who want to use Kermeta.
Table of Contents
- Preface
- 1. Introduction to the language
- 2. Reference
- 2.1. Comments
- 2.2. Escaping reserved keywords
- 2.3. Operators
- 2.4. Statements : block, condition, loop
- 2.5. File dependency : structuring code
- 2.6. Using Variables
- 2.7. Basic types
- 2.8. Classes and methods
- 2.9. Inheritance
- 2.10. Genericity
- 2.11. Exception handling
- 2.12. Loading and saving models
- 2.13. Packages
- 2.14. Collections
- 2.15. Class properties
- 2.16. Objects comparison
- 2.17. Lambda Expressions and functions
- 2.18. Dynamic evaluation of Kermeta expressions
- 2.19. Design by contract (pre, post, inv contraints)
- 2.20. Weaving kermeta code
- 2.21. Model type
- 2.22. Using existing java code in Kermeta
- 2.23. Cloning objects
- 3. Kermeta Metamodel
- 4. Kermeta framework
- A. Language keywords
List of Figures
- 1.1. Kermeta positioning
- 1.2. A concrete example : a library
- 2.1. A simple family tree model
- 2.2. : multiple inheritance
- 2.3. cs.ecore sample metamodel
- 2.4. : The kermeta collections
- 2.5. Attributes and references
- 3.1. EMOF extension and Kermeta promotion
- 3.2. Structure package
- 3.3. NamedElement class diagram
- 3.4. Kermeta type system class diagram (the big picture)
- 3.5. Behavior package
- 3.6. Control structure
- 3.7. Use of variables
- 3.8. use of exceptions
- 3.9. Kermeta assignment expression
- 3.10. Kermeta Literal Expression
- 3.11. Kermeta lambda expressions