next up previous
Next: Productions from 8.3: Field Up: Productions from 8: Class Previous: Productions from 8: Class

Productions from 8.1: Class Declaration

Productions from 8.1: Class Declaration[44]:

ClassDeclaration:
  Modifiers 'class' Identifier Super Interfaces ClassBody .

Super:
  'extends' InhName / .

Interfaces:
  ['implements' InterfaceTypeList] .

InterfaceTypeList:
  InterfaceType /
  InterfaceTypeList ',' InterfaceType .

ClassBody:
  '{' ClassBodyDeclarations '}' .

ClassBodyDeclarations:
  / ClassBodyDeclarationList .

ClassBodyDeclarationList:
  ClassBodyDeclaration /
  ClassBodyDeclarationList ClassBodyDeclaration .

ClassBodyDeclaration:
  ClassMemberDeclaration /
  ClassInitializer /
  ConstructorDeclaration .

ClassMemberDeclaration:
  FieldDeclaration /
  MethodDeclaration /
  TypeDeclaration .
This macro is invoked in definition 38.



2008-09-11