Content


NTL
Core
generic::CExpressionRunner

generic::CExpressionRunner


Class implements expression runner.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CExpressionRunner :public virtual script::CExpressionRunner
{
public:
    // IExpressionRunner getters 
    IFunctionFactory *getFunctionFactory() override;

    // IExpressionRunner setters 
    bool setFunctionFactory(IFunctionFactory *factory) override;

    // IExpressionRunner methods 
    bool Prepare(IExpression *expression) override;
    bool Run() override;

    CExpressionRunner(const bool with_function_factory = true);

    bool Prepare(const String &source); // Tokenize, build expression and prepare it from specified source. Generic tokenizer and expression builder is used 
};
Namespace: nitisa::script::generic
Include: Nitisa/Modules/Script/ExpressionRunners/Generic/ExpressionRunner.h