#include <ShStatement.hpp>
Collaboration diagram for SH::ShStatement:
Public Member Functions | |
ShStatement (ShVariable dest, ShOperation op) | |
ShStatement (ShVariable dest, ShOperation op, ShVariable src) | |
ShStatement (ShVariable dest, ShVariable src0, ShOperation op, ShVariable src1) | |
ShStatement (ShVariable dest, ShOperation op, ShVariable src0, ShVariable src1, ShVariable src2) | |
ShStatement (const ShStatement &other) | |
ShStatement & | operator= (const ShStatement &other) |
template<typename T> | |
T * | get_info () |
template<typename T> | |
void | destroy_info () |
void | add_info (ShStatementInfo *new_info) |
void | remove_info (ShStatementInfo *old_info) |
Public Attributes | |
ShVariable | dest |
ShVariable | src [3] |
ShOperation | op |
std::list< ShStatementInfo * > | info |
bool | marked |
Friends | |
SH_DLLEXPORT std::ostream & | operator<< (std::ostream &out, const SH::ShStatement &stmt) |
Represent a statement of the form
dest := src[0] op src[1]or, for unary operators:
dest := op src[0]or, for op == SH_OP_ASN:
dest := src[0]
Definition at line 63 of file ShStatement.hpp.