pub fn parse_file(file_path: &str) -> Result<IdlRoot, String>
从文件读取并解析 WebIDL
file_path
Ok(oak_idl::ast::IdlRoot)
Err(String)