Home
last modified time | relevance | path

Searched refs:checkSyntax (Results 1 – 14 of 14) sorted by relevance

/third_party/jerryscript/tests/jerry/es2015/
Dlet12.js15 function checkSyntax (str) { function
24 checkSyntax ("if (5) let a;");
25 checkSyntax ("if (5) const a;");
26 checkSyntax ("if (0) {} else let a;");
27 checkSyntax ("if (0) {} else const a;");
28 checkSyntax ("while (5) let a;");
29 checkSyntax ("while (5) const a;");
30 checkSyntax ("do let a; while (5)");
31 checkSyntax ("do const a; while (5)");
32 checkSyntax ("for (a in b) let c;");
[all …]
Dobject-pattern.js15 function checkSyntax (str) { function
33 checkSyntax ("var {a}");
34 checkSyntax ("var {a, o.a}");
35 checkSyntax ("var {a, ...b}");
36 checkSyntax ("var {a, ...b} = 4");
37 checkSyntax ("var {a, ...[b] = 4}");
38 checkSyntax ("var {a,,} = 4");
39 checkSyntax ("var {a :} = 4");
40 checkSyntax ("var {a : ,} = 4");
41 checkSyntax ("var {a : ['foobar']} = 4");
[all …]
Darray-pattern.js15 function checkSyntax (str) { function
41 checkSyntax ("var [a]");
42 checkSyntax ("var [a, o.a]");
43 checkSyntax ("var [a, ...b,]");
44 checkSyntax ("var [a, ...b = 4]");
45 checkSyntax ("var [a, ...[b] = 4]");
46 checkSyntax ("var [let]");
47 checkSyntax ("var [get = []");
48 checkSyntax ("var [get : 5]");
49 checkSyntax ("var [[a = {},]");
[all …]
Darray-spread.js23 function checkSyntax (str) { function
41 checkSyntax ("{...a}");
42 checkSyntax ("...a");
43 checkSyntax ("[...]");
44 checkSyntax ("[...(...)]");
45 checkSyntax ("[......]");
/third_party/jerryscript/tests/jerry/
Dunicode-format-control-characters.js15 function checkSyntax (str) { function
26 checkSyntax ("_\u200b\u200d");
27 checkSyntax ("_\u200c\u200e");
/third_party/node/lib/internal/main/
Dcheck_syntax.js39 checkSyntax(source, filename);
44 checkSyntax(code, '[stdin]');
48 function checkSyntax(source, filename) { function
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dplurrule_impl.h154 void checkSyntax(UErrorCode &status);
Dplurrule.cpp484 checkSyntax(status); in parse()
1130 PluralRuleParser::checkSyntax(UErrorCode &status) in checkSyntax() function in PluralRuleParser
/third_party/icu/icu4c/source/i18n/
Dplurrule_impl.h162 void checkSyntax(UErrorCode &status);
Dplurrule.cpp601 checkSyntax(status); in parse()
1253 PluralRuleParser::checkSyntax(UErrorCode &status) in checkSyntax() function in PluralRuleParser
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurrule_impl.h162 void checkSyntax(UErrorCode &status);
Dplurrule.cpp601 checkSyntax(status); in parse()
1253 PluralRuleParser::checkSyntax(UErrorCode &status) in checkSyntax() function in PluralRuleParser
/third_party/node/deps/icu-small/source/i18n/
Dplurrule_impl.h162 void checkSyntax(UErrorCode &status);
Dplurrule.cpp609 checkSyntax(status); in parse()
1261 PluralRuleParser::checkSyntax(UErrorCode &status) in checkSyntax() function in PluralRuleParser