repo.or.cz
/
ozulis.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
more comfortable gitignore and configure
[ozulis.git]
/
src
/
lang
/
parser.hh
blob
545a8f02d3323d25032c464b7357e9e5f90bc6e1
1
#ifndef LANG_PARSER_HH
2
# define LANG_PARSER_HH
3
4
# include <string>
5
6
namespace
ast
7
{
8
struct
File
;
9
}
10
11
namespace
lang
12
{
13
class
Parser
14
{
15
public
:
16
virtual
~
Parser
();
17
18
virtual ast
::
File
*
parseFile
(
const
std
::
string
&
path
);
19
virtual ast
::
File
*
parse
(
FILE
*
stream
) =
0
;
20
};
21
}
22
23
#endif
/* !LANG_PARSER_HH */