KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LIBEVAL::UCODE Class Reference

#include <libeval_compiler.h>

Inheritance diagram for LIBEVAL::UCODE:
PCBEXPR_UCODE

Public Member Functions

virtual ~UCODE ()
 
void AddOp (UOP *uop)
 
VALUERun (CONTEXT *ctx)
 
wxString Dump () const
 
virtual std::unique_ptr< VAR_REFCreateVarRef (const wxString &var, const wxString &field)
 
virtual FUNC_CALL_REF CreateFuncCall (const wxString &name)
 

Protected Attributes

std::vector< UOP * > m_ucode
 

Detailed Description

Definition at line 372 of file libeval_compiler.h.

Constructor & Destructor Documentation

◆ ~UCODE()

LIBEVAL::UCODE::~UCODE ( )
virtual

Definition at line 181 of file libeval_compiler.cpp.

References m_ucode.

Member Function Documentation

◆ AddOp()

void LIBEVAL::UCODE::AddOp ( UOP uop)
inline

Definition at line 377 of file libeval_compiler.h.

References m_ucode.

Referenced by LIBEVAL::COMPILER::generateUCode().

◆ CreateFuncCall()

virtual FUNC_CALL_REF LIBEVAL::UCODE::CreateFuncCall ( const wxString &  name)
inlinevirtual

Reimplemented in PCBEXPR_UCODE.

Definition at line 390 of file libeval_compiler.h.

Referenced by LIBEVAL::COMPILER::generateUCode().

◆ CreateVarRef()

virtual std::unique_ptr< VAR_REF > LIBEVAL::UCODE::CreateVarRef ( const wxString &  var,
const wxString &  field 
)
inlinevirtual

Reimplemented in PCBEXPR_UCODE.

Definition at line 385 of file libeval_compiler.h.

Referenced by LIBEVAL::COMPILER::generateUCode().

◆ Dump()

wxString LIBEVAL::UCODE::Dump ( ) const

Definition at line 190 of file libeval_compiler.cpp.

References m_ucode.

Referenced by LIBEVAL::COMPILER::generateUCode().

◆ Run()

VALUE * LIBEVAL::UCODE::Run ( CONTEXT ctx)

Member Data Documentation

◆ m_ucode

std::vector<UOP*> LIBEVAL::UCODE::m_ucode
protected

Definition at line 397 of file libeval_compiler.h.

Referenced by AddOp(), Dump(), Run(), and ~UCODE().


The documentation for this class was generated from the following files: