| 
    KiCad PCB EDA Suite
    
   | 
 
#include <libeval_compiler.h>
  
Public Member Functions | |
| CONTEXT () | |
| virtual | ~CONTEXT () | 
| CONTEXT (const CONTEXT &)=delete | |
| CONTEXT & | operator= (const CONTEXT &)=delete | 
| 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 332 of file libeval_compiler.h.
      
  | 
  inline | 
Definition at line 335 of file libeval_compiler.h.
References m_ownedValues, m_stack, and m_stackPtr.
Referenced by CONTEXT(), and operator=().
      
  | 
  inlinevirtual | 
Definition at line 342 of file libeval_compiler.h.
References m_ownedValues.
      
  | 
  inline | 
Definition at line 353 of file libeval_compiler.h.
References m_ownedValues.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isBlindVia(), isBuriedVia(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), and Pop().
      
  | 
  inline | 
Definition at line 391 of file libeval_compiler.h.
References m_errorCallback.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
      
  | 
  inline | 
Definition at line 370 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(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), and LIBEVAL::UCODE::Run().
      
  | 
  inline | 
Definition at line 365 of file libeval_compiler.h.
References m_stack, and m_stackPtr.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isBlindVia(), isBuriedVia(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
| void LIBEVAL::CONTEXT::ReportError | ( | const wxString & | aErrorMsg | ) | 
Definition at line 692 of file libeval_compiler.cpp.
References m_errorCallback.
Referenced by collidesWithArea(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), getFieldFunc(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), and Pop().
      
  | 
  inline | 
Definition at line 386 of file libeval_compiler.h.
References m_errorCallback.
Referenced by DRC_RULE_CONDITION::EvaluateFor(), MULTICHANNEL_TOOL::findComponentsInRuleArea(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), MULTICHANNEL_TOOL::findRoutingInRuleArea(), and LIBEVAL::COMPILER::generateUCode().
      
  | 
  inline | 
Definition at line 381 of file libeval_compiler.h.
References m_stackPtr.
Referenced by LIBEVAL::UCODE::Run().
Definition at line 359 of file libeval_compiler.h.
References m_ownedValues.
Referenced by LIBEVAL::UOP::Exec(), and LIBEVAL::UCODE::Run().
      
  | 
  private | 
Definition at line 400 of file libeval_compiler.h.
Referenced by HasErrorCallback(), ReportError(), and SetErrorCallback().
      
  | 
  private | 
Definition at line 396 of file libeval_compiler.h.
Referenced by AllocValue(), CONTEXT(), StoreValue(), and ~CONTEXT().
      
  | 
  private | 
Definition at line 397 of file libeval_compiler.h.
      
  | 
  private |