parse_result.hh File Reference

Class for holding result of a parser run: success and the final token. More...

#include <lestes/common.hh>
#include <lestes/intercode/intercode.g.hh>

Go to the source code of this file.

Namespaces

namespace  lestes
namespace  lestes::lang
namespace  lestes::lang::cplus
namespace  lestes::lang::cplus::syn

Classes

class  lestes::lang::cplus::syn::parse_result_type
 Class that contains data about a finished parser run. More...


Detailed Description

Class for holding result of a parser run: success and the final token.

For error reporting, we want to know the token (its location, actually) on which the parser failed. Parser's parse() method returns an instance of parse_result_type class which contains both the bool value (success) and the last token read by the parser.

Author:
Rudo

Definition in file parse_result.hh.


Generated on Mon Feb 12 18:23:46 2007 for lestes by doxygen 1.5.1-20070107