LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
libparse.hh File Reference

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>
Include dependency graph for libparse.hh:
This graph shows which files directly or indirectly include this file:

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::Expparse::parse (const std::string &str, bool enable_object_extensions_p=false)
 Parse a std::string. Used for unit tests.
ast::DecsListparse::parse_unit (const std::string &str, bool enable_object_extensions_p)
ast::Decsparse::parse_decs (Tweast &in)
 Parse a set of declarations.

Detailed Description

Declare functions and variables exported by parse module.