• Home
  • Raw
  • Download

Lines Matching refs:id

87 arg_name_own = Template("argument-name-own-$id", """
88 function foo($id) {
93 arg_name_nested = Template("argument-name-nested-$id", """
96 function bar($id) { }
100 func_name_own = Template("function-name-own-$id", """
101 function $id(foo) {
106 func_name_nested = Template("function-name-nested-$id", """
109 function $id(bar) { }
113 catch_var = StrictTemplate("catch-$id", """
114 try { } catch ($id) { }
117 declare_var = StrictTemplate("var-$id", """
118 var $id = 42;
121 assign_var = StrictTemplate("assign-$id-$opname", """
122 var x = $id $op 42;
125 prefix_var = StrictTemplate("prefix-$opname-$id", """
126 var x = $op$id;
129 postfix_var = StrictTemplate("postfix-$opname-$id", """
130 var x = $id$op;
133 read_var = StrictTemplate("read-reserved-$id", """
134 var x = $id;
137 setter_arg = StrictTemplate("setter-param-$id", """
138 var x = {set foo($id) { }};
141 label_normal = Template("label-normal-$id", """
142 $id: '';
145 label_strict = StrictTemplate("label-strict-$id", """
146 $id: '';
149 break_normal = Template("break-normal-$id", """
151 break $id;
155 break_strict = StrictTemplate("break-strict-$id", """
157 break $id;
161 continue_normal = Template("continue-normal-$id", """
163 continue $id;
167 continue_strict = StrictTemplate("continue-strict-$id", """
169 continue $id;
173 non_strict_use = Template("nonstrict-$id", """
174 var $id = 42;
175 $id++;
176 $id--;
177 ++$id;
178 --$id;
179 $id += 10;
180 $id -= 10;
181 try {} catch ($id) { }
182 function $id($id) { }
183 var x = {$id: 42};
184 x = {get $id() {}, set $id(value) {}};
186 var $id = 42;
187 $id++;
188 $id--;
189 ++$id;
190 --$id;
191 $id += 10;
192 $id -= 10;
193 try {} catch ($id) { }
194 function $id($id) { }
195 x = {$id: 42};
196 x = {get $id() {}, set $id(value) {}};
197 $id: '';
201 var x = {$id: 42};
202 x = {get $id() {}, set $id(value) {}};
203 x.$id = 42;
205 x = {$id: 42};
206 x = {get $id() {}, set $id(value) {}};
207 x.$id = 42;
210 identifier_name = Template("identifier_name-$id", identifier_name_source)
211 identifier_name_strict = StrictTemplate("identifier_name_strict-$id",
218 for id in ["eval", "arguments"]:
219 arg_name_own({"id": id}, "strict_param_name")
220 arg_name_nested({"id": id}, "strict_param_name")
221 func_name_own({"id": id}, "strict_function_name")
222 func_name_nested({"id": id}, "strict_function_name")
223 setter_arg({"id": id}, "strict_param_name")
225 assign_var({"id": id, "op":op, "opname": assign_ops[op]},
227 catch_var({"id": id}, "strict_catch_variable")
228 declare_var({"id": id}, "strict_var_name")
229 prefix_var({"id": id, "op":"++", "opname":"inc"}, "strict_lhs_prefix")
230 prefix_var({"id": id, "op":"--", "opname":"dec"}, "strict_lhs_prefix")
231 postfix_var({"id": id, "op":"++", "opname":"inc"}, "strict_lhs_postfix")
232 postfix_var({"id": id, "op":"--", "opname":"dec"}, "strict_lhs_postfix")
233 label_normal({"id": id}, None)
234 label_strict({"id": id}, None)
235 break_normal({"id": id}, None)
236 break_strict({"id": id}, None)
237 continue_normal({"id": id}, None)
238 continue_strict({"id": id}, None)
239 non_strict_use({"id": id}, None)
254 arg_name_own({"id":reserved_word}, message)
255 arg_name_nested({"id":reserved_word}, message)
256 setter_arg({"id": reserved_word}, message)
257 func_name_own({"id":reserved_word}, message)
258 func_name_nested({"id":reserved_word}, message)
260 assign_var({"id":reserved_word, "op":op, "opname": assign_ops[op]}, message)
261 catch_var({"id":reserved_word}, message)
262 declare_var({"id":reserved_word}, message)
263 prefix_var({"id":reserved_word, "op":"++", "opname":"inc"}, message)
264 prefix_var({"id":reserved_word, "op":"--", "opname":"dec"}, message)
265 postfix_var({"id":reserved_word, "op":"++", "opname":"inc"}, message)
266 postfix_var({"id":reserved_word, "op":"--", "opname":"dec"}, message)
267 read_var({"id": reserved_word}, message)
268 identifier_name({"id": reserved_word}, None);
269 identifier_name_strict({"id": reserved_word}, None);
270 label_normal({"id": reserved_word}, label_message)
271 break_normal({"id": reserved_word}, label_message)
272 continue_normal({"id": reserved_word}, label_message)
278 label_strict({"id": reserved_word}, "strict_const")
280 label_strict({"id": reserved_word}, message)
281 break_strict({"id": reserved_word}, message)
282 continue_strict({"id": reserved_word}, message)
288 non_strict_use({"id": id}, None)