Syntax:
declaration: | attribute* declaration2 | attribute+ '{' declaration* '}' ; attribute: | public | private | protected | package | static | ... ; declaration2: | importDeclaration | ... ;
importBind: Identifier ('=' Identifier)? ; importBindings: singleImport ':' importBind (',' importBind)* ; importDeclaration: | 'import' singleImport (',' singleImport)* (',' importBindings)? ';' | 'import' importBindings ';' ;
See Implementation
Syntax:
declaration: | attribute* declaration2 | attribute+ '{' declaration* '}' ; attribute: | public | private | protected | package | static | ... ; declaration2: | importDeclaration | ... ;
importBind: Identifier ('=' Identifier)? ; importBindings: singleImport ':' importBind (',' importBind)* ; importDeclaration: | 'import' singleImport (',' singleImport)* (',' importBindings)? ';' | 'import' importBindings ';' ;