# -*- Mode: antlr -*- import_from: ('from' ('.'+ | '.'* dotted_name) 'import' ('*' | '(' import_as_names ')' | import_as_names)) import_as_names: import_as_name (',' import_as_name)* [','] import_as_name: NAME ['as' NAME] dotted_name: NAME ('.' NAME)*