Parser

public final class Parser

Parser calls external parsers for Fortran, C in a separate process.

Methods

cleanJsonFiles

public static void cleanJsonFiles(TapList<String> fileNames)

Clean temporary files created during parsing of C++ files.

Parameters
  • fileNames – C++ parsed file names.

parse

public static synchronized BufferedReader parse(String[] ppCommands, String[] commands, String file)

Calls external parser for Fortran, C or C++.

Parameters
  • ppCommands – preprocessing command or null

  • commands – parsing command

  • file – parsed file

Throws
  • IOException – if an input error is detected

Returns

BufferedReader with IL output