class

class
→ class identifier ( ) access-specified-block-list end
| class identifier ( parameter-declaration-list )
access-specified-block-list end
| class identifier ( ) : identifier ( ) access-specified-block-list end
| class identifier ( ) : identifier ( parameter-declaration-list )
access-specified-block-list end
| class identifier ( parameter-declaration-list ) : identifier ( )
access-specified-block-list end
| class identifier ( parameter-declaration-list ) : identifier (
parameter-declaration-list ) access-specified-block-list end
| class identifier ( ) include access-specified-block-list end
| class identifier ( parameter-declaration-list ) include
access-specified-block-list end
| class identifier ( ) : identifier ( ) include
access-specified-block-list end
| class identifier ( ) : identifier ( parameter-declaration-list )
include access-specified-block-list end
| class identifier ( parameter-declaration-list ) : identifier ( )
include access-specified-block-list end
| class identifier ( parameter-declaration-list ) : identifier (
parameter-declaration-list ) include access-specified-block-list end