#include <YExpression.h>
Inheritance diagram for YEBracket:
Public Member Functions | |
YEBracket (YCodePtr var, YCodePtr arg, YCodePtr def, constTypePtr resultType) | |
YEBracket (std::istream &str) | |
~YEBracket () | |
string | toString () const |
YCPValue | evaluate (bool cse=false) |
std::ostream & | toStream (std::ostream &str) const |
constTypePtr | type () const |
YCodePtr | def () const |
Private Member Functions | |
REP_BODY (YEBracket) | |
Private Attributes | |
YCodePtr | m_var |
YCodePtr | m_arg |
YCodePtr | m_def |
constTypePtr | m_resultType |
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|