KiCad PCB EDA Suite
|
#include <pcbexpr_evaluator.h>
Public Member Functions | |
PCBEXPR_UCODE () | |
virtual | ~PCBEXPR_UCODE () |
virtual std::unique_ptr< LIBEVAL::VAR_REF > | CreateVarRef (const wxString &aVar, const wxString &aField) override |
virtual LIBEVAL::FUNC_CALL_REF | CreateFuncCall (const wxString &aName) override |
void | AddOp (UOP *uop) |
VALUE * | Run (CONTEXT *ctx) |
wxString | Dump () const |
Protected Attributes | |
std::vector< UOP * > | m_ucode |
Definition at line 40 of file pcbexpr_evaluator.h.
|
inline |
Definition at line 43 of file pcbexpr_evaluator.h.
|
inlinevirtual |
Definition at line 44 of file pcbexpr_evaluator.h.
|
inlineinherited |
Definition at line 386 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::generateUCode().
|
overridevirtual |
Reimplemented from LIBEVAL::UCODE.
Definition at line 396 of file pcbexpr_evaluator.cpp.
References PCBEXPR_BUILTIN_FUNCTIONS::Get(), and PCBEXPR_BUILTIN_FUNCTIONS::Instance().
|
overridevirtual |
Reimplemented from LIBEVAL::UCODE.
Definition at line 404 of file pcbexpr_evaluator.cpp.
References PROPERTY_MANAGER::GetAllClasses(), PROPERTY_MANAGER::GetProperty(), PROPERTY_BASE::HasChoices(), PROPERTY_MANAGER::Instance(), PROPERTY_MANAGER::IsOfType(), TYPE_HASH, PROPERTY_BASE::TypeHash(), LIBEVAL::VT_NULL, LIBEVAL::VT_NUMERIC, LIBEVAL::VT_PARSE_ERROR, LIBEVAL::VT_STRING, and LIBEVAL::VT_UNDEFINED.
|
inherited |
Definition at line 193 of file libeval_compiler.cpp.
References LIBEVAL::UCODE::m_ucode.
Referenced by LIBEVAL::COMPILER::generateUCode().
|
inherited |
Definition at line 1253 of file libeval_compiler.cpp.
References LIBEVAL::UCODE::m_ucode, LIBEVAL::CONTEXT::Pop(), and LIBEVAL::CONTEXT::SP().
Referenced by PCBEXPR_EVALUATOR::Evaluate(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), MULTICHANNEL_TOOL::findRoutedConnections(), MULTICHANNEL_TOOL::identifyComponentsInRuleArea(), and testEvalExpr().
|
protectedinherited |
Definition at line 406 of file libeval_compiler.h.
Referenced by LIBEVAL::UCODE::Dump(), LIBEVAL::UCODE::Run(), and LIBEVAL::UCODE::~UCODE().