Lines Matching refs:tt
79 ($ident:ident, $($tt:tt)+) => {
81 pub spans: $crate::custom_punctuation_repr!($($tt)+),
86 pub fn $ident<__S: $crate::__private::IntoSpans<$crate::custom_punctuation_repr!($($tt)+)>>(
89 let _validate_len = 0 $(+ $crate::custom_punctuation_len!(strict, $tt))*;
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)+) => {
116 $crate::token::parsing::peek_punct(cursor, $crate::stringify_punct!($($tt)+))
120 concat!("`", $crate::stringify_punct!($($tt)+), "`")
126 let spans: $crate::custom_punctuation_repr!($($tt)+) =
127 $crate::token::parsing::punct(input, $crate::stringify_punct!($($tt)+))?;
139 ($ident:ident, $($tt:tt)+) => {};
147 ($ident:ident, $($tt:tt)+) => {
150 … $crate::token::printing::punct($crate::stringify_punct!($($tt)+), &self.spans, tokens)
161 ($ident:ident, $($tt:tt)+) => {};
169 ($ident:ident, $($tt:tt)+) => {
186 ($ident:ident, $($tt:tt)+) => {};
194 ($ident:ident, $($tt:tt)+) => {
220 ($ident:ident, $($tt:tt)+) => {};
227 ($($tt:tt)+) => {
228 [$crate::__private::Span; 0 $(+ $crate::custom_punctuation_len!(lenient, $tt))+]
282 (lenient, $tt:tt) => { 0 };
283 (strict, $tt:tt) => {{ $crate::custom_punctuation_unexpected!($tt); 0 }};
297 ($($tt:tt)+) => {
298 concat!($(stringify!($tt)),+)