{"json_modified": "2015-06-07T18:28:24.094851", "slug": "Web/JavaScript/Reference/Lexical_grammar", "tags": ["Lexical Grammar", "JavaScript"], "locale": "ja", "title": "Lexical grammar", "translations": [{"title": "Lexical grammar", "url": "/en-US/docs/Web/JavaScript/Reference/Lexical_grammar", "tags": ["Lexical Grammar", "JavaScript"], "summary": "This section describes JavaScript's lexical grammar. The source text of ECMAScript scripts gets scanned from left to right and is converted into a sequence of input elements which are tokens, control characters, line terminators, comments or white space. ECMAScript also defines certain keywords and literals and has rules for automatic insertion of semicolons to end statements.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-03-19T03:20:38", "review_tags": []}, {"title": "Grammaire lexicale", "url": "/fr/docs/Web/JavaScript/Reference/Grammaire_lexicale", "tags": ["JavaScript", "Reference", "R\u00e9ference", "R\u00e9f\u00e9rence", "Advanced", "Lexical Grammar"], "summary": "Cette section d\u00e9crit la grammaire lexicale de JavaScript. Le code source d'un script ECMAScript est analys\u00e9 de gauche \u00e0 droite et est converti en une s\u00e9rie d'\u00e9l\u00e9ments qui sont : des jetons, des caract\u00e8res de contr\u00f4le, des terminateurs de lignes, des commentaires ou des blancs. ECMAScript d\u00e9finit \u00e9galement certains mots-cl\u00e9s et litt\u00e9raux. ECMAScript poss\u00e8de \u00e9galement des r\u00e8gles pour ins\u00e9rer automatiquement des points-virgules \u00e0 la fin des instructions.", "localization_tags": [], "locale": "fr", "last_edit": "2015-03-19T05:16:42", "review_tags": []}, {"title": "Lexical grammar", "url": "/ru/docs/Web/JavaScript/Reference/Lexical_grammar", "tags": [], "summary": "This section describes JavaScript's lexical grammar. The source text of ECMAScript scripts gets scanned from left to right and is converted into a sequence of input elements which are tokens, control characters, line terminators, comments or white space.\u00a0
\n ECMAScript \u0442\u0430\u043a\u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u0438 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u0438 \u0438\u043c\u0435\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0437\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0442\u043e\u0447\u0435\u043a \u0441 \u0437\u0430\u043f\u044f\u0442\u043e\u0439 \u043a \u043a\u043e\u043d\u0446\u0443 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-01-21T05:44:15", "review_tags": []}], "modified": "2015-06-07T18:28:21", "label": "Lexical grammar", "localization_tags": ["inprogress"], "url": "/ja/docs/Web/JavaScript/Reference/Lexical_grammar", "last_edit": "2015-06-07T18:28:10", "summary": "\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001JavaScript\u306e\u8a9e\u5f59\u6587\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002ECMAScript\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u306f\u3001\u5de6\u304b\u3089\u53f3\u3078\u30b9\u30ad\u30e3\u30f3\u3055\u308c\u3001\u30c8\u30fc\u30af\u30f3\u3001\u5236\u5fa1\u6587\u5b57\u3001\u884c\u672b\u3001\u30b3\u30e1\u30f3\u30c8\u3001\u30db\u30ef\u30a4\u30c8\u30b9\u30da\u30fc\u30b9\u3067\u3042\u308b\u5165\u529b\u8981\u7d20\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002ECMAScript\u3082\u3001\u7279\u5b9a\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u30ea\u30c6\u30e9\u30eb\u3092\u5b9a\u7fa9\u3057\u3001\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u30bb\u30df\u30b3\u30ed\u30f3\u3092\u81ea\u52d5\u633f\u5165\u3059\u308b\u305f\u3081\u306e\u30eb\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": "JavaScript Tutorials: JavaScript Guide Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Regular expressions Indexed collections Keyed collections Working with objects Details of the object model Iterators and generators Meta programming Introductory JavaScript basics JavaScript technologies overview Introduction to Object Oriented JavaScript Intermediate A re-introduction to JavaScript JavaScript data structures Equality comparisons and sameness Closures Advanced Inheritance and the prototype chain Strict mode JavaScript typed arrays SIMD types Memory Management Concurrency model and Event Loop References: Built-in objects Global Objects Array ArrayBuffer Boolean DataView Date Error EvalError Float32Array Float64Array Function Generator GeneratorFunction Infinity Int16Array Int32Array Int8Array InternalError Intl Intl.Collator Intl.DateTimeFormat Intl.NumberFormat Iterator JSON Map Math NaN Number Object ParallelArray Promise Proxy RangeError ReferenceError Reflect RegExp SIMD SIMD.float32x4 SIMD.float64x2 SIMD.int16x8 SIMD.int32x4 SIMD.int8x16 Set StopIteration String Symbol SyntaxError TypeError TypedArray URIError Uint16Array Uint32Array Uint8Array Uint8ClampedArray WeakMap WeakSet decodeURI() decodeURIComponent() encodeURI() encodeURIComponent() escape() eval() isFinite() isNaN() null parseFloat() parseInt() undefined unescape() uneval() Expressions & operators \u6f14\u7b97\u5b50 \u7b97\u8853\u6f14\u7b97\u5b50 Array comprehensions \u4ee3\u5165\u6f14\u7b97\u5b50 \u30d3\u30c3\u30c8\u6f14\u7b97\u5b50 \u30ab\u30f3\u30de\u6f14\u7b97\u5b50 \u6bd4\u8f03\u6f14\u7b97\u5b50 \u6761\u4ef6\u6f14\u7b97\u5b50 Destructuring assignment Expression closures [Translate] Generator comprehensions [Translate] Grouping operator [Translate] Legacy generator function expression \u8ad6\u7406\u6f14\u7b97\u5b50 Object initializer [Translate] \u6f14\u7b97\u5b50\u306e\u512a\u5148\u9806\u4f4d \u30e1\u30f3\u30d0\u30fc\u6f14\u7b97\u5b50 Spread operator class \u5f0f delete function function* expression in instanceof new super this typeof \u6f14\u7b97\u5b50 void \u6f14\u7b97\u5b50 yield yield* Statements & declarations \u6587 Legacy generator function \u30d6\u30ed\u30c3\u30af break class const continue debugger do...while empty export for for each...in for...in for...of function function* if...else import label let return switch throw try...catch var while with Functions \u95a2\u6570\u3068\u95a2\u6570\u30b9\u30b3\u30fc\u30d7 arguments \u30a2\u30ed\u30fc\u95a2\u6570 Default parameters Method definitions Rest parameters get set Classes Classes constructor extends static Misc Lexical grammar JavaScript data structures Enumerability and ownership of properties Iteration protocols Strict mode Transitioning to strict mode Template strings Deprecated features New in JavaScript JavaScript \u306e\u65b0\u6a5f\u80fd Mozilla \u306b\u304a\u3051\u308b ECMAScript 5 \u306e\u30b5\u30dd\u30fc\u30c8 Mozilla \u306b\u304a\u3051\u308b ECMAScript 6 \u306e\u30b5\u30dd\u30fc\u30c8 Mozilla \u306b\u304a\u3051\u308b ECMAScript 7 \u306e\u30b5\u30dd\u30fc\u30c8 Firefox JavaScript changelog [Translate] JavaScript 1.1 \u306e\u65b0\u6a5f\u80fd New in JavaScript 1.2 [Translate] JavaScript 1.3 \u306e\u65b0\u6a5f\u80fd JavaScript 1.4 \u306e\u65b0\u6a5f\u80fd JavaScript 1.5 \u306e\u65b0\u6a5f\u80fd JavaScript 1.6 \u306e\u65b0\u6a5f\u80fd JavaScript 1.7 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8.1 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8.5 \u306e\u65b0\u6a5f\u80fd Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": ".E5.88.B6.E5.BE.A1.E6.96.87.E5.AD.97", "title": "\u5236\u5fa1\u6587\u5b57"}, {"id": ".E3.83.9B.E3.83.AF.E3.82.A4.E3.83.88.E3.82.B9.E3.83.9A.E3.83.BC.E3.82.B9", "title": "\u30db\u30ef\u30a4\u30c8\u30b9\u30da\u30fc\u30b9"}, {"id": ".E3.83.A9.E3.82.A4.E3.83.B3.E3.82.BF.E3.83.BC.E3.83.9F.E3.83.8D.E3.83.BC.E3.82.BF", "title": "\u30e9\u30a4\u30f3\u30bf\u30fc\u30df\u30cd\u30fc\u30bf"}, {"id": ".E3.82.B3.E3.83.A1.E3.83.B3.E3.83.88", "title": "\u30b3\u30e1\u30f3\u30c8"}, {"id": ".E3.82.AD.E3.83.BC.E3.83.AF.E3.83.BC.E3.83.89", "title": "\u30ad\u30fc\u30ef\u30fc\u30c9"}, {"id": "ECMAScript.E7.AC.AC.EF.BC.96.E7.89.88.E3.81.A7.E3.81.AE.E4.BA.88.E7.B4.84.E3.82.AD.E3.83.BC.E3.83.AF.E3.83.BC.E3.83.89", "title": "ECMAScript\u7b2c\uff16\u7248\u3067\u306e\u4e88\u7d04\u30ad\u30fc\u30ef\u30fc\u30c9"}, {"id": ".E4.BB.8A.E5.BE.8C.E3.81.AE.E4.BA.88.E7.B4.84.E6.B8.88.E3.81.BF.E3.82.AD.E3.83.BC.E3.83.AF.E3.83.BC.E3.83.89", "title": "\u4eca\u5f8c\u306e\u4e88\u7d04\u6e08\u307f\u30ad\u30fc\u30ef\u30fc\u30c9"}, {"id": ".E6.97.A7.E4.BB.95.E6.A7.98.E3.81.AB.E3.81.82.E3.82.8B.E4.BB.8A.E5.BE.8C.E4.BA.88.E7.B4.84.E3.81.95.E3.82.8C.E3.81.A6.E3.81.84.E3.82.8B.E3.82.AD.E3.83.BC.E3.83.AF.E3.83.BC.E3.83.89", "title": "\u65e7\u4ed5\u69d8\u306b\u3042\u308b\u4eca\u5f8c\u4e88\u7d04\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u30ef\u30fc\u30c9"}, {"id": "Reserved_word_usage", "title": "\u4e88\u7d04\u3055\u308c\u3066\u3044\u308b\u5358\u8a9e\u306e\u4f7f\u7528"}, {"id": ".E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "\u30ea\u30c6\u30e9\u30eb"}, {"id": "Null_.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "Null \u30ea\u30c6\u30e9\u30eb"}, {"id": "Boolean_.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "Boolean \u30ea\u30c6\u30e9\u30eb"}, {"id": "Numeric_.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "Numeric \u30ea\u30c6\u30e9\u30eb"}, {"id": "Decimal", "title": "Decimal"}, {"id": "Binary", "title": "Binary"}, {"id": "Octal", "title": "Octal"}, {"id": "Hexadecimal", "title": "Hexadecimal"}, {"id": ".E3.82.AA.E3.83.96.E3.82.B8.E3.82.A7.E3.82.AF.E3.83.88.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ea\u30c6\u30e9\u30eb"}, {"id": ".E9.85.8D.E5.88.97.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "\u914d\u5217\u30ea\u30c6\u30e9\u30eb"}, {"id": ".E6.96.87.E5.AD.97.E5.88.97.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "\u6587\u5b57\u5217\u30ea\u30c6\u30e9\u30eb"}, {"id": "16.E9.80.B2.E6.95.B0.E3.82.A8.E3.82.B9.E3.82.B1.E3.83.BC.E3.83.97.E3.82.B7.E3.83.BC.E3.82.B1.E3.83.B3.E3.82.B9", "title": "16\u9032\u6570\u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9"}, {"id": "Unicode.E3.82.A8.E3.82.B9.E3.82.B1.E3.83.BC.E3.83.97.E3.82.B7.E3.83.BC.E3.82.B1.E3.83.B3.E3.82.B9", "title": "Unicode\u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9"}, {"id": "Unicode.E3.82.B3.E3.83.BC.E3.83.89.E3.83.9D.E3.82.A4.E3.83.B3.E3.83.88.E3.82.A8.E3.82.B9.E3.82.B1.E3.83.BC.E3.83.97", "title": "Unicode\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u30a8\u30b9\u30b1\u30fc\u30d7"}, {"id": ".E6.AD.A3.E8.A6.8F.E8.A1.A8.E7.8F.BE.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "\u6b63\u898f\u8868\u73fe\u30ea\u30c6\u30e9\u30eb"}, {"id": ".E3.83.86.E3.83.B3.E3.83.97.E3.83.AC.E3.83.BC.E3.83.88.E3.83.AA.E3.83.86.E3.83.A9.E3.83.AB", "title": "\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30c6\u30e9\u30eb"}, {"id": ".E8.87.AA.E5.8B.95.E3.82.BB.E3.83.9F.E3.82.B3.E3.83.AD.E3.83.B3.E6.8C.BF.E5.85.A5", "title": "\u81ea\u52d5\u30bb\u30df\u30b3\u30ed\u30f3\u633f\u5165"}, {"id": ".E4.BB.95.E6.A7.98", "title": "\u4ed5\u69d8"}, {"id": ".E3.83.96.E3.83.A9.E3.82.A6.E3.82.B6.E5.AE.9F.E8.A3.85.E7.8A.B6.E6.B3.81", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "Firefox.E5.9B.BA.E6.9C.89.E3.81.AE.E3.83.A1.E3.83.A2", "title": "Firefox\u56fa\u6709\u306e\u30e1\u30e2"}, {"id": ".E9.96.A2.E9.80.A3.E6.83.85.E5.A0.B1", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 152569, "review_tags": ["editorial"]}