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

Public Member Functions | |
| YETriple (YCodePtr a_expr, YCodePtr a_true, YCodePtr a_false) | |
| YETriple (bytecodeistream &str) | |
| ~YETriple () | |
| virtual ykind | kind () const |
| string | toString () const |
| YCPValue | evaluate (bool cse=false) |
| std::ostream & | toStream (std::ostream &str) const |
| constTypePtr | type () const |
Private Member Functions | |
| REP_BODY (YETriple) | |
Private Attributes | |
| YCodePtr | m_expr |
| YCodePtr | m_true |
| YCodePtr | m_false |
| YETriple::YETriple | ( | YCodePtr | a_expr, | |
| YCodePtr | a_true, | |||
| YCodePtr | a_false | |||
| ) |
| YETriple::YETriple | ( | bytecodeistream & | str | ) |
| YETriple::~YETriple | ( | ) |
| YETriple::REP_BODY | ( | YETriple | ) | [private] |
| string YETriple::toString | ( | ) | const [virtual] |
| YCPValue YETriple::evaluate | ( | bool | cse = false |
) | [virtual] |
| std::ostream & YETriple::toStream | ( | std::ostream & | str | ) | const [virtual] |
| constTypePtr YETriple::type | ( | ) | const [inline, virtual] |
return type (interesting mostly for function calls)
Reimplemented from YCode.
YCodePtr YETriple::m_expr [private] |
YCodePtr YETriple::m_true [private] |
YCodePtr YETriple::m_false [private] |
1.5.0