LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
libparse.hh
Go to the documentation of this file.
1
6
#ifndef PARSE_LIBPARSE_HH
7
# define PARSE_LIBPARSE_HH
8
9
# include <string>
10
# include <set>
11
# include <utility>
12
# include <
misc/error.hh
>
13
# include <
misc/file-library.hh
>
14
# include <
parse/fwd.hh
>
15
16
# include <
ast/fwd.hh
>
17
19
namespace
parse
20
{
35
36
#ifdef SWIG
37
%newobject
parse
;
38
#endif
39
40
std::pair<ast::DecsList*, misc::error>
41
parse
(
const
std::string& prelude,
42
const
std::string& fname,
43
misc::file_library
&
l
,
44
bool
scan_trace_p,
bool
parse_trace_p
45
,
bool
enable_object_extensions_p =
false
46
);
47
51
ast_type
parse
(Tweast& input);
52
54
ast::Exp
*
parse
(
const
std::string&
str
55
,
bool
enable_object_extensions_p =
false
56
);
57
60
ast::DecsList
*
parse_unit
(
const
std::string&
str
61
,
bool
enable_object_extensions_p =
false
62
);
63
70
ast::Decs
*
parse_decs
(Tweast& in);
71
72
}
// namespace parse
73
74
#endif // !PARSE_LIBPARSE_HH
parse
libparse.hh
Generated on Wed Mar 5 2014 15:47:37 for LRDE Tiger Compiler by
1.8.1.2