TsSimpleAst
Functions
Functions can be retrieved from source files, other namespaces, or function bodies:
const functions = sourceFile.getFunctions();
const function1 = sourceFile.getFunction("Function1");
const firstFunctionWithChildFunction = sourceFile.getFunction(f => f.getFunctions().length > 0);
Most of the information you can get about functions is covered in other sections.