author | hannesw |
Wed, 27 Apr 2016 15:50:33 +0200 | |
changeset 37732 | 3673fec68d16 |
parent 29543 | 4d9f8f8b69a4 |
child 39662 | e2b36a3779b9 |
permissions | -rw-r--r-- |
29543
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
1 |
[ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
2 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
3 |
"endPosition": "8", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
4 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
5 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
6 |
"endPosition": "6", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
7 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
8 |
"name": "func1", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
9 |
"startPosition": "1" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
10 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
11 |
"arguments": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
12 |
"startPosition": "1" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
13 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
14 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
15 |
"endPosition": "23", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
16 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
17 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
18 |
"endPosition": "14", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
19 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
20 |
"name": "func2", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
21 |
"startPosition": "9" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
22 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
23 |
"arguments": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
24 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
25 |
"endPosition": "16", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
26 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
27 |
"name": "a", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
28 |
"startPosition": "15" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
29 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
30 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
31 |
"endPosition": "19", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
32 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
33 |
"name": "b", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
34 |
"startPosition": "18" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
35 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
36 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
37 |
"endPosition": "22", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
38 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
39 |
"name": "c", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
40 |
"startPosition": "21" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
41 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
42 |
], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
43 |
"startPosition": "9" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
44 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
45 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
46 |
"endPosition": "39", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
47 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
48 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
49 |
"endPosition": "29", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
50 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
51 |
"name": "func3", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
52 |
"startPosition": "24" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
53 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
54 |
"arguments": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
55 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
56 |
"endPosition": "31", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
57 |
"kind": "NUMBER_LITERAL", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
58 |
"value": "4", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
59 |
"startPosition": "30" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
60 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
61 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
62 |
"leftOperand": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
63 |
"endPosition": "34", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
64 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
65 |
"name": "n", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
66 |
"startPosition": "33" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
67 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
68 |
"endPosition": "38", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
69 |
"kind": "MULTIPLY", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
70 |
"rightOperand": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
71 |
"endPosition": "38", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
72 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
73 |
"name": "m", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
74 |
"startPosition": "37" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
75 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
76 |
"startPosition": "33" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
77 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
78 |
], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
79 |
"startPosition": "24" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
80 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
81 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
82 |
"endPosition": "51", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
83 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
84 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
85 |
"identifier": "call", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
86 |
"expression": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
87 |
"endPosition": "44", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
88 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
89 |
"name": "obj", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
90 |
"startPosition": "41" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
91 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
92 |
"endPosition": "49", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
93 |
"kind": "MEMBER_SELECT", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
94 |
"startPosition": "41" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
95 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
96 |
"arguments": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
97 |
"startPosition": "41" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
98 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
99 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
100 |
"endPosition": "69", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
101 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
102 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
103 |
"identifier": "call", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
104 |
"expression": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
105 |
"endPosition": "56", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
106 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
107 |
"name": "obj", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
108 |
"startPosition": "53" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
109 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
110 |
"endPosition": "61", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
111 |
"kind": "MEMBER_SELECT", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
112 |
"startPosition": "53" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
113 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
114 |
"arguments": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
115 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
116 |
"endPosition": "63", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
117 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
118 |
"name": "x", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
119 |
"startPosition": "62" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
120 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
121 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
122 |
"endPosition": "68", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
123 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
124 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
125 |
"endPosition": "66", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
126 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
127 |
"name": "b", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
128 |
"startPosition": "65" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
129 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
130 |
"arguments": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
131 |
"startPosition": "65" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
132 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
133 |
], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
134 |
"startPosition": "53" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
135 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
136 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
137 |
"endPosition": "87", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
138 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
139 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
140 |
"endPosition": "82", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
141 |
"kind": "FUNCTION_EXPRESSION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
142 |
"name": "null", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
143 |
"body": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
144 |
"endPosition": "83", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
145 |
"kind": "BLOCK", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
146 |
"statements": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
147 |
"startPosition": "82" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
148 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
149 |
"strict": "false", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
150 |
"startPosition": "82", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
151 |
"parameters": [] |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
152 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
153 |
"arguments": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
154 |
"startPosition": "71" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
155 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
156 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
157 |
"endPosition": "118", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
158 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
159 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
160 |
"endPosition": "100", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
161 |
"kind": "FUNCTION_EXPRESSION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
162 |
"name": "null", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
163 |
"body": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
164 |
"endPosition": "114", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
165 |
"kind": "BLOCK", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
166 |
"statements": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
167 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
168 |
"expression": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
169 |
"endPosition": "112", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
170 |
"kind": "STRING_LITERAL", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
171 |
"value": "use strict", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
172 |
"startPosition": "102" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
173 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
174 |
"endPosition": "112", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
175 |
"kind": "EXPRESSION_STATEMENT", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
176 |
"startPosition": "102" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
177 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
178 |
], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
179 |
"startPosition": "100" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
180 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
181 |
"strict": "true", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
182 |
"startPosition": "100", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
183 |
"parameters": [] |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
184 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
185 |
"arguments": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
186 |
"startPosition": "89" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
187 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
188 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
189 |
"endPosition": "137", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
190 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
191 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
192 |
"endPosition": "131", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
193 |
"kind": "FUNCTION_EXPRESSION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
194 |
"name": "null", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
195 |
"body": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
196 |
"endPosition": "132", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
197 |
"kind": "BLOCK", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
198 |
"statements": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
199 |
"startPosition": "131" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
200 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
201 |
"strict": "false", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
202 |
"startPosition": "131", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
203 |
"parameters": [] |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
204 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
205 |
"arguments": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
206 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
207 |
"endPosition": "136", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
208 |
"kind": "NUMBER_LITERAL", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
209 |
"value": "2", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
210 |
"startPosition": "135" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
211 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
212 |
], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
213 |
"startPosition": "120" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
214 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
215 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
216 |
"endPosition": "160", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
217 |
"kind": "FUNCTION_INVOCATION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
218 |
"functionSelect": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
219 |
"endPosition": "154", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
220 |
"kind": "FUNCTION_EXPRESSION", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
221 |
"name": "null", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
222 |
"body": { |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
223 |
"endPosition": "155", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
224 |
"kind": "BLOCK", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
225 |
"statements": [], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
226 |
"startPosition": "154" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
227 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
228 |
"strict": "false", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
229 |
"startPosition": "154", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
230 |
"parameters": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
231 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
232 |
"endPosition": "150", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
233 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
234 |
"name": "a", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
235 |
"startPosition": "149" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
236 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
237 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
238 |
"endPosition": "153", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
239 |
"kind": "IDENTIFIER", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
240 |
"name": "b", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
241 |
"startPosition": "152" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
242 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
243 |
] |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
244 |
}, |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
245 |
"arguments": [ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
246 |
{ |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
247 |
"endPosition": "159", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
248 |
"kind": "NUMBER_LITERAL", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
249 |
"value": "2", |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
250 |
"startPosition": "158" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
251 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
252 |
], |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
253 |
"startPosition": "139" |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
254 |
} |
4d9f8f8b69a4
8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff
changeset
|
255 |
] |