Lines Matching refs:it
85 fn parse(it: &mut token_stream::IntoIter) -> Self { in parse()
94 let key = match it.next() { in parse()
107 assert_eq!(expect_punct(it), ':'); in parse()
110 "type" => info.type_ = expect_ident(it), in parse()
111 "name" => info.name = expect_string_ascii(it), in parse()
112 "author" => info.author = Some(expect_string(it)), in parse()
113 "description" => info.description = Some(expect_string(it)), in parse()
114 "license" => info.license = expect_string_ascii(it), in parse()
115 "alias" => info.alias = Some(expect_string_ascii(it)), in parse()
122 assert_eq!(expect_punct(it), ','); in parse()
127 expect_end(it); in parse()
154 let mut it = ts.into_iter(); in module() variables
156 let info = ModuleInfo::parse(&mut it); in module()