You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To analyze source code files we have to be able to parse text files to our simple abstract syntax trees from issue #50.
The idea is to create parser with the following interface
publicstaticAST<LineGrammar, String> parseDirectory(java.nio.Pathpath) {
/** *Traverse the given directory recursively and read the lines of all non-binary files (e.g., .java, .cpp, .txt, ...). * Create a node in the tree for each directory, file, and the lines in that file, * such that the directory structure is mirrored in the returned tree. */
}
The text was updated successfully, but these errors were encountered:
To analyze source code files we have to be able to parse text files to our simple abstract syntax trees from issue #50.
The idea is to create parser with the following interface
The text was updated successfully, but these errors were encountered: