MCPcopy Index your code
hub / github.com/RustPython/RustPython / ast_to_object

Method ast_to_object

crates/vm/src/stdlib/_ast/argument.rs:10–13  ·  view source on GitHub ↗
(self, vm: &VirtualMachine, source_file: &SourceFile)

Source from the content-addressed store, hash-verified

8
9impl Node for PositionalArguments {
10 fn ast_to_object(self, vm: &VirtualMachine, source_file: &SourceFile) -> PyObjectRef {
11 let Self { args, range: _ } = self;
12 BoxedSlice(args).ast_to_object(vm, source_file)
13 }
14
15 fn ast_from_object(
16 vm: &VirtualMachine,

Callers

nothing calls this directly

Calls 1

BoxedSliceClass · 0.85

Tested by

no test coverage detected