ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setPropertyExprAnn Class Reference

Set property expression. More...

#include <broadway_expr.h>

Inheritance diagram for setPropertyExprAnn:
Collaboration diagram for setPropertyExprAnn:

Public Member Functions

virtual ~setPropertyExprAnn ()
 Create a new setProperty expression. More...
 
 setPropertyExprAnn (Broadway::FlowSensitivity flow_sensitivity, const parserID *setProperty, const parserID *lhs, Broadway::Operator op, const parserID *rhs, int line)
 
virtual void lookup (propertyAnn *default_property, procedureAnn *procedure, Annotations *annotations)
 Test method. More...
 
virtual void print (std::ostream &out)
 Report method. More...
 
- Public Member Functions inherited from exprAnn
 exprAnn (Broadway::Operator op, int line)
 Create a new expression. More...
 
Broadway::Operator op () const
 Operator. More...
 
- Public Member Functions inherited from Ann
 Ann (int line)
 
int line () const
 

Private Attributes

Broadway::FlowSensitivity _flow_sensitivity
 Flow sensitivity. More...
 
std::string _property_name
 Set property name. More...
 
setPropertyAnn_property
 Set property pointer. More...
 
std::string _lhs_name
 Left-hand identifier. More...
 
REF annVariable_lhs
 Left-hand variable. More...
 
std::string _rhs_name
 Right-hand identifier. More...
 
REF annVariable_rhs
 Right-hand variable. More...
 

Detailed Description

Set property expression.

Definition at line 333 of file broadway_expr.h.

Constructor & Destructor Documentation

virtual setPropertyExprAnn::~setPropertyExprAnn ( )
inlinevirtual

Create a new setProperty expression.

Definition at line 384 of file broadway_expr.h.

setPropertyExprAnn::setPropertyExprAnn ( Broadway::FlowSensitivity  flow_sensitivity,
const parserID setProperty,
const parserID lhs,
Broadway::Operator  op,
const parserID rhs,
int  line 
)

Member Function Documentation

virtual void setPropertyExprAnn::lookup ( propertyAnn default_property,
procedureAnn procedure,
Annotations annotations 
)
virtual

Test method.

Use this to test a conditional expression. The calling context determines the "now" values of the various properties. Compute the next state

When a test returns true, analysis rules invoke this method for each action. The method determines what the new flowvalue will be once the action is invoked. Apply the next state

After computing the next state, actually apply it to the analysis information. Record any changes. Lookup method

Once a procedure annotation is complete and all the variables have been created, we call this routine to lookup the variables referenced in the expressions.

Implements exprAnn.

virtual void setPropertyExprAnn::print ( std::ostream &  out)
virtual

Report method.

Interpret the expression as an informational query (for the report annotations). Write the result out to the given stream. Print method

Display the expression using the annotation syntax.

Implements exprAnn.

Member Data Documentation

Broadway::FlowSensitivity setPropertyExprAnn::_flow_sensitivity
private

Flow sensitivity.

Definition at line 339 of file broadway_expr.h.

std::string setPropertyExprAnn::_property_name
private

Set property name.

The name of the setProperty to test

Definition at line 345 of file broadway_expr.h.

setPropertyAnn* setPropertyExprAnn::_property
private

Set property pointer.

A pointer to the setProperty definition

Definition at line 351 of file broadway_expr.h.

std::string setPropertyExprAnn::_lhs_name
private

Left-hand identifier.

The identifier on the left-hand side

Definition at line 357 of file broadway_expr.h.

REF annVariable* setPropertyExprAnn::_lhs
private

Left-hand variable.

A pointer to the actual left-hand side variable

Definition at line 363 of file broadway_expr.h.

std::string setPropertyExprAnn::_rhs_name
private

Right-hand identifier.

The identifier on the right-hand side

Definition at line 369 of file broadway_expr.h.

REF annVariable* setPropertyExprAnn::_rhs
private

Right-hand variable.

A pointer to the actual right-hand side variable.

Definition at line 375 of file broadway_expr.h.


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