tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

grammar-fields-multi-line.js (644B)


      1 // This file was procedurally generated from the following sources:
      2 // - src/class-elements/grammar-fields-multi-line.case
      3 // - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
      4 /*---
      5 description: Valid multi-line, multi-field (class expression)
      6 esid: prod-ClassElement
      7 features: [class-fields-public, class]
      8 flags: [generated]
      9 info: |
     10    ClassElement :
     11      MethodDefinition
     12      static MethodDefinition
     13      FieldDefinition ;
     14      ;
     15 
     16    FieldDefinition :
     17      ClassElementName Initializer _opt
     18 
     19    ClassElementName :
     20      PropertyName
     21      PrivateName
     22 
     23 ---*/
     24 
     25 
     26 var C = class {
     27  x
     28  y
     29 };
     30 
     31 reportCompare(0, 0);