MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / AstNode

Class AstNode

src/pyspector/_rust_core/src/ast_parser.rs:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4#[derive(Debug, Deserialize, Clone)]
5pub struct AstNode {
6 pub node_type: String,
7 pub lineno: isize,
8 pub col_offset: isize,
9 #[serde(default)]
10 pub children: HashMap<String, Vec<AstNode>>,
11 #[serde(default)]
12 pub fields: HashMap<String, Option<serde_json::Value>>,
13}
14
15#[derive(Debug)]
16pub struct PythonFile {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected