Reference implementation of code generation projects from Facebook AI Research. General toolkit to apply machine learning to code, from dataset creation to model training and evaluation. Comes with pretrained models.
MIT License
710
stars
144
forks
source link
[Question] How to write extract_function method? #89
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?
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 ownextract_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
andast_nodes_type_string
?