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

Annotation Class Reference

Annotation for an expression. More...

#include <annotation.h>

Inheritance diagram for Annotation:

Inheritance graph
[legend]
Collaboration diagram for Annotation:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Flag { af_DirectCall }

Public Methods

Type get_type () const
Symbolget_symbol () const
 Annotation (Type type, Symbol *sym)
virtual ~Annotation ()
void set_symbol (Symbol *symbol)
void set_type (Type type)
void add_flag (Flag f)
bool has_flag (Flag f)
void remove_flag (Flag f)

Private Attributes

Type type
Symbolsymbol
int flags

Detailed Description

Annotation for an expression.

Definition at line 19 of file annotation.h.


Member Enumeration Documentation

enum Annotation::Flag
 

Enumeration values:
af_DirectCall 

Definition at line 27 of file annotation.h.


Constructor & Destructor Documentation

Annotation::Annotation Type    type,
Symbol   sym
 

Definition at line 14 of file annotation.cc.

Annotation::~Annotation   [virtual]
 

Definition at line 21 of file annotation.cc.


Member Function Documentation

void Annotation::add_flag Flag    f [inline]
 

Definition at line 161 of file annotation.h.

References flags.

Referenced by Expr_annotator::process_member_access().

Symbol* Annotation::get_symbol   const [inline]
 

Definition at line 25 of file annotation.h.

Referenced by print_annotated_tree().

Type Annotation::get_type   const [inline]
 

Definition at line 24 of file annotation.h.

Referenced by Expr_annotator::do_funcall(), make_comma_expr(), and print_annotated_tree().

bool Annotation::has_flag Flag    f [inline]
 

Definition at line 168 of file annotation.h.

References flags.

Referenced by print_annotated_tree().

void Annotation::remove_flag Flag    f [inline]
 

Definition at line 175 of file annotation.h.

References flags.

void Annotation::set_symbol Symbol   symbol [inline]
 

Definition at line 147 of file annotation.h.

Referenced by fill_in_overload_annotation().

void Annotation::set_type Type    type [inline]
 

Definition at line 154 of file annotation.h.

Referenced by fill_in_overload_annotation().


Member Data Documentation

int Annotation::flags [private]
 

Definition at line 22 of file annotation.h.

Referenced by add_flag(), has_flag(), and remove_flag().

Symbol* Annotation::symbol [private]
 

Definition at line 21 of file annotation.h.

Type Annotation::type [private]
 

Definition at line 20 of file annotation.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:35:09 2003 for VFiasco Semantics Compiler by doxygen1.2.15