nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::TreeWalker Class Reference

Classes

struct  ActiveFrame

Public Member Functions

 TreeWalker (Engine &engine)
Value execute (const ASTNode *ast, Environment *env)
void setMaxRecursionDepth (int d)
int callDepth () const
const std::vector< ActiveFrame > & activeFrames () const
Value callHandlePublic (const Value &handle, Span< const Value > args, Environment *env)
std::vector< Value > callHandleMultiPublic (const Value &handle, Span< const Value > args, Environment *env, size_t nout)
std::vector< Value > runClassMethod (const UserFunction &uf, Span< const Value > args, size_t nout)
Value runClassCtor (const UserFunction &ctor, const Value &seed, Span< const Value > args)
Value evalExpressionPublic (const ASTNode *expr, Environment *env)

Detailed Description

Definition at line 14 of file tree_walker.hpp.

Member Function Documentation

◆ activeFrames()

const std::vector< ActiveFrame > & nk::TreeWalker::activeFrames ( ) const
inline

Definition at line 37 of file tree_walker.hpp.

◆ callDepth()

int nk::TreeWalker::callDepth ( ) const
inline

Definition at line 23 of file tree_walker.hpp.

◆ setMaxRecursionDepth()

void nk::TreeWalker::setMaxRecursionDepth ( int d)
inline

Definition at line 20 of file tree_walker.hpp.


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