LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Functions and variables exported by the parse module. More...
#include <misc/path.hh>
#include <misc/file-library.hh>
#include <misc/symbol.hh>
#include <parse/location.hh>
#include <parse/tiger-parser.hh>
#include <parse/tweast.hh>
#include <parse/libparse.hh>
#include <ast/decs.hh>
#include <ast/decs-list.hh>
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. |
Functions and variables exported by the parse module.