Method
expr_dot
(
&mut self,
s: S,
_d: D,
_this_id: NodeID,
_parent_id: NodeID,
lhs: &Expr,
rhs: &SmolStr,
_rhs_span: Span,
)
Source from the content-addressed store, hash-verified
| 418 | } |
| 419 | |
| 420 | pub fn expr_dot( |
| 421 | &mut self, |
| 422 | s: S, |
| 423 | _d: D, |
| 424 | _this_id: NodeID, |
| 425 | _parent_id: NodeID, |
| 426 | lhs: &Expr, |
| 427 | rhs: &SmolStr, |
| 428 | _rhs_span: Span, |
| 429 | ) -> io::Result<()> { |
| 430 | if let Expr::Name(name) = lhs { |
| 431 | if let Some(_enum_) = s.get_enum(name.basename()) { |
| 432 | return Ok(()); |
| 433 | } |
| 434 | } |
| 435 | eprintln!("attempted to codegen Expr::Dot lhs = {lhs:#?}, rhs = {rhs:#?}"); |
| 436 | Ok(()) |
| 437 | } |
| 438 | } |
Tested by
no test coverage detected