Keywords and facility-defined names
CMN combines grammar keywords with ordinary identifiers. This distinction is important when reading examples: not every familiar word is part of the language itself.
Selected grammar keywords
- File structure:
abstract,package,subpackage,import,as,platform,exclude - Types:
type,enum,specialization of,extends,implements,fieldset,relation - APIs:
service,resource,methodtype - Components:
component,provide,implement,uses,application,consists of,supports - Other model elements include
scenario,actor,page,widget,landscape, andpersists
The exact set is context-dependent: the grammar deliberately permits some keywords as identifiers in positions where there is no ambiguity. This page is therefore an orientation aid, not a lexer specification.
HTTP verbs
GET, POST, PUT, PATCH, and DELETE are grammar values used in a methodtype declaration:
cmn
methodtype export GETThey are not invoked directly as resource methods.
Names that are not CMN keywords
- A layer such as
core,api, orbackendis a free identifier beforepackage; there is nolayerkeyword. - Service operations are written as
find(...); there is nooperationkeyword. create,read,update,delete, andqueryare method-type names supplied by the Base facility.createEntity,readEntity,updateEntity,queryEntities, anddeleteEntityare supplied by the SpringBoot facility.processandcallare not CMN 1.3.80 grammar keywords.
