DWQA QuestionsCategory: ProgramPython parses C++ text to get a list of function names and variable names
willzhang asked 2 weeks ago

How can Python parse a CPP source file to get function name, class name, variable name list?

Theo replied 2 weeks ago

Don’t write the parser by yourself. You can use libclang with Python binding.

1 Answers
inapt answered 2 weeks ago