Get the line number for this graph_op, if applicable.
(&self)
| 569 | |
| 570 | /// Get the line number for this graph_op, if applicable. |
| 571 | pub fn line(&self) -> Option<u64> { |
| 572 | self.local().map(|l| l.line) |
| 573 | } |
| 574 | |
| 575 | /// Get the encoding for this graph_op, if any. |
| 576 | pub fn encoding(&self) -> Option<Encoding> { |