Lines Matching refs:comment
91 $name:ident @ $offset:literal $(, $comment:literal)? {
95 register!(@common $name @ $offset $(, $comment)?);
102 $name:ident => $alias:ident $(, $comment:literal)? {
106 register!(@common $name @ $alias::OFFSET $(, $comment)?);
113 $name:ident @ + $offset:literal $(, $comment:literal)? {
117 register!(@common $name @ $offset $(, $comment)?);
124 $name:ident => + $alias:ident $(, $comment:literal)? {
128 register!(@common $name @ $alias::OFFSET $(, $comment)?);
137 (@common $name:ident @ $offset:expr $(, $comment:literal)?) => {
139 #[doc=$comment]
181 $(, $comment:literal)?
196 $(, $comment)?
228 $(, $comment:literal)?;
233 $into_type => $into_type $(, $comment)?;
239 @field_accessor $name:ident $hi:tt:$lo:tt $field:ident as bool $(, $comment:literal)?;
241 register!(@field_accessor $name $hi:$lo $field as bool => bool $(, $comment)?;);
247 $(, $comment:literal)?;
255 $(, $comment)?;);
261 $(, $comment:literal)?;
264 { |f| <$into_type>::from(f as $type) } $into_type => $into_type $(, $comment)?;);
270 $(, $comment:literal)?;
272 register!(@field_accessor $name $hi:$lo $field as $type => $type $(, $comment)?;);
278 { $process:expr } $to_type:ty => $res_type:ty $(, $comment:literal)?;
288 #[doc=$comment]
304 #[doc=$comment]