KiCad PCB EDA Suite
Loading...
Searching...
No Matches
libeval_compiler.cpp File Reference
#include <memory>
#include <set>
#include <vector>
#include <algorithm>
#include <eda_units.h>
#include <string_utils.h>
#include <wx/log.h>
#include <libeval_compiler/libeval_compiler.h>
#include <libeval_compiler/grammar.c>
#include <libeval_compiler/grammar.h>

Go to the source code of this file.

Namespaces

namespace  LIBEVAL
 

Macros

#define libeval_dbg(level, fmt, ...)    wxLogTrace( "libeval_compiler", fmt, __VA_ARGS__ );
 
#define AS_DOUBLE(arg)   ( arg ? arg->AsDouble() : 0.0 )
 

Functions

TREE_NODE * LIBEVAL::newNode (LIBEVAL::COMPILER *compiler, int op, const T_TOKEN_VALUE &value)
 
static const wxString LIBEVAL::formatOpName (int op)
 
const wxString LIBEVAL::formatNode (TREE_NODE *node)
 
void LIBEVAL::dumpNode (wxString &buf, TREE_NODE *tok, int depth=0)
 
static void LIBEVAL::prepareTree (LIBEVAL::TREE_NODE *node)
 
static std::vector< TREE_NODE * > LIBEVAL::squashParamList (TREE_NODE *root)
 

Macro Definition Documentation

◆ AS_DOUBLE

#define AS_DOUBLE (   arg)    ( arg ? arg->AsDouble() : 0.0 )

◆ libeval_dbg

#define libeval_dbg (   level,
  fmt,
  ... 
)     wxLogTrace( "libeval_compiler", fmt, __VA_ARGS__ );

Definition at line 57 of file libeval_compiler.cpp.