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

Expression Class Reference

#include <expression.h>

Inheritance diagram for Expression:

Inheritance graph
[legend]
Collaboration diagram for Expression:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Expression (SrcPosition *position)
virtual ~Expression ()
virtual Astoperator= (const Ast &ast)
virtual bool operator== (const Ast &ast) const

Constructor & Destructor Documentation

Expression::Expression SrcPosition position  )  [inline]
 

Definition at line 10 of file expression.h.

References Ast::position.

00011                                 : Ast(position) {}

virtual Expression::~Expression  )  [inline, virtual]
 

Definition at line 13 of file expression.h.

00013                                       {
00014                 }


Member Function Documentation

virtual Ast& Expression::operator= const Ast ast  )  [inline, virtual]
 

Reimplemented from Ast.

Reimplemented in ArrayReference, BinaryExpression, FieldReference, Identifier, IntegerLiteral, MultipleArrayReference, SimpleArrayReference, StringLiteral, and UnaryExpression.

Definition at line 16 of file expression.h.

References Ast::operator=().

Referenced by StringLiteral::operator=(), IntegerLiteral::operator=(), FieldReference::operator=(), and BinaryExpression::operator=().

00016                                                          {
00017                         return Ast::operator=(ast);
00018                 }

virtual bool Expression::operator== const Ast ast  )  const [inline, virtual]
 

Reimplemented from Ast.

Reimplemented in ArrayReference, BinaryExpression, FieldReference, Identifier, IntegerLiteral, MultipleArrayReference, SimpleArrayReference, StringLiteral, and UnaryExpression.

Definition at line 19 of file expression.h.

References Ast::operator==().

Referenced by StringLiteral::operator==(), IntegerLiteral::operator==(), FieldReference::operator==(), and BinaryExpression::operator==().

00019                                                                 {
00020                         return Ast::operator==(ast);
00021                 }


The documentation for this class was generated from the following file:
Generated on Mon Dec 1 17:39:00 2003 for Protomake by doxygen1.3