Synopsis - Synopsis::Parser::StatusGuard

namespace Synopsis
class Parser::StatusGuard
File: ../Synopsis/Parser.hh

A StatusGuard manages a tentative parse. All actions invoked after its instantiation will be rolled back in the destructor unless 'commit' has been called before.

Public Member functions Summary:
constructor StatusGuard(Parser&)
destructor ~StatusGuard()
void commit()
Private Data members Summary:
Lexer& my_lexer
const char* my_token_mark
ErrorList my_errors
Parser::ErrorList::size_type my_error_mark
bool my_committed
Generated on Thu Apr 16 16:27:56 2009 by
synopsis (version devel)