Content


NTL
Core
CFunctionBitwiseAndAssign

CFunctionBitwiseAndAssign


Class provides implementation of the bitwise and assignment operator &= for expressions. It is being used by expression runners.

Both operands are converted to integers and the result is 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 CFunctionBitwiseAndAssign :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionBitwiseAndAssign(IErrorListener *error_listener, IFunction *operand1, IFunction *operand2, IFunction *modify);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/Assignment/FunctionBitwiseAndAssign.h