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 312 of file libeval_compiler.h.
|
inline |
Definition at line 315 of file libeval_compiler.h.
|
inlinevirtual |
Definition at line 322 of file libeval_compiler.h.
|
inline |
Definition at line 330 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(), and memberOfSheetFunc().
|
inline |
Definition at line 368 of file libeval_compiler.h.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and memberOfSheetFunc().
|
inline |
Definition at line 347 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(), and LIBEVAL::UCODE::Run().
|
inline |
Definition at line 342 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(), and memberOfSheetFunc().
void LIBEVAL::CONTEXT::ReportError | ( | const wxString & | aErrorMsg | ) |
Definition at line 680 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(), and memberOfSheetFunc().
|
inline |
Definition at line 363 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 358 of file libeval_compiler.h.
Referenced by LIBEVAL::UCODE::Run().
Definition at line 336 of file libeval_compiler.h.
Referenced by LIBEVAL::UOP::Exec().
|
private |
Definition at line 377 of file libeval_compiler.h.
Referenced by ReportError().
|
private |
Definition at line 373 of file libeval_compiler.h.
|
private |
Definition at line 374 of file libeval_compiler.h.
|
private |
Definition at line 375 of file libeval_compiler.h.