AssignStatement Class Reference

This class handles assignment statements made in CLI. More...

#include <AssignStatement.h>

Inheritance diagram for AssignStatement:
Collaboration diagram for AssignStatement:

List of all members.

Public Member Functions

void process (CliArgList *loop_vars)
 This will evaluate the expression of the right hand side of the assignment, and assign it to the thing on the left hand side.
 AssignStatement (const char *variablename, Expr *rhs)
 Construct an assignment statement.
virtual ~AssignStatement ()
 Destructor.

Friends

class boost::serialization::access


Detailed Description

This class handles assignment statements made in CLI.

See also:
Statement

SimpleExpr

Expr

CliArgList


Constructor & Destructor Documentation

AssignStatement::AssignStatement ( const char *  variablename,
Expr rhs 
)

Construct an assignment statement.

The first argument is a variable expression.


Member Function Documentation

void AssignStatement::process ( CliArgList loop_vars  )  [virtual]

This will evaluate the expression of the right hand side of the assignment, and assign it to the thing on the left hand side.

Where the thing on the left demands a certain type, type checking is performed.

Implements Statement.


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:11 2010 by doxygen