As such, any references to expression and statement block in this chapter, refer to EOL expressions and blocks of EOL statements respectively. The syntax of EPL is an extension of the syntax of the EOL language, which is the core language of Epsilon. MethodDeclaration - TypeAccess: returnType Syntax ¶ +fragments: VariableDeclarationFragmentĬlassDeclaration - BodyDeclaration: bodyDeclarations *įieldDeclaration - VariableDeclarationFragment: fragments * The aim of the pattern developed here (which we will call PublicField) is to identify quartets of, each representing a field of a Java class for which appropriately named accessor/getter (getX/isX) and mutator/setter (setX) methods are defined by the class. A simplified view of the relevant part of the MoDisco Java metamodel used in this running example is presented below. MoDisco is an Eclipse project that provides a fine-grained Ecore-based metamodel of the Java language as well as tooling for extracting models that conform to this Java metamodel from Java source code. The exemplar pattern is matched against models extracted from Java source code using tooling provided by the MoDisco project. To aid understanding, the discussion of the syntax and the semantics of the language revolves around an exemplar pattern which is developed incrementally throughout the chapter. This chapter discusses the abstract and concrete syntax of EPL as well as its execution semantics. The aim of EPL is to contribute pattern matching capabilities to Epsilon. View issues resolved since the last stable release Interoperability with Other Model Management Tasks
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |