ドキュメントには次のように書かれています。
ast.parse(source, filename='<unknown>', mode='exec')
Equivalent to compile(source, filename, mode, ast.PyCF_ONLY_AST).
compile(source, filename, mode[, flags[, dont_inherit]])
The filename argument should give the file from which the code was read;
pass some recognizable value if it wasn’t read from a file
('<string>' is commonly used).
しかし、このファイル名を AST ノードから取得する方法はあまりわかりません。または、このファイル名パラメーターはどのように使用されますか。スタブだけですか?