test/script/basic/parser/continueStat.js.EXPECTED

changeset 551
917b16e509bd
parent 0
b1a7da25b547
child 963
e2497b11a021
equal deleted inserted replaced
550:572a2e50ba9e 551:917b16e509bd
1 {
2 "type": "Program",
3 "body": [
4 {
5 "type": "WhileStatement",
6 "test": {
7 "type": "Literal",
8 "value": true
9 },
10 "body": {
11 "type": "BlockStatement",
12 "body": [
13 {
14 "type": "ContinueStatement",
15 "label": null
16 }
17 ]
18 }
19 }
20 ]
21 }
22 {
23 "type": "Program",
24 "body": [
25 {
26 "type": "LabeledStatement",
27 "label": {
28 "type": "Identifier",
29 "name": "begin"
30 },
31 "body": {
32 "type": "BlockStatement",
33 "body": [
34 {
35 "type": "WhileStatement",
36 "test": {
37 "type": "Literal",
38 "value": true
39 },
40 "body": {
41 "type": "BlockStatement",
42 "body": [
43 {
44 "type": "ContinueStatement",
45 "label": {
46 "type": "Identifier",
47 "name": "begin"
48 }
49 }
50 ]
51 }
52 }
53 ]
54 }
55 }
56 ]
57 }
58 {
59 "type": "Program",
60 "body": [
61 {
62 "type": "LabeledStatement",
63 "label": {
64 "type": "Identifier",
65 "name": "start"
66 },
67 "body": {
68 "type": "BlockStatement",
69 "body": [
70 {
71 "type": "ForStatement",
72 "init": null,
73 "test": null,
74 "update": null,
75 "body": {
76 "type": "BlockStatement",
77 "body": [
78 {
79 "type": "ContinueStatement",
80 "label": {
81 "type": "Identifier",
82 "name": "start"
83 }
84 }
85 ]
86 }
87 }
88 ]
89 }
90 }
91 ]
92 }

mercurial