(&self)
| 84 | } |
| 85 | |
| 86 | pub fn constant_pool(&self) -> &[Constant] { |
| 87 | match self { |
| 88 | BinaryIndexedView::Module(module) => module.constant_pool(), |
| 89 | BinaryIndexedView::Script(script) => script.constant_pool(), |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | pub fn constant_at(&self, idx: ConstantPoolIndex) -> &Constant { |
| 94 | match self { |
no outgoing calls