#include <YCPCode.h>
Inheritance diagram for YCPCodeRep:

Public Member Functions | |
| YCodePtr | code () const |
| YCPOrder | compare (const YCPCode &v) const |
| string | toString () const |
| std::ostream & | toStream (std::ostream &str) const |
| YCPValueType | valuetype () const |
| YCPValue | evaluate (bool cse=false) const |
Protected Member Functions | |
| YCPCodeRep () | |
| YCPCodeRep (YCodePtr c) | |
| ~YCPCodeRep () | |
Private Attributes | |
| YCodePtr | m_code |
Friends | |
| class | YCPCode |
| YCPCodeRep::YCPCodeRep | ( | ) | [protected] |
Constructor
| YCPCodeRep::YCPCodeRep | ( | YCodePtr | c | ) | [protected] |
| YCPCodeRep::~YCPCodeRep | ( | ) | [protected] |
Cleans up.
| YCodePtr YCPCodeRep::code | ( | ) | const |
Compares two YCodes for equality, greaterness or smallerness.
| string YCPCodeRep::toString | ( | ) | const [virtual] |
Returns an ASCII representation of the YCode.
Implements YCPElementRep.
| std::ostream & YCPCodeRep::toStream | ( | std::ostream & | str | ) | const [virtual] |
Output value as bytecode to stream
Implements YCPElementRep.
| YCPValueType YCPCodeRep::valuetype | ( | ) | const [virtual] |
Returns YT_CODE. See YCPValueRep::type.
Implements YCPValueRep.
| YCPValue YCPCodeRep::evaluate | ( | bool | cse = false |
) | const |
Evaluates the code.
friend class YCPCode [friend] |
YCodePtr YCPCodeRep::m_code [private] |
1.5.0