-- @date 2007/07/26 -- @description This TCS model defines the syntax of the ATL language. -- REMARKS: -- - there is a problem which requires to add the syntactic predicate: -- (NAME LPAREN)=> -- before: -- ret=operationCallExp -- when compiling with ANTLRv3 -- - k = 0 means: -- backtrack = true; -- for ANTLRv3 -- - disambiguation information is typically used with ANTLRv2 -- @begins Units -- @begins Units -- @end Units -- @end Units -- @begin Helpers -- @begin Helpers -- @end Helpers -- @begin Rules -- @end Helpers -- @begin Rules -- @end Rules -- @begin InPattern -- @end Rules -- @begin InPattern -- @end InPattern -- @begin OutPattern #all -- @end InPattern -- @begin OutPattern #all -- @end OutPattern -- @end OutPattern -- @begin Statements -- @begin Statements -- @end Statements -- @begin Models -- @end Statements -- @begin Models #all -- @end Models -- @begin OCL #all -- @end Models -- @begin OCL -- @begin operatored -- @begin operatored -- @end operatored -- @end operatored -- @begin values -- @begin values -- @end values -- @end values -- @begin CollectionExps -- @begin CollectionExps -- @end CollectionExps -- @end CollectionExps -- @begin OclType -- @begin OclType -- @end OclTypes -- @end OCL rightSpace leftNone rightSpace leftNone rightSpace leftSpace leftNone rightSpace leftNone rightSpace -- except after def where it is leftNone, rightSpace leftSpace rightSpace -- except after def where it is leftNone, rightSpace leftSpace rightSpace leftSpace -- operator symbols rightNone -- operator symbols leftNone leftNone leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace leftSpace rightSpace -- 0 is highest -- no corresponding symbol => symbol is the keyword defined by the quoted string (which is also the name) -- no corresponding symbol => symbol is the keyword defined by the quoted string (which is also the name)