Module compilation unit grammar

Alan Bateman Alan.Bateman at oracle.com
Fri Mar 18 09:23:34 PDT 2011


Alex Buckley wrote:
> Here is the current grammar used by javac to parse a module 
> compilation unit ("module-info.java").
>
>
> :
>
> ModuleRequire:
>   'require' [ModuleRequireModifier] ModuleName ['@' VersionQuery] ';'
Just going through your mail of 3/11. Should this be "requires" as I 
think that is what javac looks for today? Same this with ModuleProvide 
where I think it may be "provides".

-Alan.




More information about the jigsaw-dev mailing list