MCPcopy
hub / github.com/marimo-team/marimo / parsePythonAST

Function parsePythonAST

packages/smart-cells/src/utils/python-ast.ts:9–11  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

7 * Parse Python code into an AST.
8 */
9export function parsePythonAST(code: string) {
10 return parser.parse(code);
11}
12
13/**
14 * Parsed function argument lists (positional and keyword arguments).

Callers 4

parseSQLStatementFunction · 0.85
createCursorFunction · 0.85
python-ast.test.tsFile · 0.85
findStringNodeFunction · 0.85

Calls 1

parseMethod · 0.65

Tested by 2

createCursorFunction · 0.68
findStringNodeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…