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