Content


NTL
Core
CExpressionSubscript

CExpressionSubscript


Class implements array access expression.

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

// Arguments are in expression list 
class CExpressionSubscript :public CExpression
{
public:
    const Operator* &Op;
    IExpression* &Name;
    IExpression* &Arguments;

    // IExpression methods 
    String toString() override;

    CExpressionSubscript(const size_t index, const Operator *op, IExpression *name, IExpression *arguments);

    IExpression **getInnerName();
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Expressions/ExpressionSubscript.h