Lines Matching refs:rest
88 (@array [$($elems:expr,)*] null $($rest:tt)*) => {
89 json_internal!(@array [$($elems,)* json_internal!(null)] $($rest)*)
93 (@array [$($elems:expr,)*] true $($rest:tt)*) => {
94 json_internal!(@array [$($elems,)* json_internal!(true)] $($rest)*)
98 (@array [$($elems:expr,)*] false $($rest:tt)*) => {
99 json_internal!(@array [$($elems,)* json_internal!(false)] $($rest)*)
103 (@array [$($elems:expr,)*] [$($array:tt)*] $($rest:tt)*) => {
104 json_internal!(@array [$($elems,)* json_internal!([$($array)*])] $($rest)*)
108 (@array [$($elems:expr,)*] {$($map:tt)*} $($rest:tt)*) => {
109 json_internal!(@array [$($elems,)* json_internal!({$($map)*})] $($rest)*)
113 (@array [$($elems:expr,)*] $next:expr, $($rest:tt)*) => {
114 json_internal!(@array [$($elems,)* json_internal!($next),] $($rest)*)
123 (@array [$($elems:expr),*] , $($rest:tt)*) => {
124 json_internal!(@array [$($elems,)*] $($rest)*)
128 (@array [$($elems:expr),*] $unexpected:tt $($rest:tt)*) => {
146 (@object $object:ident [$($key:tt)+] ($value:expr) , $($rest:tt)*) => {
148 json_internal!(@object $object () ($($rest)*) ($($rest)*));
152 (@object $object:ident [$($key:tt)+] ($value:expr) $unexpected:tt $($rest:tt)*) => {
162 (@object $object:ident ($($key:tt)+) (: null $($rest:tt)*) $copy:tt) => {
163 json_internal!(@object $object [$($key)+] (json_internal!(null)) $($rest)*);
167 (@object $object:ident ($($key:tt)+) (: true $($rest:tt)*) $copy:tt) => {
168 json_internal!(@object $object [$($key)+] (json_internal!(true)) $($rest)*);
172 (@object $object:ident ($($key:tt)+) (: false $($rest:tt)*) $copy:tt) => {
173 json_internal!(@object $object [$($key)+] (json_internal!(false)) $($rest)*);
177 (@object $object:ident ($($key:tt)+) (: [$($array:tt)*] $($rest:tt)*) $copy:tt) => {
178 json_internal!(@object $object [$($key)+] (json_internal!([$($array)*])) $($rest)*);
182 (@object $object:ident ($($key:tt)+) (: {$($map:tt)*} $($rest:tt)*) $copy:tt) => {
183 json_internal!(@object $object [$($key)+] (json_internal!({$($map)*})) $($rest)*);
187 (@object $object:ident ($($key:tt)+) (: $value:expr , $($rest:tt)*) $copy:tt) => {
188 json_internal!(@object $object [$($key)+] (json_internal!($value)) , $($rest)*);
210 (@object $object:ident () (: $($rest:tt)*) ($colon:tt $($copy:tt)*)) => {
216 (@object $object:ident ($($key:tt)*) (, $($rest:tt)*) ($comma:tt $($copy:tt)*)) => {
223 (@object $object:ident () (($key:expr) : $($rest:tt)*) $copy:tt) => {
224 json_internal!(@object $object ($key) (: $($rest)*) (: $($rest)*));
233 (@object $object:ident ($($key:tt)*) ($tt:tt $($rest:tt)*) $copy:tt) => {
234 json_internal!(@object $object ($($key)* $tt) ($($rest)*) ($($rest)*));