more comfortable gitignore and configure
[ozulis.git] / src / lang / parser.hh
blob545a8f02d3323d25032c464b7357e9e5f90bc6e1
1 #ifndef LANG_PARSER_HH
2 # define LANG_PARSER_HH
4 # include <string>
6 namespace ast
8 struct File;
11 namespace lang
13 class Parser
15 public:
16 virtual ~Parser();
18 virtual ast::File * parseFile(const std::string & path);
19 virtual ast::File * parse(FILE * stream) = 0;
23 #endif /* !LANG_PARSER_HH */