facebookresearch/CodeGen

[Question] How to write extract_function method?

akshatchhabra opened this issue · 0 comments

Hi, I am trying to write a language processor for C#. I can't seem to find any documentation or comments that explain the logic behind the extract_function method that I can use to write my own extract_function method. Could you please share directions on how to go about writing the method?

Also, where can I find the contents I need to add to CSHARP_TOKEN2CHAR and ast_nodes_type_string?