Lines Matching full:pub
5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident()
13 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal()
21 pub(crate) fn try_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string()
37 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident()
41 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct()
49 pub(crate) fn expect_string(it: &mut token_stream::IntoIter) -> String { in expect_string()
53 pub(crate) fn expect_string_ascii(it: &mut token_stream::IntoIter) -> String { in expect_string_ascii()
59 pub(crate) fn expect_group(it: &mut token_stream::IntoIter) -> Group { in expect_group()
67 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end()
73 pub(crate) struct Generics {
74 pub(crate) impl_generics: Vec<TokenTree>,
75 pub(crate) ty_generics: Vec<TokenTree>,
81 pub(crate) fn parse_generics(input: TokenStream) -> (Generics, Vec<TokenTree>) { in parse_generics()