#include <ShStatement.hpp>
Inheritance diagram for SH::ShStatement:


Public Types | |
| typedef std::vector< ShVariable > | ShVariableVec |
Public Member Functions | |
| ShStatement (ShOperation op) | |
| Constructs a statement with the given operator, src(s), and dest variables. | |
| 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) | |
Public Attributes | |
| ShVariable | dest |
| ShVariableVec | src |
| ShOperation | op |
| 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 42 of file ShStatement.hpp.
|
|
Constructs a statement with the given operator, src(s), and dest variables. Sets marked to false. Definition at line 25 of file ShStatement.cpp. |
1.4.6