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

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>
Include dependency graph for libparse.cc:

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

Functions and variables exported by the parse module.