(&self)
| 76 | |
| 77 | impl FunctionImpl { |
| 78 | pub(crate) fn attribute(&self) -> FunctionAttribute { |
| 79 | match self { |
| 80 | Self::BytecodeFunction(bc) => FunctionAttribute::from(bc.attrib_byte), |
| 81 | Self::BuiltinFunction(bf) => FunctionAttribute::from(bf.body.attrib_byte()), |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | pub(crate) fn line_table(&self) -> Option<&LineTable> { |
| 86 | match self { |
no test coverage detected