KiCad PCB EDA Suite
|
#include <libeval_compiler.h>
Public Member Functions | |
UOP (int op, std::unique_ptr< VALUE > value) | |
UOP (int op, std::unique_ptr< VAR_REF > vref) | |
UOP (int op, FUNC_CALL_REF func, std::unique_ptr< VAR_REF > vref=nullptr) | |
~UOP () | |
void | Exec (CONTEXT *ctx) |
wxString | Format () const |
Private Attributes | |
int | m_op |
FUNC_CALL_REF | m_func |
std::unique_ptr< VAR_REF > | m_ref |
std::unique_ptr< VALUE > | m_value |
Definition at line 410 of file libeval_compiler.h.
|
inline |
Definition at line 413 of file libeval_compiler.h.
|
inline |
Definition at line 419 of file libeval_compiler.h.
|
inline |
Definition at line 425 of file libeval_compiler.h.
|
inline |
Definition at line 432 of file libeval_compiler.h.
void LIBEVAL::UOP::Exec | ( | CONTEXT * | ctx | ) |
Definition at line 1118 of file libeval_compiler.cpp.
References _, LIBEVAL::CONTEXT::AllocValue(), AS_DOUBLE, LIBEVAL::VALUE::AsDouble(), LIBEVAL::VALUE::AsString(), LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::GetType(), LIBEVAL::CONTEXT::HasErrorCallback(), m_func, m_op, m_ref, m_value, LIBEVAL::VALUE::NotEqualTo(), LIBEVAL::CONTEXT::Pop(), LIBEVAL::CONTEXT::Push(), LIBEVAL::CONTEXT::ReportError(), LIBEVAL::VALUE::Set(), LIBEVAL::CONTEXT::StoreValue(), TR_OP_ADD, TR_OP_BINARY_MASK, TR_OP_BOOL_AND, TR_OP_BOOL_NOT, TR_OP_BOOL_OR, TR_OP_DIV, TR_OP_EQUAL, TR_OP_GREATER, TR_OP_GREATER_EQUAL, TR_OP_LESS, TR_OP_LESS_EQUAL, TR_OP_METHOD_CALL, TR_OP_MUL, TR_OP_NOT_EQUAL, TR_OP_SUB, TR_OP_UNARY_MASK, TR_UOP_PUSH_VALUE, TR_UOP_PUSH_VAR, LIBEVAL::VT_NUMERIC, LIBEVAL::VT_STRING, and LIBEVAL::VT_UNDEFINED.
wxString LIBEVAL::UOP::Format | ( | ) | const |
Definition at line 146 of file libeval_compiler.cpp.
References LIBEVAL::formatOpName(), m_op, m_ref, m_value, TR_OP_FUNC_CALL, TR_OP_METHOD_CALL, TR_UOP_PUSH_VALUE, TR_UOP_PUSH_VAR, and LIBEVAL::VT_NUMERIC.
|
private |
Definition at line 443 of file libeval_compiler.h.
Referenced by Exec().
|
private |
Definition at line 441 of file libeval_compiler.h.
|
private |
Definition at line 444 of file libeval_compiler.h.
|
private |
Definition at line 445 of file libeval_compiler.h.