org-babel-tangle-collect-blocks

org-babel-tangle-collect-blocks is a compiled Lisp function in `ob-tangle.el'.

(org-babel-tangle-collect-blocks &optional LANGUAGE TANGLE-FILE)

Collect source blocks in the current Org-mode file.
Return an association list of source-code block specifications of
the form used by `org-babel-spec-to-string' grouped by language.
Optional argument LANGUAGE can be used to limit the collected
source code blocks by language. Optional argument TANGLE-FILE
can be used to limit the collected code blocks by target file.