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

#include <libeval_compiler.h>

Public Member Functions

void SetUop (int aOp, double aValue)
 
void SetUop (int aOp, const wxString &aValue, bool aStringIsWildcard)
 
void SetUop (int aOp, std::unique_ptr< VAR_REF > aRef=nullptr)
 
void SetUop (int aOp, FUNC_CALL_REF aFunc, std::unique_ptr< VAR_REF > aRef=nullptr)
 

Public Attributes

T_TOKEN_VALUE value
 
int op
 
TREE_NODEleaf [2]
 
UOPuop
 
bool valid
 
bool isTerminal
 
bool isVisited
 
int srcPos
 

Detailed Description

Definition at line 132 of file libeval_compiler.h.

Member Function Documentation

◆ SetUop() [1/4]

void LIBEVAL::TREE_NODE::SetUop ( int  aOp,
const wxString &  aValue,
bool  aStringIsWildcard 
)

Definition at line 727 of file libeval_compiler.cpp.

References uop.

◆ SetUop() [2/4]

void LIBEVAL::TREE_NODE::SetUop ( int  aOp,
double  aValue 
)

Definition at line 718 of file libeval_compiler.cpp.

References uop.

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

◆ SetUop() [3/4]

void LIBEVAL::TREE_NODE::SetUop ( int  aOp,
FUNC_CALL_REF  aFunc,
std::unique_ptr< VAR_REF aRef = nullptr 
)

Definition at line 744 of file libeval_compiler.cpp.

References uop.

◆ SetUop() [4/4]

void LIBEVAL::TREE_NODE::SetUop ( int  aOp,
std::unique_ptr< VAR_REF aRef = nullptr 
)

Definition at line 736 of file libeval_compiler.cpp.

References uop.

Member Data Documentation

◆ isTerminal

bool LIBEVAL::TREE_NODE::isTerminal

Definition at line 141 of file libeval_compiler.h.

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

◆ isVisited

bool LIBEVAL::TREE_NODE::isVisited

Definition at line 142 of file libeval_compiler.h.

Referenced by LIBEVAL::COMPILER::generateUCode(), and LIBEVAL::prepareTree().

◆ leaf

◆ op

int LIBEVAL::TREE_NODE::op

◆ srcPos

int LIBEVAL::TREE_NODE::srcPos

Definition at line 143 of file libeval_compiler.h.

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

◆ uop

UOP* LIBEVAL::TREE_NODE::uop

◆ valid

bool LIBEVAL::TREE_NODE::valid

Definition at line 140 of file libeval_compiler.h.

◆ value

T_TOKEN_VALUE LIBEVAL::TREE_NODE::value

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