Advertisement
Cirmah

XMLParser Header

Sep 21st, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. /*
  2.     XMLParser.hpp
  3.  
  4.     Produces a report that counts the number of statements, declarations, etc. of C++ programs
  5.  
  6.     Input is a srcML form of the code.
  7.  
  8.     Note: Does not handle XML comments
  9. */
  10.  
  11. #include <iterator>
  12. #include <string>
  13. #include <cstring>
  14. #include <sys/types.h>
  15. #include <sys/uio.h>
  16. #include <unistd.h>
  17. #include <errno.h>
  18. #include <vector>
  19. #include <ctype.h>
  20. #include <algorithm>
  21.  
  22.  
  23. //function declarations
  24.  
  25. void ParseDeclars(std::vector<char> pc, std::vector<char> buffer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement