Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

UTAP::ContextVisitor Class Reference

Extension of SystemVisitor which tracks the context. More...

#include <system.h>

Inheritance diagram for UTAP::ContextVisitor:

UTAP::SystemVisitor UTAP::XPath UTAP::TypeChecker List of all members.

Public Member Functions

 ContextVisitor (ErrorHandler *)
virtual bool visitTemplateBefore (template_t &)
virtual void visitTemplateAfter (template_t &)

Protected Member Functions

void setContextNone ()
void setContextDeclaration ()
void setContextParameters ()
void setContextInvariant (state_t &)
void setContextGuard (edge_t &)
void setContextSync (edge_t &)
void setContextAssignment (edge_t &)
void setContextInstantiation ()
void handleError (expression_t, std::string)
void handleWarning (expression_t, std::string)

Detailed Description

Extension of SystemVisitor which tracks the context.

It can use this information when reporting errors and warnings to an ErrorHandler.


Constructor & Destructor Documentation

ContextVisitor::ContextVisitor ErrorHandler  ) 
 


Member Function Documentation

void ContextVisitor::handleError expression_t  ,
std::string 
[protected]
 

void ContextVisitor::handleWarning expression_t  ,
std::string 
[protected]
 

void ContextVisitor::setContextAssignment edge_t  )  [protected]
 

void ContextVisitor::setContextDeclaration  )  [protected]
 

void ContextVisitor::setContextGuard edge_t  )  [protected]
 

void ContextVisitor::setContextInstantiation  )  [protected]
 

void ContextVisitor::setContextInvariant state_t  )  [protected]
 

void ContextVisitor::setContextNone  )  [protected]
 

void ContextVisitor::setContextParameters  )  [protected]
 

void ContextVisitor::setContextSync edge_t  )  [protected]
 

void ContextVisitor::visitTemplateAfter template_t  )  [virtual]
 

Reimplemented from UTAP::SystemVisitor.

bool ContextVisitor::visitTemplateBefore template_t  )  [virtual]
 

Reimplemented from UTAP::SystemVisitor.


The documentation for this class was generated from the following files:
Generated on Thu Feb 17 15:20:59 2005 for libutap by  doxygen 1.4.1