mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +03:00
79 lines
441 B
Plaintext
79 lines
441 B
Plaintext
/*
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
*/
|
|
|
|
x = expr;
|
|
|
|
x = ();
|
|
|
|
x = x+y;
|
|
|
|
x = (x,y);
|
|
|
|
x = x();
|
|
|
|
x.y = y;
|
|
|
|
x += expr;
|
|
|
|
x += ();
|
|
|
|
x += x+y;
|
|
|
|
x += x();
|
|
|
|
x.0 += y;
|
|
|
|
x.y += y;
|
|
|
|
x -= expr;
|
|
|
|
x -= ();
|
|
|
|
x -= x+y;
|
|
|
|
x -= x();
|
|
|
|
x.y -= y;
|
|
|
|
x *= expr;
|
|
|
|
x *= ();
|
|
|
|
x *= x+y;
|
|
|
|
x *= x();
|
|
|
|
x.0 *= y;
|
|
|
|
x.y *= y;
|
|
|
|
|
|
x /= expr;
|
|
|
|
x /= ();
|
|
|
|
x /= x+y;
|
|
|
|
x /= x();
|
|
|
|
x.0 /= y;
|
|
|
|
x.y /= y;
|
|
|
|
|
|
x **= expr;
|
|
|
|
x **= ();
|
|
|
|
x **= x+y;
|
|
|
|
x **= x();
|
|
|
|
|
|
|
|
x.0 **= y;
|
|
|
|
x.y **= y;
|