#include <YExpression.h>
Inheritance diagram for YECompare:

Public Types | |
| typedef cmp_op | c_op |
| enum | cmp_op { C_NOT = 1, C_EQ = 2, C_LT = 4, C_NEQ = C_NOT|C_EQ, C_LE = C_EQ|C_LT, C_GE = C_NOT|C_LT, C_GT = C_NOT|C_EQ|C_LT } |
Public Member Functions | |
| YECompare (YCodePtr left, c_op op, YCodePtr right) | |
| YECompare (bytecodeistream &str) | |
| ~YECompare () | |
| string | toString () const |
| YCPValue | evaluate (bool cse=false) |
| std::ostream & | toStream (std::ostream &str) const |
| constTypePtr | type () const |
Private Member Functions | |
| REP_BODY (YECompare) | |
Private Attributes | |
| YCodePtr | m_left |
| c_op | m_op |
| YCodePtr | m_right |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
evaluate YCode to YCPValue if debugger == 0 called for parse time evaluation (i.e. constant subexpression elimination) else called for runtime evaluation Reimplemented from YCode. |
|
|
|
|
|
writes YCode to a stream see Bytecode for read Implements YCode. |
|
|
Returns an ASCII representation of the YCode. Reimplemented from YCode. |
|
|
return type (interesting mostly for function calls) Reimplemented from YCode. |
|
|
|
|
|
|
|
|
|
1.4.6