#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 |
|
Constructor |
|
|
|
Cleans up. |
|
|
|
Compares two YCodes for equality, greaterness or smallerness. |
|
Evaluates the code. |
|
Output value as bytecode to stream Implements YCPElementRep. |
|
Returns an ASCII representation of the YCode. Implements YCPElementRep. |
|
Returns YT_CODE. See YCPValueRep::type. Implements YCPValueRep. |
|
|
|
|