Content


NTL
Core
CFunctionPostfixDecrement

CFunctionPostfixDecrement


Class provides implementation of the postfix decrement operator -- for expressions. It is being used by expression runners.

If operand is a float number, the result is a float number. Otherwise the result is an integer number.

modify parameter is the function (usually representing variable) which result should be modified after calculation.

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

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

    CFunctionPostfixDecrement(IErrorListener *error_listener, IFunction *operand, IFunction *modify);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/Unary/FunctionPostfixDecrement.h