KiCad PCB EDA Suite
|
#include <libeval_compiler.h>
Public Member Functions | |
CONTEXT () | |
virtual | ~CONTEXT () |
VALUE * | AllocValue () |
VALUE * | StoreValue (VALUE *aValue) |
void | Push (VALUE *v) |
VALUE * | Pop () |
int | SP () const |
void | SetErrorCallback (std::function< void(const wxString &aMessage, int aOffset)> aCallback) |
bool | HasErrorCallback () |
void | ReportError (const wxString &aErrorMsg) |
Private Attributes | |
std::vector< VALUE * > | m_ownedValues |
VALUE * | m_stack [100] |
int | m_stackPtr |
std::function< void(const wxString &aMessage, int aOffset)> | m_errorCallback |
Definition at line 303 of file libeval_compiler.h.
|
inline |
Definition at line 306 of file libeval_compiler.h.
References m_ownedValues.
|
inlinevirtual |
Definition at line 313 of file libeval_compiler.h.
References m_ownedValues.
|
inline |
Definition at line 321 of file libeval_compiler.h.
References m_ownedValues.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and Pop().
|
inline |
Definition at line 359 of file libeval_compiler.h.
References m_errorCallback.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), and memberOfGroupFunc().
|
inline |
Definition at line 338 of file libeval_compiler.h.
References _, AllocValue(), m_stack, m_stackPtr, and ReportError().
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and LIBEVAL::UCODE::Run().
|
inline |
Definition at line 333 of file libeval_compiler.h.
References m_stack, and m_stackPtr.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), and memberOfGroupFunc().
void LIBEVAL::CONTEXT::ReportError | ( | const wxString & | aErrorMsg | ) |
Definition at line 662 of file libeval_compiler.cpp.
References m_errorCallback.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and Pop().
|
inline |
Definition at line 354 of file libeval_compiler.h.
References m_errorCallback.
Referenced by DRC_RULE_CONDITION::EvaluateFor(), and LIBEVAL::COMPILER::generateUCode().
|
inline |
Definition at line 349 of file libeval_compiler.h.
References m_stackPtr.
Referenced by LIBEVAL::UCODE::Run().
Definition at line 327 of file libeval_compiler.h.
References m_ownedValues.
Referenced by LIBEVAL::UOP::Exec().
|
private |
Definition at line 368 of file libeval_compiler.h.
Referenced by HasErrorCallback(), ReportError(), and SetErrorCallback().
|
private |
Definition at line 364 of file libeval_compiler.h.
Referenced by AllocValue(), CONTEXT(), StoreValue(), and ~CONTEXT().
|
private |
Definition at line 365 of file libeval_compiler.h.
|
private |
Definition at line 366 of file libeval_compiler.h.