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 313 of file libeval_compiler.h.
|
inline |
Definition at line 316 of file libeval_compiler.h.
|
inlinevirtual |
Definition at line 323 of file libeval_compiler.h.
|
inline |
Definition at line 331 of file libeval_compiler.h.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
|
inline |
Definition at line 369 of file libeval_compiler.h.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
|
inline |
Definition at line 348 of file libeval_compiler.h.
References _.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), and LIBEVAL::UCODE::Run().
|
inline |
Definition at line 343 of file libeval_compiler.h.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
void LIBEVAL::CONTEXT::ReportError | ( | const wxString & | aErrorMsg | ) |
Definition at line 681 of file libeval_compiler.cpp.
References m_errorCallback.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
|
inline |
Definition at line 364 of file libeval_compiler.h.
Referenced by DRC_RULE_CONDITION::EvaluateFor(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), MULTICHANNEL_TOOL::findRoutedConnections(), LIBEVAL::COMPILER::generateUCode(), and MULTICHANNEL_TOOL::identifyComponentsInRuleArea().
|
inline |
Definition at line 359 of file libeval_compiler.h.
Referenced by LIBEVAL::UCODE::Run().
Definition at line 337 of file libeval_compiler.h.
Referenced by LIBEVAL::UOP::Exec().
|
private |
Definition at line 378 of file libeval_compiler.h.
Referenced by ReportError().
|
private |
Definition at line 374 of file libeval_compiler.h.
|
private |
Definition at line 375 of file libeval_compiler.h.
|
private |
Definition at line 376 of file libeval_compiler.h.