types.js 722 B

12345678910111213141516171819
  1. /* This file is part of AToMPM - A Tool for Multi-Paradigm Modelling
  2. * Copyright 2011 by the AToMPM team and licensed under the LGPL
  3. * See COPYING.lesser and README.md in the root of this project for full details
  4. */
  5. __specialTypes = {
  6. '$ATTRIBUTE':'map<[name,type,default],[string,string,string]>',
  7. '$CARDINALITY':'map<[dir,type,min,max],[string,string,string,string]>',
  8. '$EVENT':'ENUM(pre-connect,pre-create,pre-disconnect,pre-delete,pre-edit,post-connect,post-create,post-disconnect,post-delete,post-edit,validate)',
  9. '$EVENT_HANDLER':'map<[name,event,code],[string,$EVENT,code]>',
  10. '$ARG':'map<[name,type],[string,string]>',
  11. '$METHOD':'map<[name,args,returntype,body],[string,list<$ARG>,string,code]>'
  12. };