(&self)
| 72 | } |
| 73 | impl Exp { |
| 74 | pub fn is_call(&self) -> bool { |
| 75 | // Used to decide if we want to report profiling numbers. Ignore par_call for now |
| 76 | matches!( |
| 77 | self, |
| 78 | Exp::Call { |
| 79 | mode: CallMode::Call, |
| 80 | .. |
| 81 | } |
| 82 | ) |
| 83 | } |
| 84 | pub fn eval(self, helper: &MyHelper) -> Result<IDLValue> { |
| 85 | Ok(match self { |
| 86 | Exp::Path(id, path) => { |