LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Declare functions and variables exported by parse module. More...
#include <string>
#include <set>
#include <utility>
#include <misc/error.hh>
#include <misc/file-library.hh>
#include <parse/fwd.hh>
#include <ast/fwd.hh>
Go to the source code of this file.
Namespaces | |
namespace | parse |
Parsing the input, delivering an ast::Ast. |
Functions | |
std::pair< ast::DecsList *, misc::error > | parse::parse (const std::string &prelude, const std::string &fname, misc::file_library &l, bool scan_trace_p, bool parse_trace_p, bool enable_object_extensions_p=false) |
Parse a Tiger file, return the corresponding abstract syntax tree. | |
ast_type | parse::parse (Tweast &input) |
Parse a Tweast. | |
ast::Exp * | parse::parse (const std::string &str, bool enable_object_extensions_p=false) |
Parse a std::string. Used for unit tests. | |
ast::DecsList * | parse::parse_unit (const std::string &str, bool enable_object_extensions_p) |
ast::Decs * | parse::parse_decs (Tweast &in) |
Parse a set of declarations. |
Declare functions and variables exported by parse module.