Hormiga 1.0

OperatorAsig Class Reference

#include <statement.h>

Inheritance diagram for OperatorAsig:
Collaboration diagram for OperatorAsig:

List of all members.

Public Member Functions

virtual T_STRING getSymbol () const
virtual T_MAGNITUDE getValue () const
virtual T_STRING toString () const
virtual bool exec ()
 OperatorAsig (Operand *op1, Operand *op2)

Protected Attributes

Seteablesop

Static Protected Attributes

static T_STRING symbol = ":="

Detailed Description

Definition at line 54 of file statement.h.


Constructor & Destructor Documentation

OperatorAsig::OperatorAsig ( Operand op1,
Operand op2 
)

Definition at line 73 of file statement.cpp.


Member Function Documentation

bool OperatorAsig::exec ( ) [virtual]

Implements Statement.

Definition at line 67 of file statement.cpp.

Here is the call graph for this function:

T_STRING OperatorAsig::getSymbol ( ) const [virtual]

Return de Symbol that represent this object, it can be the name of a variable.

Implements BinaryOperator.

Definition at line 51 of file statement.cpp.

T_MAGNITUDE OperatorAsig::getValue ( ) const [virtual]

Implements Operand.

Definition at line 61 of file statement.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

T_STRING OperatorAsig::toString ( ) const [virtual]

BinaryOperator

Reimplemented from BinaryOperator.

Definition at line 56 of file statement.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 65 of file statement.h.

T_STRING OperatorAsig::symbol = ":=" [static, protected]

OperatorAsig

Definition at line 64 of file statement.h.


The documentation for this class was generated from the following files: