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

 UCODE ()
 
virtual ~UCODE ()
 
 UCODE (const UCODE &)=delete
 
UCODEoperator= (const UCODE &)=delete
 
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 404 of file libeval_compiler.h.

Constructor & Destructor Documentation

◆ UCODE() [1/2]

LIBEVAL::UCODE::UCODE ( )
inline

Definition at line 407 of file libeval_compiler.h.

◆ ~UCODE()

LIBEVAL::UCODE::~UCODE ( )
virtual

Definition at line 191 of file libeval_compiler.cpp.

References m_ucode.

◆ UCODE() [2/2]

LIBEVAL::UCODE::UCODE ( const UCODE )
delete

Member Function Documentation

◆ AddOp()

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

Definition at line 417 of file libeval_compiler.h.

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

◆ CreateFuncCall()

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

Reimplemented in PCBEXPR_UCODE.

Definition at line 430 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 425 of file libeval_compiler.h.

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

◆ Dump()

wxString LIBEVAL::UCODE::Dump ( ) const

Definition at line 198 of file libeval_compiler.cpp.

References m_ucode.

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

◆ operator=()

UCODE & LIBEVAL::UCODE::operator= ( const UCODE )
delete

◆ Run()

Member Data Documentation

◆ m_ucode

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

Definition at line 436 of file libeval_compiler.h.

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


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