protected virtual void Write(CiArrayAccess expr) { WriteChild(expr, expr.Array); Write('['); Write(expr.Index); Write(']'); }
protected override void Write(CiArrayAccess expr) { if (expr.Array is CiConstAccess || expr.Array is CiBinaryResourceExpr) { Write('$'); } WriteChild(expr, expr.Array); if (expr.Array.Type is CiArrayPtrType) { Write("->"); } Write('['); Write(expr.Index); Write(']'); }
protected override void Write(CiArrayAccess expr) { if (expr.Array is CiConstAccess || expr.Array is CiBinaryResourceExpr) Write('$'); WriteChild(expr, expr.Array); if (expr.Array.Type is CiArrayPtrType) Write("->"); Write('['); Write(expr.Index); Write(']'); }