Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

cbl::codetree::ICompatibilityChecker Class Reference

#include <compchecker.h>

List of all members.


Public Methods

virtual bool  isCompatible (const def::TDef *, const def::TDef *)=0
  Tests whether both type definitions are compatible each other. More...

virtual bool  isCompatible (const expr::TExpression *, const expr::TExpression *)=0
  Tests whether both expressions are compatible each other. More...

virtual bool  isCompatible (const expr::TExpression *, const def::TDef *)=0
  Tests whether given expression is compatible to given type definition. More...


Detailed Description

ICompatibilityChecker provides you with an interface for testing type compatibilities between definitions and expressions.
Override these member methods to implement your own rules.

Definition at line 29 of file compchecker.h.


Member Function Documentation

virtual bool cbl::codetree::ICompatibilityChecker::isCompatible const expr::TExpression  ,
const def::TDef  
[pure virtual]
 

Tests whether given expression is compatible to given type definition.

virtual bool cbl::codetree::ICompatibilityChecker::isCompatible const expr::TExpression  ,
const expr::TExpression  
[pure virtual]
 

Tests whether both expressions are compatible each other.

virtual bool cbl::codetree::ICompatibilityChecker::isCompatible const def::TDef  ,
const def::TDef  
[pure virtual]
 

Tests whether both type definitions are compatible each other.


The documentation for this class was generated from the following file:
Generated on Sat Apr 6 19:07:26 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002