Content


NTL
Core
CFunctionArrow

CFunctionArrow


Class provides implementation of the member access operator ->, ., :: for expressions. It is being used by expression runners.

First operand is assumed to be object and the second one is identifier containing the key. Pointer to the object property named by key is stored as a result.

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

class CFunctionArrow :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionArrow(IErrorListener *error_listener, IFunction *operand1, IFunction *operand2);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/General/FunctionArrow.h