Lines Matching refs:ident
79 ($ident:ident, $($tt:tt)+) => {
80 pub struct $ident {
86 pub fn $ident<__S: $crate::__private::IntoSpans<$crate::custom_punctuation_repr!($($tt)+)>>(
88 ) -> $ident {
90 $ident {
95 impl $crate::__private::Default for $ident {
97 $ident($crate::__private::Span::call_site())
101 $crate::impl_parse_for_custom_punctuation!($ident, $($tt)+);
102 $crate::impl_to_tokens_for_custom_punctuation!($ident, $($tt)+);
103 $crate::impl_clone_for_custom_punctuation!($ident, $($tt)+);
104 $crate::impl_extra_traits_for_custom_punctuation!($ident, $($tt)+);
113 ($ident:ident, $($tt:tt)+) => {
114 impl $crate::token::CustomToken for $ident {
124 impl $crate::parse::Parse for $ident {
125 fn parse(input: $crate::parse::ParseStream) -> $crate::parse::Result<$ident> {
128 Ok($ident(spans))
139 ($ident:ident, $($tt:tt)+) => {};
147 ($ident:ident, $($tt:tt)+) => {
148 impl $crate::__private::ToTokens for $ident {
161 ($ident:ident, $($tt:tt)+) => {};
169 ($ident:ident, $($tt:tt)+) => {
170 impl $crate::__private::Copy for $ident {}
173 impl $crate::__private::Clone for $ident {
186 ($ident:ident, $($tt:tt)+) => {};
194 ($ident:ident, $($tt:tt)+) => {
195 impl $crate::__private::Debug for $ident {
197 $crate::__private::Formatter::write_str(f, stringify!($ident))
201 impl $crate::__private::Eq for $ident {}
203 impl $crate::__private::PartialEq for $ident {
209 impl $crate::__private::Hash for $ident {
220 ($ident:ident, $($tt:tt)+) => {};
237 ($mode:ident, +) => { 1 };
238 ($mode:ident, +=) => { 2 };
239 ($mode:ident, &) => { 1 };
240 ($mode:ident, &&) => { 2 };
241 ($mode:ident, &=) => { 2 };
242 ($mode:ident, @) => { 1 };
243 ($mode:ident, !) => { 1 };
244 ($mode:ident, ^) => { 1 };
245 ($mode:ident, ^=) => { 2 };
246 ($mode:ident, :) => { 1 };
247 ($mode:ident, ::) => { 2 };
248 ($mode:ident, ,) => { 1 };
249 ($mode:ident, /) => { 1 };
250 ($mode:ident, /=) => { 2 };
251 ($mode:ident, .) => { 1 };
252 ($mode:ident, ..) => { 2 };
253 ($mode:ident, ...) => { 3 };
254 ($mode:ident, ..=) => { 3 };
255 ($mode:ident, =) => { 1 };
256 ($mode:ident, ==) => { 2 };
257 ($mode:ident, >=) => { 2 };
258 ($mode:ident, >) => { 1 };
259 ($mode:ident, <=) => { 2 };
260 ($mode:ident, <) => { 1 };
261 ($mode:ident, *=) => { 2 };
262 ($mode:ident, !=) => { 2 };
263 ($mode:ident, |) => { 1 };
264 ($mode:ident, |=) => { 2 };
265 ($mode:ident, ||) => { 2 };
266 ($mode:ident, #) => { 1 };
267 ($mode:ident, ?) => { 1 };
268 ($mode:ident, ->) => { 2 };
269 ($mode:ident, <-) => { 2 };
270 ($mode:ident, %) => { 1 };
271 ($mode:ident, %=) => { 2 };
272 ($mode:ident, =>) => { 2 };
273 ($mode:ident, ;) => { 1 };
274 ($mode:ident, <<) => { 2 };
275 ($mode:ident, <<=) => { 3 };
276 ($mode:ident, >>) => { 2 };
277 ($mode:ident, >>=) => { 3 };
278 ($mode:ident, *) => { 1 };
279 ($mode:ident, -) => { 1 };
280 ($mode:ident, -=) => { 2 };
281 ($mode:ident, ~) => { 1 };