Returns the token kind for an Insert operation.
(&self)
| 415 | |
| 416 | /// Returns the token kind for an Insert operation. |
| 417 | pub fn token_kind(&self) -> Option<TokenKind> { |
| 418 | match self { |
| 419 | LeafOp::Insert { kind, .. } => Some(*kind), |
| 420 | _ => None, |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | /// Returns the content length in bytes. |
| 425 | pub fn content_len(&self) -> usize { |
nothing calls this directly
no outgoing calls
no test coverage detected