MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / expr_mut

Method expr_mut

crates/sith_python_parser/src/lib.rs:350–352  ·  view source on GitHub ↗

Returns a mutable reference to the expression contained in this parsed output.

(&mut self)

Source from the content-addressed store, hash-verified

348
349 /// Returns a mutable reference to the expression contained in this parsed output.
350 pub fn expr_mut(&mut self) -> &mut Expr {
351 &mut self.syntax.body
352 }
353
354 /// Consumes the [`Parsed`] output and returns the contained [`Expr`].
355 pub fn into_expr(self) -> Expr {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected