Home
last modified time | relevance | path

Searched refs:Token (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/crates/intertrait/macros/src/
H A Dargs.rs5 use syn::{Error, Ident, Path, Token, Type};
41 for ident in Punctuated::<Ident, Token![,]>::parse_terminated(&content)? { in parse()
53 paths = Punctuated::<Path, Token![,]>::parse_terminated(input)? in parse()
69 input.parse::<Token![=>]>()?; in parse()
H A Ditem_impl.rs6 use syn::Token;
59 .collect::<Punctuated<_, Token![,]>>(); in fully_bound_trait()
/DragonOS/kernel/crates/rbpf/src/
H A Dasm_parser.rs48 I: Stream<Token = char>, in ident()
49 I::Error: ParseError<I::Token, I::Range, I::Position>, in ident() argument
56 I: Stream<Token = char>, in integer()
57 I::Error: ParseError<I::Token, I::Range, I::Position>, in integer() argument
72 I: Stream<Token = char>, in register()
73 I::Error: ParseError<I::Token, I::Range, I::Position>, in register() argument
82 I: Stream<Token = char>, in operand()
83 I::Error: ParseError<I::Token, I::Range, I::Position>, in operand() argument
94 I: Stream<Token = char>, in instruction()
95 I::Error: ParseError<I::Token, I::Range, I::Position>, in instruction() argument