pub fn parse_import_stmt(pair: Pair<'_, Rule>) -> Result<ImportStmt>Expand description
Parse an import statement
Handles 3 grammar alternatives:
from std::core::math use { a, b } → Named with path (::-separated)
use std::core::math as math → Namespace with alias
use std::core::math → Namespace without alias (binds math)