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

Class Constant

crates/vm/src/stdlib/_ast/constant.rs:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6#[derive(Debug)]
7pub(super) struct Constant {
8 pub(super) range: TextRange,
9 pub(super) value: ConstantLiteral,
10}
11
12impl Constant {
13 pub(super) fn new_str(

Implementers 1

code.rscrates/vm/src/builtins/code.rs

Calls

no outgoing calls

Tested by

no test coverage detected