[NAME]
ALL.dao.grammar.class

[TITLE]
Class

[DESCRIPTION]


     
   1  ClassConstField ::= 'const' Identifier '=' ConstExpression
   2  ClassVarField   ::= ( 'var' | 'invar' | 'static' ) Identifier [ '=' ConstExpression ]
   3  
   4  Mixins  ::= '(' [ UserType { ',' UserType } ] ')'
   5  
   6  ClassBody ::= { ClassConstField | ClassVarField | Routine }
   7  
   8  Class ::= 'class' { Identifier '::' } Identifier [ Mixins ] [ ':' UserType ]
   9                '{' [ ClassBody ] '}'