import' ( ClassName | InterfaceName )`;'
;
TypeDeclaration =
	ClassDeclaration
|	InterfaceDeclaration
|	`;'
;
ClassDeclaration =
	Modifier* `class' Identifier 
	(`extends' ClassName)?
	(`implements' InterfaceName (`,' InterfaceName)*)?
	`{' FieldDeclaration* `}'
;
InterfaceDeclaration =
	Modifier* `interface' Identifier
	(`extends' InterfaceName (`,' InterfaceName)*)?
	`{' FieldDeclaration* `}'
;
FieldDeclaration =
	DocComment? MethodDeclaration
|	DocComment? ConstructorDeclaration
|	DocComment? VariableDec