mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-30 13:45:13 +03:00
190 lines
1.4 KiB
Plaintext
190 lines
1.4 KiB
Plaintext
/*
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
*/
|
|
|
|
x = expr;
|
|
|
|
x = ();
|
|
|
|
x = x+y;
|
|
|
|
x = (x,y);
|
|
|
|
x = x();
|
|
|
|
|
|
x[0] = y;
|
|
|
|
x[0u32] = y;
|
|
|
|
x.0 = y;
|
|
|
|
x[1..2] = y;
|
|
|
|
x[..2] = y;
|
|
|
|
x[2..] = y;
|
|
|
|
x[..] = y;
|
|
|
|
x.0[0][..] = y;
|
|
|
|
x.y = y;
|
|
|
|
x.0.y[0].1.y[..][0][1..5][0..3] = y;
|
|
|
|
|
|
|
|
x += expr;
|
|
|
|
x += ();
|
|
|
|
x += x+y;
|
|
|
|
x += x();
|
|
|
|
|
|
x[0] += y;
|
|
|
|
x[0u32] += y;
|
|
|
|
x.0 += y;
|
|
|
|
x[1..2][0] += y;
|
|
|
|
x[..2][0] += y;
|
|
|
|
x[2..][0] += y;
|
|
|
|
x[..][0] += y;
|
|
|
|
x.0[0][..][0] += y;
|
|
|
|
x.y += y;
|
|
|
|
x.0.y[0].1.y[..][0][1..5][0..3][0] += y;
|
|
|
|
|
|
|
|
x -= expr;
|
|
|
|
x -= ();
|
|
|
|
x -= x+y;
|
|
|
|
x -= x();
|
|
|
|
|
|
x[0] -= y;
|
|
|
|
x[0u32] -= y;
|
|
|
|
x.0 -= y;
|
|
|
|
x[1..2][0] -= y;
|
|
|
|
x[..2][0] -= y;
|
|
|
|
x[2..][0] -= y;
|
|
|
|
x[..][0] -= y;
|
|
|
|
x.0[0][..][0] -= y;
|
|
|
|
x.y -= y;
|
|
|
|
x.0.y[0].1.y[..][0][1..5][0..3][0] -= y;
|
|
|
|
|
|
|
|
x *= expr;
|
|
|
|
x *= ();
|
|
|
|
x *= x+y;
|
|
|
|
x *= x();
|
|
|
|
|
|
x[0] *= y;
|
|
|
|
x[0u32] *= y;
|
|
|
|
x.0 *= y;
|
|
|
|
x[1..2][0] *= y;
|
|
|
|
x[..2][0] *= y;
|
|
|
|
x[2..][0] *= y;
|
|
|
|
x[..][0] *= y;
|
|
|
|
x.0[0][..][0] *= y;
|
|
|
|
x.y *= y;
|
|
|
|
x.0.y[0].1.y[..][0][1..5][0..3][0] *= y;
|
|
|
|
|
|
|
|
x /= expr;
|
|
|
|
x /= ();
|
|
|
|
x /= x+y;
|
|
|
|
x /= x();
|
|
|
|
|
|
x[0] /= y;
|
|
|
|
x[0u32] /= y;
|
|
|
|
x.0 /= y;
|
|
|
|
x[1..2][0] /= y;
|
|
|
|
x[..2][0] /= y;
|
|
|
|
x[2..][0] /= y;
|
|
|
|
x[..][0] /= y;
|
|
|
|
x.0[0][..][0] /= y;
|
|
|
|
x.y /= y;
|
|
|
|
x.0.y[0].1.y[..][0][1..5][0..3][0] /= y;
|
|
|
|
|
|
|
|
x **= expr;
|
|
|
|
x **= ();
|
|
|
|
x **= x+y;
|
|
|
|
x **= x();
|
|
|
|
|
|
x[0] *= y;
|
|
|
|
x[0u32] *= y;
|
|
|
|
x.0 **= y;
|
|
|
|
x[1..2][0] **= y;
|
|
|
|
x[..2][0] **= y;
|
|
|
|
x[2..][0] **= y;
|
|
|
|
x[..][0] **= y;
|
|
|
|
x.0[0][..][0] **= y;
|
|
|
|
x.y **= y;
|
|
|
|
x.0.y[0].1.y[..][0][1..5][0..3][0] **= y; |