MCPcopy Create free account
hub / github.com/astral-sh/ruff / mod_module_fields

Function mod_module_fields

crates/ruff_python_ast/src/comparable.rs:2082–2089  ·  view source on GitHub ↗
(node: &ast::ModModule)

Source from the content-addressed store, hash-verified

2080});
2081
2082fn mod_module_fields(node: &ast::ModModule) -> ComparableStmtSlice<'_> {
2083 let ast::ModModule {
2084 body,
2085 range: _,
2086 node_index: _,
2087 } = node;
2088 ComparableSlice::new(body)
2089}
2090
2091fn mod_expression_fields(node: &ast::ModExpression) -> ComparableExpr<'_> {
2092 let ast::ModExpression {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected