|
KiCad PCB EDA Suite
|
#include <libeval_compiler.h>
Public Member Functions | |
| UCODE () | |
| virtual | ~UCODE () |
| UCODE (const UCODE &)=delete | |
| UCODE & | operator= (const UCODE &)=delete |
| void | AddOp (UOP *uop) |
| void | MarkHasJumps () |
| Flag that this ucode contains short-circuit jumps, so Run() uses the jump-aware loop. | |
| int | GetSize () const |
| Index of the next op to be added (used to backpatch short-circuit jump targets). | |
| VALUE * | Run (CONTEXT *ctx) |
| wxString | Dump () const |
| virtual std::unique_ptr< VAR_REF > | CreateVarRef (const wxString &var, const wxString &field) |
| virtual FUNC_CALL_REF | CreateFuncCall (const wxString &name) |
Protected Attributes | |
| std::vector< UOP * > | m_ucode |
| bool | m_hasJumps = false |
Definition at line 470 of file libeval_compiler.h.
|
inline |
Definition at line 473 of file libeval_compiler.h.
Referenced by operator=(), and UCODE().
|
virtual |
Definition at line 199 of file libeval_compiler.cpp.
References m_ucode.
|
inline |
Definition at line 483 of file libeval_compiler.h.
References m_ucode.
Referenced by LIBEVAL::COMPILER::generateUCode().
|
inlinevirtual |
Reimplemented in PCBEXPR_UCODE.
Definition at line 502 of file libeval_compiler.h.
References name.
Referenced by LIBEVAL::COMPILER::generateUCode().
|
inlinevirtual |
Reimplemented in PCBEXPR_UCODE.
Definition at line 497 of file libeval_compiler.h.
Referenced by LIBEVAL::COMPILER::generateUCode().
| wxString LIBEVAL::UCODE::Dump | ( | ) | const |
Definition at line 206 of file libeval_compiler.cpp.
References m_ucode.
Referenced by LIBEVAL::COMPILER::generateUCode().
|
inline |
Index of the next op to be added (used to backpatch short-circuit jump targets).
Definition at line 492 of file libeval_compiler.h.
References m_ucode.
Referenced by LIBEVAL::COMPILER::generateUCode().
|
inline |
Flag that this ucode contains short-circuit jumps, so Run() uses the jump-aware loop.
Definition at line 489 of file libeval_compiler.h.
References m_hasJumps.
Referenced by LIBEVAL::COMPILER::generateUCode().
Definition at line 1420 of file libeval_compiler.cpp.
References m_hasJumps, m_ucode, next(), LIBEVAL::CONTEXT::Pop(), LIBEVAL::CONTEXT::SP(), LIBEVAL::CONTEXT::StoreValue(), and VALUE.
Referenced by PCBEXPR_EVALUATOR::Evaluate(), MULTICHANNEL_TOOL::findComponentsInRuleArea(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), MULTICHANNEL_TOOL::findRoutingInRuleArea(), DIALOG_FIND_BY_PROPERTIES::selectMatchingFromQuery(), testEvalExpr(), and testEvalExpr().
|
protected |
Definition at line 509 of file libeval_compiler.h.
Referenced by MarkHasJumps(), and Run().
|
protected |