Functionsยง
- count_
top_ level_ functions - Count the number of top-level functions in an AST file.
- extract_
function - Extract the nth top-level function from an AST file as a
FunctionNode. Also returns the inferred name (e.g. from a variable declarator). Returns None if function_index is out of bounds.