Content


NTL
Core
CExpressionCast

CExpressionCast


Class implements expression representing data type cast.

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

class CExpressionCast :public CExpression
{
public:
    const Operator* &Op;
    IExpression* &Name;
    String &DataType;
    IExpression* &Operand;

    // IExpression methods 
    String toString() override;

    CExpressionCast(const size_t index, const Operator *op, IExpression *name, const String &data_type, IExpression *operand);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Expressions/ExpressionCast.h