blob: c9f1e87ce4f85b29438d11c6703673eb90c88486 [file] [log] [blame]
if (o instanceof String) b = 1
else if (!(o instanceof Integer)) b = 2
else b = 3
-----
0(1) element: null
1(2) element: IF statement
2(3) READ o
3(4,6) Condition Instanceof expression
4(5) instanceof: o instanceof String
5(9) Negating goto instruction, condition=3Instanceof expression
6(7) instanceof: o instanceof String
7(8) WRITE b
8(22) element: Assignment expression MAYBE_RETURN
9(10) element: IF statement
10(11) Condition Unary expression
11(12) READ o
12(13,15) Condition Instanceof expression
13(14) instanceof: o instanceof Integer
14(17) Negating goto instruction, condition=12Instanceof expression
15(16) instanceof: o instanceof Integer
16(19) Positive goto instruction, condition=10Unary expression
17(18) WRITE b
18(21) element: Assignment expression MAYBE_RETURN
19(20) WRITE b
20(21) element: Assignment expression MAYBE_RETURN
21(22) End element: IF statement
22(23) End element: IF statement
23() element: null