├── src ├── typing │ └── deps_js.ml ├── parser │ ├── test │ │ └── esprima │ │ │ ├── comment │ │ │ ├── migrated_0022.js │ │ │ ├── migrated_0023.js │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0015.js │ │ │ ├── migrated_0021.js │ │ │ ├── migrated_0024.js │ │ │ ├── migrated_0025.js │ │ │ ├── migrated_0036.js │ │ │ ├── migrated_0011.js │ │ │ ├── migrated_0013.js │ │ │ ├── migrated_0014.js │ │ │ ├── migrated_0038.js │ │ │ ├── migrated_0039.js │ │ │ ├── migrated_0040.js │ │ │ ├── migrated_0017.js │ │ │ ├── migrated_0037.js │ │ │ ├── migrated_0044.js │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0006.js │ │ │ ├── migrated_0007.js │ │ │ ├── migrated_0008.js │ │ │ ├── migrated_0009.js │ │ │ ├── migrated_0016.js │ │ │ ├── migrated_0018.js │ │ │ ├── migrated_0019.js │ │ │ ├── migrated_0020.js │ │ │ ├── migrated_0043.js │ │ │ ├── migrated_0052.js │ │ │ ├── migrated_0004.js │ │ │ ├── migrated_0005.js │ │ │ ├── migrated_0042.js │ │ │ ├── migrated_0045.js │ │ │ └── migrated_0041.js │ │ │ ├── tokenize │ │ │ ├── migrated_0010.js │ │ │ ├── migrated_0014.js │ │ │ ├── empty.tokens.json │ │ │ ├── migrated_0006.js │ │ │ ├── migrated_0009.js │ │ │ ├── migrated_0011.js │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0015.js │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0013.tokens.json │ │ │ ├── migrated_0016.js │ │ │ ├── line_terminators.tokens.json │ │ │ ├── migrated_0001.js │ │ │ ├── migrated_0002.js │ │ │ ├── migrated_0004.js │ │ │ ├── migrated_0005.js │ │ │ ├── migrated_0007.js │ │ │ ├── line_terminators.js │ │ │ ├── migrated_0008.js │ │ │ └── trailing_comment.js │ │ │ ├── JSX │ │ │ ├── invalid-element.js │ │ │ ├── invalid-no-closing.js │ │ │ ├── invalid-closing-trail.js │ │ │ ├── invalid-self-closing.js │ │ │ ├── simple-namespace.js │ │ │ ├── simple-text.js │ │ │ ├── invalid-empty-selfclosing.js │ │ │ ├── invalid-start-member.js │ │ │ ├── invalid-start-namespace.js │ │ │ ├── simple-member.js │ │ │ ├── simple-pair.js │ │ │ ├── simple-selfclosing.js │ │ │ ├── attribute-primary.js │ │ │ ├── invalid-incomplete-namespace.js │ │ │ ├── invalid-match.js │ │ │ ├── invalid-member-incomplete.js │ │ │ ├── nested-elements.js │ │ │ ├── simple-selfclosing-linefeed.js │ │ │ ├── attribute-expression.js │ │ │ ├── attribute-null-value.js │ │ │ ├── attribute-spread.js │ │ │ ├── container-series.js │ │ │ ├── empty-expression-container.js │ │ │ ├── invalid-attribute-value-trail.js │ │ │ ├── invalid-match-member.js │ │ │ ├── null-attribute-value.js │ │ │ ├── simple-namespace-pair.js │ │ │ ├── simple-selfclosing-whitespace.js │ │ │ ├── attribute-double-quoted-string.js │ │ │ ├── attribute-entity-hex.js │ │ │ ├── attribute-entity.js │ │ │ ├── inside-group-expression.js │ │ │ ├── invalid-empty-attribute-expression.js │ │ │ ├── invalid-match-name-namespace.js │ │ │ ├── invalid-match-namespace-name.js │ │ │ ├── invalid-match-namespace.js │ │ │ └── simple-nested-pair.js │ │ │ ├── invalid-syntax │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0001.js │ │ │ ├── migrated_0002.js │ │ │ ├── migrated_0004.js │ │ │ ├── migrated_0005.js │ │ │ ├── migrated_0006.js │ │ │ ├── migrated_0007.js │ │ │ ├── migrated_0008.js │ │ │ ├── migrated_0009.js │ │ │ ├── migrated_0010.js │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0013.js │ │ │ ├── migrated_0014.js │ │ │ ├── migrated_0017.js │ │ │ ├── migrated_0019.js │ │ │ ├── migrated_0022.js │ │ │ ├── migrated_0024.js │ │ │ ├── migrated_0027.js │ │ │ ├── migrated_0032.js │ │ │ ├── migrated_0038.js │ │ │ ├── migrated_0052.js │ │ │ ├── migrated_0053.js │ │ │ ├── migrated_0054.js │ │ │ ├── migrated_0055.js │ │ │ ├── migrated_0057.js │ │ │ ├── migrated_0058.js │ │ │ ├── migrated_0129.js │ │ │ ├── migrated_0145.js │ │ │ ├── migrated_0147.js │ │ │ ├── migrated_0152.js │ │ │ ├── migrated_0162.js │ │ │ ├── migrated_0164.js │ │ │ ├── migrated_0168.js │ │ │ ├── migrated_0252.js │ │ │ ├── GH-1106-00.js │ │ │ ├── GH-1106-01.js │ │ │ ├── GH-1106-02.js │ │ │ ├── GH-1106-03.js │ │ │ ├── GH-1106-04.js │ │ │ ├── GH-1106-05.js │ │ │ ├── GH-1106-08.js │ │ │ ├── GH-1106-09.js │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0011.js │ │ │ ├── migrated_0015.js │ │ │ ├── migrated_0016.js │ │ │ ├── migrated_0018.js │ │ │ ├── migrated_0020.js │ │ │ ├── migrated_0021.js │ │ │ ├── migrated_0023.js │ │ │ ├── migrated_0025.js │ │ │ ├── migrated_0026.js │ │ │ ├── migrated_0028.js │ │ │ ├── migrated_0029.js │ │ │ ├── migrated_0030.js │ │ │ ├── migrated_0039.js │ │ │ ├── migrated_0045.js │ │ │ ├── migrated_0059.js │ │ │ ├── migrated_0065.js │ │ │ ├── migrated_0067.js │ │ │ ├── migrated_0068.js │ │ │ ├── migrated_0084.js │ │ │ ├── migrated_0095.js │ │ │ ├── migrated_0096.js │ │ │ ├── migrated_0097.js │ │ │ ├── migrated_0112.js │ │ │ ├── migrated_0113.js │ │ │ ├── migrated_0114.js │ │ │ ├── migrated_0115.js │ │ │ ├── migrated_0117.js │ │ │ ├── migrated_0120.js │ │ │ ├── migrated_0121.js │ │ │ ├── migrated_0131.js │ │ │ ├── migrated_0132.js │ │ │ ├── migrated_0133.js │ │ │ ├── migrated_0140.js │ │ │ ├── migrated_0149.js │ │ │ ├── migrated_0151.js │ │ │ ├── migrated_0153.js │ │ │ ├── migrated_0154.js │ │ │ ├── migrated_0171.js │ │ │ ├── migrated_0172.js │ │ │ ├── migrated_0173.js │ │ │ ├── migrated_0254.js │ │ │ ├── migrated_0255.js │ │ │ ├── migrated_0261.js │ │ │ ├── migrated_0262.js │ │ │ ├── migrated_0263.js │ │ │ ├── migrated_0265.js │ │ │ ├── migrated_0267.js │ │ │ ├── GH-1106-06.js │ │ │ ├── GH-1106-07.js │ │ │ ├── migrated_0035.js │ │ │ ├── migrated_0040.js │ │ │ ├── migrated_0046.js │ │ │ ├── migrated_0047.js │ │ │ ├── migrated_0060.js │ │ │ ├── migrated_0061.js │ │ │ ├── migrated_0064.js │ │ │ ├── migrated_0066.js │ │ │ ├── migrated_0071.js │ │ │ ├── migrated_0072.js │ │ │ ├── migrated_0080.js │ │ │ ├── migrated_0082.js │ │ │ ├── migrated_0083.js │ │ │ ├── migrated_0085.js │ │ │ ├── migrated_0092.js │ │ │ ├── migrated_0098.js │ │ │ ├── migrated_0102.js │ │ │ ├── migrated_0103.js │ │ │ ├── migrated_0116.js │ │ │ ├── migrated_0118.js │ │ │ ├── migrated_0119.js │ │ │ ├── migrated_0122.js │ │ │ ├── migrated_0127.js │ │ │ ├── migrated_0130.js │ │ │ ├── migrated_0144.js │ │ │ ├── migrated_0148.js │ │ │ ├── migrated_0150.js │ │ │ ├── migrated_0155.js │ │ │ ├── migrated_0156.js │ │ │ ├── migrated_0157.js │ │ │ ├── migrated_0158.js │ │ │ ├── migrated_0159.js │ │ │ ├── migrated_0160.js │ │ │ ├── migrated_0161.js │ │ │ ├── migrated_0175.js │ │ │ ├── migrated_0266.js │ │ │ ├── migrated_0268.js │ │ │ ├── migrated_0031.js │ │ │ ├── migrated_0062.js │ │ │ ├── migrated_0063.js │ │ │ ├── migrated_0069.js │ │ │ ├── migrated_0074.js │ │ │ ├── migrated_0075.js │ │ │ ├── migrated_0076.js │ │ │ ├── migrated_0081.js │ │ │ ├── migrated_0086.js │ │ │ ├── migrated_0099.js │ │ │ ├── migrated_0104.js │ │ │ ├── migrated_0111.js │ │ │ ├── migrated_0124.js │ │ │ ├── migrated_0125.js │ │ │ ├── migrated_0126.js │ │ │ ├── migrated_0138.js │ │ │ ├── migrated_0139.js │ │ │ ├── migrated_0146.js │ │ │ ├── migrated_0170.js │ │ │ ├── migrated_0073.js │ │ │ ├── migrated_0077.js │ │ │ ├── migrated_0078.js │ │ │ ├── migrated_0094.js │ │ │ ├── migrated_0105.js │ │ │ ├── migrated_0106.js │ │ │ ├── migrated_0107.js │ │ │ ├── migrated_0108.js │ │ │ ├── migrated_0109.js │ │ │ ├── migrated_0110.js │ │ │ ├── migrated_0123.js │ │ │ ├── migrated_0134.js │ │ │ ├── migrated_0136.js │ │ │ ├── migrated_0141.js │ │ │ ├── migrated_0142.js │ │ │ ├── migrated_0216.js │ │ │ ├── migrated_0256.js │ │ │ ├── migrated_0257.js │ │ │ ├── migrated_0259.js │ │ │ ├── migrated_0260.js │ │ │ ├── migrated_0269.js │ │ │ ├── migrated_0275.js │ │ │ ├── migrated_0277.js │ │ │ ├── migrated_0036.source.js │ │ │ ├── migrated_0037.source.js │ │ │ ├── migrated_0088.js │ │ │ ├── migrated_0093.js │ │ │ ├── migrated_0100.js │ │ │ ├── migrated_0128.js │ │ │ ├── migrated_0135.js │ │ │ ├── migrated_0169.source.js │ │ │ ├── migrated_0176.js │ │ │ └── migrated_0177.js │ │ │ ├── statement │ │ │ ├── block │ │ │ │ ├── migrated_0002.js │ │ │ │ └── migrated_0000.js │ │ │ ├── empty │ │ │ │ └── migrated_0000.js │ │ │ ├── expression │ │ │ │ ├── migrated_0000.js │ │ │ │ └── migrated_0001.js │ │ │ ├── debugger │ │ │ │ └── migrated_0000.js │ │ │ ├── iteration │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0010.js │ │ │ │ ├── migrated_0011.js │ │ │ │ ├── migrated_0012.js │ │ │ │ └── migrated_0026.js │ │ │ ├── throw │ │ │ │ ├── migrated_0000.js │ │ │ │ └── migrated_0001.js │ │ │ ├── variable │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── var_let.js │ │ │ │ └── migrated_0002.js │ │ │ ├── switch │ │ │ │ └── migrated_0000.js │ │ │ ├── with │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── break │ │ │ │ └── migrated_0000.js │ │ │ ├── if │ │ │ │ ├── migrated_0002.js │ │ │ │ └── migrated_0006.js │ │ │ ├── labelled │ │ │ │ └── migrated_0002.js │ │ │ └── try │ │ │ │ ├── migrated_0000.js │ │ │ │ └── migrated_0001.js │ │ │ ├── tolerant-parse │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0046.js │ │ │ ├── migrated_0047.js │ │ │ ├── migrated_0013.js │ │ │ ├── migrated_0045.js │ │ │ ├── migrated_0005.js │ │ │ ├── migrated_0007.js │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0001.js │ │ │ ├── migrated_0002.js │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0004.js │ │ │ ├── migrated_0043.js │ │ │ ├── migrated_0044.js │ │ │ ├── migrated_0048.js │ │ │ ├── migrated_0049.js │ │ │ ├── let_eval.js │ │ │ ├── migrated_0006.js │ │ │ ├── migrated_0016.js │ │ │ ├── migrated_0019.js │ │ │ ├── migrated_0021.js │ │ │ ├── migrated_0022.js │ │ │ ├── migrated_0023.js │ │ │ └── migrated_0041.js │ │ │ ├── ES2016 │ │ │ ├── exponent │ │ │ │ ├── exp_not.js │ │ │ │ ├── exp_plus.js │ │ │ │ ├── exp_assign.js │ │ │ │ ├── exp_bitnot.js │ │ │ │ ├── exp_minus.js │ │ │ │ ├── exp_operator.js │ │ │ │ ├── exp_plusplus.js │ │ │ │ ├── exp_void.js │ │ │ │ ├── exp_delete.js │ │ │ │ ├── exp_minusminus.js │ │ │ │ ├── exp_precedence.js │ │ │ │ ├── exp_typeof.js │ │ │ │ ├── invalid_bitnot_exp.js │ │ │ │ ├── invalid_minus_exp.js │ │ │ │ ├── invalid_not_exp.js │ │ │ │ ├── invalid_plus_exp.js │ │ │ │ ├── invalid_void_exp.js │ │ │ │ ├── invalid_delete_exp.js │ │ │ │ ├── invalid_typeof_exp.js │ │ │ │ └── update_exp.js │ │ │ └── identifier │ │ │ │ └── gujarati_zha.js │ │ │ ├── ES6 │ │ │ ├── class │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0022.js │ │ │ │ ├── migrated_0023.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0005.js │ │ │ │ ├── migrated_0006.js │ │ │ │ ├── migrated_0007.js │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0012.js │ │ │ │ ├── migrated_0017.js │ │ │ │ ├── migrated_0024.js │ │ │ │ ├── migrated_0025.js │ │ │ │ ├── migrated_0026.js │ │ │ │ ├── migrated_0013.js │ │ │ │ ├── migrated_0015.js │ │ │ │ ├── migrated_0016.js │ │ │ │ ├── migrated_0018.js │ │ │ │ └── migrated_0010.js │ │ │ ├── for-of │ │ │ │ ├── for-of.js │ │ │ │ ├── for-of-let.js │ │ │ │ ├── let-of-of.js │ │ │ │ ├── for-of-with-let.js │ │ │ │ ├── for-of-with-var.js │ │ │ │ ├── invalid-lhs-init.js │ │ │ │ ├── invalid_let_let.js │ │ │ │ ├── unexpected-number.js │ │ │ │ ├── for-of-array-pattern.js │ │ │ │ ├── for-of-object-pattern.js │ │ │ │ ├── for-of-with-const.js │ │ │ │ ├── invalid-let-init.js │ │ │ │ ├── invalid-var-init.js │ │ │ │ └── invalid_const_let.js │ │ │ ├── identifier │ │ │ │ ├── estimated.js │ │ │ │ ├── math_alef.js │ │ │ │ ├── invalid_id_smp.js │ │ │ │ ├── math_dal_part.js │ │ │ │ ├── math_kaf_lam.js │ │ │ │ ├── weierstrass.js │ │ │ │ ├── dakuten_handakuten.js │ │ │ │ ├── escaped_part.js │ │ │ │ ├── escaped_start.js │ │ │ │ ├── math_zain_start.js │ │ │ │ ├── module_await.js │ │ │ │ ├── ethiopic_digits.js │ │ │ │ ├── valid_await.js │ │ │ │ ├── escaped_all.js │ │ │ │ ├── escaped_math_alef.js │ │ │ │ ├── escaped_math_dal_part.js │ │ │ │ ├── invalid_var_await.js │ │ │ │ └── weierstrass_weierstrass.js │ │ │ ├── template-literals │ │ │ │ ├── dollar-sign.js │ │ │ │ ├── tagged.js │ │ │ │ ├── unclosed.js │ │ │ │ ├── untagged.js │ │ │ │ ├── octal-literal.js │ │ │ │ ├── invalid-escape.js │ │ │ │ ├── after-switch.js │ │ │ │ ├── new-expression.js │ │ │ │ └── unclosed-nested.js │ │ │ ├── arrow-function │ │ │ │ ├── migrated_0011.js │ │ │ │ ├── migrated_0015.js │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0016.js │ │ │ │ ├── migrated_0018.js │ │ │ │ ├── migrated_0020.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0006.js │ │ │ │ ├── migrated_0007.js │ │ │ │ ├── migrated_0010.js │ │ │ │ ├── migrated_0012.js │ │ │ │ ├── migrated_0013.js │ │ │ │ ├── migrated_0019.js │ │ │ │ ├── arrow-with-only-rest.js │ │ │ │ ├── migrated_0005.js │ │ │ │ ├── migrated_0014.js │ │ │ │ └── rest-without-arrow.js │ │ │ ├── octal-integer-literal │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ └── migrated_0005.js │ │ │ ├── binary-integer-literal │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ └── migrated_0005.js │ │ │ ├── lexical-declaration │ │ │ │ ├── module_let.js │ │ │ │ ├── let_assign.js │ │ │ │ ├── let_identifier.js │ │ │ │ ├── for_let_in.js │ │ │ │ ├── invalid_const_let.js │ │ │ │ ├── invalid_let_let.js │ │ │ │ └── let_member.js │ │ │ ├── spread-element │ │ │ │ ├── call-spread.js │ │ │ │ ├── new-spread.js │ │ │ │ ├── call-spread-number.js │ │ │ │ ├── invalid-call-dot-dot.js │ │ │ │ ├── invalid-call-dots.js │ │ │ │ ├── call-spread-first.js │ │ │ │ ├── invalid-new-dot-dot.js │ │ │ │ ├── invalid-new-dots.js │ │ │ │ └── new-spread-number.js │ │ │ ├── yield │ │ │ │ ├── yield-method.js │ │ │ │ ├── yield-array-pattern.js │ │ │ │ ├── yield-variable-declaration.js │ │ │ │ ├── yield-arrow-concise-body.js │ │ │ │ ├── yield-arrow-parameter-name.js │ │ │ │ ├── yield-generator-method.js │ │ │ │ └── yield-lexical-declaration.js │ │ │ ├── generator │ │ │ │ ├── generator-method.js │ │ │ │ ├── generator-expression.js │ │ │ │ └── malformed-generator-method.js │ │ │ ├── binding-pattern │ │ │ │ └── array-pattern │ │ │ │ │ └── hole.js │ │ │ ├── export-declaration │ │ │ │ ├── export-named-empty.js │ │ │ │ └── export-var.js │ │ │ ├── import-declaration │ │ │ │ └── import-module.js │ │ │ └── method-definition │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0003.js │ │ │ │ └── migrated_0004.js │ │ │ ├── declaration │ │ │ ├── let │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── const │ │ │ │ ├── migrated_0000.js │ │ │ │ └── migrated_0001.js │ │ │ └── function │ │ │ │ ├── migrated_0012.js │ │ │ │ └── migrated_0001.js │ │ │ ├── expression │ │ │ ├── postfix │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ └── migrated_0005.js │ │ │ ├── unary │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0006.js │ │ │ │ ├── migrated_0007.js │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0010.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0005.js │ │ │ │ ├── migrated_0011.js │ │ │ │ └── migrated_0012.js │ │ │ ├── additive │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── assignment │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0005.js │ │ │ │ ├── migrated_0006.js │ │ │ │ ├── migrated_0007.js │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0010.js │ │ │ │ ├── migrated_0011.js │ │ │ │ ├── migrated_0012.js │ │ │ │ ├── migrated_0013.js │ │ │ │ └── migrated_0002.js │ │ │ ├── binary │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0005.js │ │ │ │ ├── migrated_0006.js │ │ │ │ ├── migrated_0007.js │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0010.js │ │ │ │ ├── migrated_0012.js │ │ │ │ ├── migrated_0013.js │ │ │ │ ├── migrated_0014.js │ │ │ │ ├── migrated_0015.js │ │ │ │ ├── migrated_0016.js │ │ │ │ ├── migrated_0017.js │ │ │ │ └── migrated_0011.js │ │ │ ├── equality │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ └── migrated_0003.js │ │ │ ├── relational │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0006.js │ │ │ │ └── migrated_0005.js │ │ │ ├── binary-bitwise │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── binary-logical │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ └── migrated_0005.js │ │ │ ├── bitwise-shift │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── conditional │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── grouping │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0000.js │ │ │ ├── multiplicative │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ └── migrated_0002.js │ │ │ ├── primary │ │ │ │ ├── array │ │ │ │ │ ├── migrated_0000.js │ │ │ │ │ ├── migrated_0001.js │ │ │ │ │ ├── migrated_0007.js │ │ │ │ │ ├── migrated_0002.js │ │ │ │ │ ├── migrated_0003.js │ │ │ │ │ ├── migrated_0004.js │ │ │ │ │ ├── migrated_0005.js │ │ │ │ │ └── migrated_0006.js │ │ │ │ ├── object │ │ │ │ │ ├── migrated_0000.js │ │ │ │ │ ├── migrated_0001.js │ │ │ │ │ ├── migrated_0034.js │ │ │ │ │ ├── migrated_0037.js │ │ │ │ │ ├── migrated_0003.js │ │ │ │ │ ├── migrated_0004.js │ │ │ │ │ ├── migrated_0005.js │ │ │ │ │ ├── migrated_0006.js │ │ │ │ │ ├── migrated_0024.js │ │ │ │ │ ├── migrated_0025.js │ │ │ │ │ ├── migrated_0035.js │ │ │ │ │ └── migrated_0038.js │ │ │ │ ├── literal │ │ │ │ │ ├── numeric │ │ │ │ │ │ ├── migrated_0000.js │ │ │ │ │ │ ├── migrated_0001.js │ │ │ │ │ │ ├── migrated_0002.js │ │ │ │ │ │ ├── migrated_0003.js │ │ │ │ │ │ ├── migrated_0004.js │ │ │ │ │ │ ├── migrated_0008.js │ │ │ │ │ │ ├── migrated_0018.js │ │ │ │ │ │ ├── migrated_0019.js │ │ │ │ │ │ ├── migrated_0021.js │ │ │ │ │ │ ├── migrated_0023.js │ │ │ │ │ │ ├── migrated_0005.js │ │ │ │ │ │ ├── migrated_0009.js │ │ │ │ │ │ ├── migrated_0010.js │ │ │ │ │ │ ├── migrated_0011.js │ │ │ │ │ │ ├── migrated_0012.js │ │ │ │ │ │ ├── migrated_0013.js │ │ │ │ │ │ ├── migrated_0014.js │ │ │ │ │ │ ├── migrated_0015.js │ │ │ │ │ │ ├── migrated_0016.js │ │ │ │ │ │ ├── migrated_0017.js │ │ │ │ │ │ ├── migrated_0020.js │ │ │ │ │ │ ├── migrated_0022.js │ │ │ │ │ │ └── migrated_0024.js │ │ │ │ │ └── string │ │ │ │ │ │ ├── migrated_0000.js │ │ │ │ │ │ └── migrated_0003.js │ │ │ │ └── other │ │ │ │ │ ├── migrated_0000.js │ │ │ │ │ ├── migrated_0001.js │ │ │ │ │ └── migrated_0003.js │ │ │ └── left-hand-side │ │ │ │ ├── migrated_0000.js │ │ │ │ ├── migrated_0001.js │ │ │ │ ├── migrated_0002.js │ │ │ │ ├── migrated_0005.js │ │ │ │ ├── migrated_0019.js │ │ │ │ ├── migrated_0003.js │ │ │ │ ├── migrated_0004.js │ │ │ │ ├── migrated_0006.js │ │ │ │ ├── migrated_0007.js │ │ │ │ ├── migrated_0008.js │ │ │ │ ├── migrated_0009.js │ │ │ │ ├── migrated_0010.js │ │ │ │ ├── migrated_0020.js │ │ │ │ ├── migrated_0021.js │ │ │ │ └── migrated_0022.js │ │ │ ├── source-option │ │ │ ├── migrated_0000.js │ │ │ └── migrated_0001.js │ │ │ └── automatic-semicolon-insertion │ │ │ ├── migrated_0000.js │ │ │ └── migrated_0001.js │ └── tools │ │ └── .gitignore ├── dts │ └── tests │ │ ├── numbered_keys │ │ └── .flowconfig │ │ └── union │ │ └── declarations │ │ ├── union.d.ts │ │ └── union.js.exp ├── third-party │ └── lz4 │ │ └── VERSION └── common │ └── verbose.ml ├── tests ├── dom │ └── .flowconfig ├── react │ └── .flowconfig ├── rec │ └── .flowconfig ├── shape │ ├── .flowconfig │ └── shape.exp ├── throw │ └── .flowconfig ├── try │ └── .flowconfig ├── unary │ └── .flowconfig ├── while │ ├── .flowconfig │ └── while.exp ├── .gitignore ├── auxiliary │ ├── .flowconfig │ ├── client.js │ └── lib │ │ └── lib.js ├── binary │ └── .flowconfig ├── binding │ └── .flowconfig ├── class_type │ └── .flowconfig ├── core_tests │ └── .flowconfig ├── covariance │ └── .flowconfig ├── deps │ ├── F.js │ ├── H.js │ ├── A.js │ ├── B.js │ ├── D.js │ ├── E.js │ ├── G.js │ ├── I.js │ ├── deps.exp │ └── .flowconfig ├── dictionary │ └── .flowconfig ├── dump-types │ ├── .flowconfig │ └── .testconfig ├── extensions │ ├── .flowconfig │ ├── bar.jsx │ └── foo.js ├── issues-11 │ └── .flowconfig ├── node_haste │ ├── ws │ │ ├── index.js │ │ └── test │ │ │ └── client.js │ ├── external │ │ └── _d3 │ │ │ ├── min.js │ │ │ └── package.json │ ├── md5.js │ ├── node_modules │ │ └── qux │ │ │ └── corge │ │ │ ├── lib │ │ │ └── index.js │ │ │ └── package.json │ ├── client.js │ └── .flowconfig ├── node_tests │ ├── .flowconfig │ ├── jsx │ │ ├── .flowconfig │ │ └── bar.jsx │ ├── basic │ │ ├── .flowconfig │ │ └── bar.js │ ├── jsx_file │ │ ├── .flowconfig │ │ └── bar.jsx │ ├── stream │ │ └── .flowconfig │ ├── basic_file │ │ ├── .flowconfig │ │ └── bar.js │ ├── basic_package │ │ ├── .flowconfig │ │ └── bar_lib │ │ │ └── bar.js │ ├── package_file │ │ ├── .flowconfig │ │ ├── bar_lib │ │ │ └── bar.js │ │ └── bar_lib.js │ ├── path_package │ │ └── .flowconfig │ ├── basic_node_modules │ │ └── .flowconfig │ ├── path_node_modules │ │ └── .flowconfig │ ├── invalid_package_file │ │ └── package.json │ ├── json_file │ │ ├── json_array.json │ │ ├── json_false.json │ │ ├── json_null.json │ │ ├── json_number.json │ │ ├── json_string.json │ │ ├── json_true.json │ │ ├── json_invalid.json │ │ ├── json_negative_number.json │ │ └── package2 │ │ │ └── index.json │ └── package_file_node_modules │ │ └── .flowconfig ├── objmap │ └── .flowconfig ├── parse │ ├── fail.js │ ├── fail-flow.js │ ├── fail-flow-2.js │ └── .flowconfig ├── record │ └── .flowconfig ├── return_new │ └── .flowconfig ├── singleton │ └── .flowconfig ├── spread │ └── .flowconfig ├── symlink │ ├── .flowconfig │ ├── bar.js │ └── foo.js ├── template │ └── .flowconfig ├── this_ctor │ └── .flowconfig ├── traits │ └── .flowconfig ├── any │ ├── .testconfig │ └── nonflowfile.js ├── array-filter │ ├── .flowconfig │ └── array-filter.exp ├── array_spread │ ├── .flowconfig │ └── array_spread.exp ├── async_iteration │ └── .flowconfig ├── bounded_poly │ └── .flowconfig ├── builtin_uses │ └── .flowconfig ├── class_statics │ └── .flowconfig ├── class_subtyping │ └── .flowconfig ├── computed_props │ ├── .flowconfig │ └── test4.js ├── contents │ ├── ignore │ │ ├── dummy.js │ │ └── test.js │ ├── no_flow │ │ └── dummy.js │ └── .testconfig ├── declare_fun │ └── .flowconfig ├── export_type │ └── .flowconfig ├── find-module │ ├── .flowconfig │ ├── .testconfig │ └── req.js ├── geolocation │ ├── .flowconfig │ └── geolocation.exp ├── object-method │ └── .flowconfig ├── object_annot │ ├── .flowconfig │ └── object_annot.exp ├── optional_props │ └── .flowconfig ├── pure_component │ └── .flowconfig ├── sealed_objects │ └── .flowconfig ├── strict_requires │ ├── .flowconfig │ ├── A.js │ └── B.js ├── type-at-pos │ ├── .flowconfig │ ├── .testconfig │ └── templates.js ├── unreachable │ └── .flowconfig ├── x │ ├── x.exp │ └── .flowconfig ├── constructor_annots │ └── .flowconfig ├── def_site_variance │ └── .flowconfig ├── es6modules │ ├── C.js │ ├── SideEffects.js │ └── B.js ├── es_declare_module │ └── .flowconfig ├── facebook_fbt_none │ └── .flowconfig ├── for │ ├── for.exp │ └── .flowconfig ├── immutable_methods │ └── .flowconfig ├── incremental_delete │ ├── d.json │ └── .testconfig ├── integration │ ├── bar.js │ ├── .testconfig │ ├── .flowconfig │ └── foo.js ├── json │ └── json.exp ├── method_properties │ └── .flowconfig ├── parse_error_node │ ├── .flowconfig │ └── .testconfig ├── path │ ├── path.exp │ └── .flowconfig ├── react_functional │ └── .flowconfig ├── require │ ├── C.js │ └── B.js ├── type-destructors │ └── .flowconfig ├── type_param_scope │ └── .flowconfig ├── union-intersection │ ├── .flowconfig │ └── union-intersection.exp ├── annot2 │ ├── .testconfig │ ├── annot2.exp │ ├── T.js │ └── .flowconfig ├── declaration_files_haste │ ├── ws │ │ ├── index.js │ │ └── test │ │ │ └── client.js │ ├── md5.js │ └── external │ │ └── _d3 │ │ └── package.json ├── declare_export │ ├── C.js │ ├── SideEffects.js │ └── B.js ├── declare_module_exports │ └── .flowconfig ├── docblock │ ├── docblock.exp │ ├── .testconfig │ └── .flowconfig ├── flow_ast.template_strings │ ├── .flowconfig │ └── foo.js ├── funrec │ ├── funrec.exp │ └── .flowconfig ├── get-def2 │ ├── .flowconfig │ ├── .testconfig │ └── types.js ├── include │ ├── .testconfig │ └── included │ │ └── test.js ├── jsx_intrinsics.builtin │ └── .flowconfig ├── symbol │ ├── symbol.exp │ └── .flowconfig ├── this_type │ └── .flowconfig ├── union_new │ ├── .flowconfig │ └── lib │ │ ├── test23_lib.js │ │ └── test32_lib.js ├── window │ ├── window.exp │ └── .flowconfig ├── config_all │ └── .testconfig ├── config_version │ ├── .flowconfig │ └── config_version.exp ├── coverage │ └── .testconfig ├── docblock_flow │ ├── .testconfig │ ├── .flowconfig │ ├── multiple_flows_1.js │ └── with_flow.js ├── esproposal_export_star_as.warn │ └── .flowconfig ├── export_default │ ├── .flowconfig │ └── P.js ├── get-def │ ├── .testconfig │ └── .flowconfig ├── graphql │ ├── graphql.exp │ └── .flowconfig ├── incremental_path │ ├── .testconfig │ ├── dir │ │ └── a.js │ └── node_modules │ │ └── b.js ├── module_not_found_errors │ ├── src │ │ └── .flowconfig │ └── .testconfig ├── parse_error_haste │ ├── .testconfig │ └── .flowconfig ├── poly_overload │ ├── .flowconfig │ └── poly_overload.exp ├── replace │ ├── replace.exp │ └── .flowconfig ├── static_overload │ ├── .flowconfig │ ├── static_overload.exp │ └── test.js ├── taint │ └── .flowconfig ├── temp_dir │ └── .testconfig ├── type_args_strict │ └── .flowconfig ├── unicode │ ├── unicode.exp │ └── .flowconfig ├── config_all_false │ ├── .testconfig │ └── config_all_false.exp ├── connect_race │ ├── .testconfig │ └── connect_race.exp ├── declaration_files_incremental_haste │ ├── ws │ │ └── index.js │ ├── .testconfig │ └── md5.js ├── declare_type │ └── .flowconfig ├── facebookisms │ ├── .flowconfig │ └── Bar.js ├── get-imports-and-importers │ ├── a.js │ └── .testconfig ├── haste_cycle │ ├── haste_cycle.exp │ └── .flowconfig ├── incremental │ ├── incremental.exp │ └── a.js ├── incremental_basic │ └── .testconfig ├── incremental_cycle │ └── .testconfig ├── incremental_json │ ├── .testconfig │ ├── .flowconfig │ ├── data.json1 │ └── data.json2 ├── libdef_ignored_module │ └── node_modules │ │ └── foo │ │ ├── index.js │ │ └── package.json ├── librec │ ├── libtest.js │ └── lib │ │ ├── A │ │ └── libA.js │ │ └── B │ │ └── libB.js ├── modified_lib │ ├── .flowconfig │ └── .testconfig ├── node_modules_with_symlinks │ ├── root │ │ ├── .flowconfig │ │ └── node_modules │ │ │ └── symlink_lib │ └── .testconfig ├── version │ └── .testconfig ├── autocomplete │ ├── bool.js │ ├── str.js │ ├── .testconfig │ ├── if.js │ └── num.js ├── config_comment │ └── config_comment.exp ├── jsx_intrinsics.custom │ └── .flowconfig ├── lib_interfaces │ └── lib_interfaces.exp ├── libconfig │ ├── libtest.js │ ├── libA.js │ └── libB.js ├── refinements │ └── node1.js ├── suppress │ ├── lib.js │ └── B.js ├── suppress_bad │ └── .testconfig ├── suppress_incremental │ └── .testconfig ├── .flowconfig ├── check-contents │ ├── syntax_error.js │ └── .testconfig ├── facebook_fbt_some │ ├── flow-typed │ │ └── fbt.js │ └── .flowconfig ├── incremental_duplicate_delete │ └── .testconfig ├── incremental_mixed_naming_cycle │ └── .testconfig ├── liberr │ └── .testconfig ├── objects │ └── .flowconfig ├── annot │ ├── .flowconfig │ ├── other.js │ └── test.js ├── arith │ └── .flowconfig ├── arrays │ └── .flowconfig ├── arrows │ └── .flowconfig ├── async │ └── .flowconfig ├── break │ └── .flowconfig ├── classes │ ├── .flowconfig │ └── D.js ├── closure │ └── .flowconfig ├── conditional │ └── .flowconfig ├── cycle │ └── .flowconfig ├── date │ └── .flowconfig ├── demo │ ├── 1 │ │ └── .flowconfig │ ├── 2 │ │ └── .flowconfig │ └── .flowconfig ├── disjoint-union-perf │ └── disjoint-union-perf.exp ├── duplicate_methods │ └── duplicate_methods.exp ├── encaps │ └── .flowconfig ├── equals │ └── .flowconfig ├── fetch │ └── .flowconfig ├── indexer │ └── .flowconfig ├── init │ └── .flowconfig ├── iter │ └── .flowconfig ├── lib │ └── .flowconfig ├── literal │ └── .flowconfig ├── locals │ └── .flowconfig ├── logical │ └── .flowconfig ├── loners │ └── .flowconfig ├── misc │ └── .flowconfig ├── module_use_strict │ ├── test.js │ └── .flowconfig ├── modules │ └── .flowconfig ├── poly │ └── .flowconfig ├── refi │ └── .flowconfig ├── regexp │ └── .flowconfig ├── return │ └── .flowconfig ├── seal │ └── .flowconfig ├── sealed │ └── .flowconfig ├── statics │ └── .flowconfig ├── strict │ └── .flowconfig ├── suggest │ └── .flowconfig ├── super │ └── .flowconfig ├── switch │ └── .flowconfig ├── this │ └── .flowconfig ├── tuples │ └── .flowconfig ├── type-printer │ └── .testconfig ├── type_args_nonstrict │ └── type_args_nonstrict.exp ├── type_param_variance │ ├── type_param_variance.exp │ └── .flowconfig ├── union │ └── .flowconfig ├── value │ └── .flowconfig ├── yield │ └── .flowconfig ├── abnormal │ └── .flowconfig ├── arraylib │ └── .flowconfig ├── builtins │ └── .flowconfig ├── callable │ └── .flowconfig ├── class_munging │ └── .flowconfig ├── commonjs │ ├── .flowconfig │ └── Rel.js ├── constructor ├── declaration_files_incremental_node │ └── .testconfig ├── declaration_files_node │ ├── CJS.js │ └── CJS.js.flow ├── destructuring │ └── .flowconfig ├── enumerror │ └── .flowconfig ├── fixpoint │ └── .flowconfig ├── generics │ └── .flowconfig ├── incremental_non_flow_move │ └── .testconfig ├── instanceof │ └── .flowconfig ├── interface │ └── .flowconfig ├── keyvalue │ └── .flowconfig ├── more_annot │ └── .flowconfig ├── more_classes │ └── .flowconfig ├── more_path │ └── .flowconfig ├── more_react │ └── .flowconfig ├── more_statics │ └── .flowconfig ├── namespace │ └── .flowconfig ├── nullable │ └── .flowconfig ├── object_api │ ├── .flowconfig │ └── a.js ├── optional │ └── .flowconfig ├── plsummit │ └── .flowconfig ├── promises │ └── .flowconfig ├── qualified │ └── .flowconfig ├── reflection │ └── .flowconfig ├── type_param_variance2 │ └── type_param_variance2.exp ├── typecast │ └── .flowconfig ├── undefined │ └── .flowconfig ├── weakmode │ └── .flowconfig ├── ast_tokens │ └── .testconfig ├── error_messages │ └── .flowconfig ├── more_generics │ └── .flowconfig ├── number_constants │ └── .flowconfig ├── object_freeze │ └── .flowconfig └── simple_arrays │ └── .flowconfig ├── examples ├── 03_Null │ └── .flowconfig ├── 04_Arrays │ └── .flowconfig ├── flux-chat │ └── .flowconfig ├── 01_HelloWorld │ └── .flowconfig ├── 05_DynamicCode │ └── .flowconfig └── 02_TypeAnnotations │ └── .flowconfig ├── npm-flow-lib ├── .flowconfig ├── .npmignore └── .gitignore ├── newtests ├── contents │ ├── ignore │ │ ├── dummy.js │ │ └── foo.js │ └── no_flow │ │ ├── dummy.js │ │ └── foo.js ├── resource_files │ ├── bar.png │ ├── baz.gabe │ └── foo.css ├── autocomplete │ ├── bool.js │ ├── str.js │ ├── num.js │ └── bar.js ├── tool_test_example │ ├── A.js │ ├── B.js │ └── C.js ├── shadow │ └── proto.js ├── config_all │ └── no_at_flow.js └── import_errors │ ├── importer.js │ └── exporter.js ├── resources └── opam │ └── version ├── website ├── CNAME └── .bowerrc ├── hack ├── .gitignore └── utils │ └── disk │ └── disk.mli └── .merlin /src/typing/deps_js.ml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/dom/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/react/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/rec/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/shape/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/throw/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/try/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unary/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/while/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/03_Null/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /npm-flow-lib/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | -------------------------------------------------------------------------------- /tests/auxiliary/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/binary/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/binding/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/class_type/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/core_tests/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/covariance/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/deps/F.js: -------------------------------------------------------------------------------- 1 | // empty 2 | -------------------------------------------------------------------------------- /tests/deps/H.js: -------------------------------------------------------------------------------- 1 | // empty 2 | -------------------------------------------------------------------------------- /tests/dictionary/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/dump-types/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/extensions/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/issues-11/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_haste/ws/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/objmap/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parse/fail.js: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /tests/record/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/return_new/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/singleton/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/spread/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/symlink/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/symlink/bar.js: -------------------------------------------------------------------------------- 1 | foo.js -------------------------------------------------------------------------------- /tests/template/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/this_ctor/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/traits/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/04_Arrays/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/flux-chat/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newtests/contents/ignore/dummy.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newtests/resource_files/bar.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newtests/resource_files/baz.gabe: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newtests/resource_files/foo.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /npm-flow-lib/.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | -------------------------------------------------------------------------------- /resources/opam/version: -------------------------------------------------------------------------------- 1 | 0.9.0 2 | -------------------------------------------------------------------------------- /tests/any/.testconfig: -------------------------------------------------------------------------------- 1 | all: false -------------------------------------------------------------------------------- /tests/array-filter/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/array_spread/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/async_iteration/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/bounded_poly/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/builtin_uses/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/class_statics/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/class_subtyping/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/computed_props/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/contents/ignore/dummy.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/contents/no_flow/dummy.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/declare_fun/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/export_type/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/find-module/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/geolocation/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/jsx/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/object-method/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/object_annot/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/optional_props/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/pure_component/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/sealed_objects/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/strict_requires/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/type-at-pos/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unreachable/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/x/x.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /website/CNAME: -------------------------------------------------------------------------------- 1 | flowtype.org 2 | -------------------------------------------------------------------------------- /examples/01_HelloWorld/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/05_DynamicCode/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /newtests/contents/no_flow/dummy.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/constructor_annots/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/def_site_variance/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/deps/A.js: -------------------------------------------------------------------------------- 1 | require('./C'); 2 | -------------------------------------------------------------------------------- /tests/deps/B.js: -------------------------------------------------------------------------------- 1 | require('./C'); 2 | -------------------------------------------------------------------------------- /tests/deps/D.js: -------------------------------------------------------------------------------- 1 | require('./I'); 2 | -------------------------------------------------------------------------------- /tests/deps/E.js: -------------------------------------------------------------------------------- 1 | require('./I'); 2 | -------------------------------------------------------------------------------- /tests/deps/G.js: -------------------------------------------------------------------------------- 1 | require('./H'); 2 | -------------------------------------------------------------------------------- /tests/deps/I.js: -------------------------------------------------------------------------------- 1 | require('./A'); 2 | -------------------------------------------------------------------------------- /tests/deps/deps.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/es6modules/C.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | -------------------------------------------------------------------------------- /tests/es_declare_module/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/facebook_fbt_none/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/for/for.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/immutable_methods/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/incremental_delete/d.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/integration/bar.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | -------------------------------------------------------------------------------- /tests/json/json.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/method_properties/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_haste/external/_d3/min.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/basic/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/jsx_file/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/stream/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parse_error_node/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/path/path.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/react_functional/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/require/C.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | -------------------------------------------------------------------------------- /tests/type-destructors/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/type_param_scope/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/union-intersection/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/02_TypeAnnotations/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/annot2/.testconfig: -------------------------------------------------------------------------------- 1 | all: false 2 | -------------------------------------------------------------------------------- /tests/annot2/annot2.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/declaration_files_haste/ws/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/declare_export/C.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | -------------------------------------------------------------------------------- /tests/declare_module_exports/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/docblock/docblock.exp: -------------------------------------------------------------------------------- 1 | No errors! 2 | -------------------------------------------------------------------------------- /tests/flow_ast.template_strings/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/funrec/funrec.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/get-def2/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib -------------------------------------------------------------------------------- /tests/include/.testconfig: -------------------------------------------------------------------------------- 1 | cwd: root 2 | -------------------------------------------------------------------------------- /tests/jsx_intrinsics.builtin/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/basic_file/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/basic_package/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/package_file/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/path_package/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/shape/shape.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/symbol/symbol.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/this_type/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib -------------------------------------------------------------------------------- /tests/union_new/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib -------------------------------------------------------------------------------- /tests/while/while.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/window/window.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /hack/.gitignore: -------------------------------------------------------------------------------- 1 | *.bc 2 | *.opt 3 | !Makefile 4 | -------------------------------------------------------------------------------- /hack/utils/disk/disk.mli: -------------------------------------------------------------------------------- 1 | include Disk_sig.S 2 | -------------------------------------------------------------------------------- /tests/auxiliary/client.js: -------------------------------------------------------------------------------- 1 | var y:number = x; 2 | -------------------------------------------------------------------------------- /tests/config_all/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/config_version/.flowconfig: -------------------------------------------------------------------------------- 1 | [version] 2 | -------------------------------------------------------------------------------- /tests/coverage/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/docblock_flow/.testconfig: -------------------------------------------------------------------------------- 1 | all: false 2 | -------------------------------------------------------------------------------- /tests/dump-types/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/es6modules/SideEffects.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | -------------------------------------------------------------------------------- /tests/esproposal_export_star_as.warn/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/export_default/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib -------------------------------------------------------------------------------- /tests/find-module/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/find-module/req.js: -------------------------------------------------------------------------------- 1 | module.exports = 0; 2 | -------------------------------------------------------------------------------- /tests/get-def/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/get-def2/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/graphql/graphql.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/incremental_path/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh -------------------------------------------------------------------------------- /tests/integration/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/module_not_found_errors/src/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/basic_node_modules/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/path_node_modules/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parse_error_haste/.testconfig: -------------------------------------------------------------------------------- 1 | all: false -------------------------------------------------------------------------------- /tests/parse_error_node/.testconfig: -------------------------------------------------------------------------------- 1 | all: false -------------------------------------------------------------------------------- /tests/poly_overload/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | decls -------------------------------------------------------------------------------- /tests/replace/replace.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/static_overload/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib -------------------------------------------------------------------------------- /tests/taint/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib.js 3 | -------------------------------------------------------------------------------- /tests/temp_dir/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/type-at-pos/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/type_args_strict/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | -------------------------------------------------------------------------------- /tests/unicode/unicode.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /newtests/autocomplete/bool.js: -------------------------------------------------------------------------------- 1 | // 2 | 3 | true. 4 | -------------------------------------------------------------------------------- /newtests/autocomplete/str.js: -------------------------------------------------------------------------------- 1 | // 2 | 3 | "hello". 4 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0022.js: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0023.js: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0010.js: -------------------------------------------------------------------------------- 1 | /42/ -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0014.js: -------------------------------------------------------------------------------- 1 | /42 -------------------------------------------------------------------------------- /src/parser/tools/.gitignore: -------------------------------------------------------------------------------- 1 | native_test_files 2 | -------------------------------------------------------------------------------- /tests/auxiliary/lib/lib.js: -------------------------------------------------------------------------------- 1 | declare var x: string; 2 | -------------------------------------------------------------------------------- /tests/config_all_false/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/connect_race/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/connect_race/connect_race.exp: -------------------------------------------------------------------------------- 1 | No errors! 2 | -------------------------------------------------------------------------------- /tests/declaration_files_incremental_haste/ws/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/declare_export/SideEffects.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | -------------------------------------------------------------------------------- /tests/declare_type/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib 3 | -------------------------------------------------------------------------------- /tests/docblock/.testconfig: -------------------------------------------------------------------------------- 1 | shell: docblock.sh 2 | -------------------------------------------------------------------------------- /tests/facebookisms/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib.js 3 | -------------------------------------------------------------------------------- /tests/geolocation/geolocation.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/get-imports-and-importers/a.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | -------------------------------------------------------------------------------- /tests/haste_cycle/haste_cycle.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/include/included/test.js: -------------------------------------------------------------------------------- 1 | (123: string); 2 | -------------------------------------------------------------------------------- /tests/incremental/incremental.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/incremental_basic/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh -------------------------------------------------------------------------------- /tests/incremental_cycle/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh -------------------------------------------------------------------------------- /tests/incremental_delete/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh -------------------------------------------------------------------------------- /tests/incremental_json/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/libdef_ignored_module/node_modules/foo/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/librec/libtest.js: -------------------------------------------------------------------------------- 1 | foo(123); 2 | bar(123); 3 | -------------------------------------------------------------------------------- /tests/modified_lib/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | lib 3 | -------------------------------------------------------------------------------- /tests/modified_lib/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/node_haste/md5.js: -------------------------------------------------------------------------------- 1 | /* @providesModule md5 */ 2 | -------------------------------------------------------------------------------- /tests/node_haste/node_modules/qux/corge/lib/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_modules_with_symlinks/root/.flowconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/invalid_package_file/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_array.json: -------------------------------------------------------------------------------- 1 | [1, 2] 2 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_false.json: -------------------------------------------------------------------------------- 1 | false 2 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_null.json: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_number.json: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_string.json: -------------------------------------------------------------------------------- 1 | "foo" 2 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_true.json: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /tests/parse/fail-flow.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | . 4 | -------------------------------------------------------------------------------- /tests/version/.testconfig: -------------------------------------------------------------------------------- 1 | ignore_stderr: false 2 | -------------------------------------------------------------------------------- /.merlin: -------------------------------------------------------------------------------- 1 | S hack/** 2 | S src/** 3 | 4 | B _build/** 5 | -------------------------------------------------------------------------------- /newtests/tool_test_example/A.js: -------------------------------------------------------------------------------- 1 | export default 123; 2 | -------------------------------------------------------------------------------- /newtests/tool_test_example/B.js: -------------------------------------------------------------------------------- 1 | export default 123; 2 | -------------------------------------------------------------------------------- /newtests/tool_test_example/C.js: -------------------------------------------------------------------------------- 1 | export default 123; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-element.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-no-closing.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0003.js: -------------------------------------------------------------------------------- 1 | /*42*/ -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0012.js: -------------------------------------------------------------------------------- 1 | /*a b*/ 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0015.js: -------------------------------------------------------------------------------- 1 | // one\n -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0021.js: -------------------------------------------------------------------------------- 1 | // 2 | 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0024.js: -------------------------------------------------------------------------------- 1 | /**/42 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0025.js: -------------------------------------------------------------------------------- 1 | 42/**/ -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0036.js: -------------------------------------------------------------------------------- 1 | comment -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0039.js: -------------------------------------------------------------------------------- 1 | comment -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/let/migrated_0000.js: -------------------------------------------------------------------------------- 1 | let x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/postfix/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x++ -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/postfix/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x-- -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0000.js: -------------------------------------------------------------------------------- 1 | ++x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0001.js: -------------------------------------------------------------------------------- 1 | --x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0002.js: -------------------------------------------------------------------------------- 1 | ++eval -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0003.js: -------------------------------------------------------------------------------- 1 | --eval -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0006.js: -------------------------------------------------------------------------------- 1 | +x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0007.js: -------------------------------------------------------------------------------- 1 | -x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0008.js: -------------------------------------------------------------------------------- 1 | ~x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0009.js: -------------------------------------------------------------------------------- 1 | !x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0010.js: -------------------------------------------------------------------------------- 1 | void x -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-00.js: -------------------------------------------------------------------------------- 1 | "\x"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-01.js: -------------------------------------------------------------------------------- 1 | "\x0"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-02.js: -------------------------------------------------------------------------------- 1 | "\xx"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-03.js: -------------------------------------------------------------------------------- 1 | "\u"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-04.js: -------------------------------------------------------------------------------- 1 | "\u0"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-05.js: -------------------------------------------------------------------------------- 1 | "\ux"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-08.js: -------------------------------------------------------------------------------- 1 | "\8"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-09.js: -------------------------------------------------------------------------------- 1 | "\9"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 3in [] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0011.js: -------------------------------------------------------------------------------- 1 | 0o1a -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0015.js: -------------------------------------------------------------------------------- 1 | 0o18 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0016.js: -------------------------------------------------------------------------------- 1 | 0O1a -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0018.js: -------------------------------------------------------------------------------- 1 | 0b1a -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0020.js: -------------------------------------------------------------------------------- 1 | 0b18 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0021.js: -------------------------------------------------------------------------------- 1 | 0b12 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0023.js: -------------------------------------------------------------------------------- 1 | 0B1a -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0025.js: -------------------------------------------------------------------------------- 1 | 0B18 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0026.js: -------------------------------------------------------------------------------- 1 | 0B12 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0028.js: -------------------------------------------------------------------------------- 1 | 0O18 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0029.js: -------------------------------------------------------------------------------- 1 | 3in[] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0030.js: -------------------------------------------------------------------------------- 1 | 0x3in[] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0039.js: -------------------------------------------------------------------------------- 1 | /test -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0045.js: -------------------------------------------------------------------------------- 1 | 3 = 4 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0059.js: -------------------------------------------------------------------------------- 1 | 1 + { -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0065.js: -------------------------------------------------------------------------------- 1 | i #= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0067.js: -------------------------------------------------------------------------------- 1 | +i = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0068.js: -------------------------------------------------------------------------------- 1 | 1 + ( -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0084.js: -------------------------------------------------------------------------------- 1 | ({get -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0095.js: -------------------------------------------------------------------------------- 1 | () <= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0096.js: -------------------------------------------------------------------------------- 1 | () ? 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0097.js: -------------------------------------------------------------------------------- 1 | () + 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0112.js: -------------------------------------------------------------------------------- 1 | a b; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0113.js: -------------------------------------------------------------------------------- 1 | if.a; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0114.js: -------------------------------------------------------------------------------- 1 | a if; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0115.js: -------------------------------------------------------------------------------- 1 | a enum; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0117.js: -------------------------------------------------------------------------------- 1 | break 1; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0120.js: -------------------------------------------------------------------------------- 1 | throw -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0121.js: -------------------------------------------------------------------------------- 1 | throw; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0131.js: -------------------------------------------------------------------------------- 1 | for(;;) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0132.js: -------------------------------------------------------------------------------- 1 | with(x) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0133.js: -------------------------------------------------------------------------------- 1 | try { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0140.js: -------------------------------------------------------------------------------- 1 | const x; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0149.js: -------------------------------------------------------------------------------- 1 | /*hello -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0151.js: -------------------------------------------------------------------------------- 1 | 2 | ] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0153.js: -------------------------------------------------------------------------------- 1 | 2 | ] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0154.js: -------------------------------------------------------------------------------- 1 | 2 | ] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0171.js: -------------------------------------------------------------------------------- 1 | return -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0172.js: -------------------------------------------------------------------------------- 1 | break -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0173.js: -------------------------------------------------------------------------------- 1 | continue -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0254.js: -------------------------------------------------------------------------------- 1 | const -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0255.js: -------------------------------------------------------------------------------- 1 | { ; ; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0261.js: -------------------------------------------------------------------------------- 1 | class -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0262.js: -------------------------------------------------------------------------------- 1 | class -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0263.js: -------------------------------------------------------------------------------- 1 | class; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0265.js: -------------------------------------------------------------------------------- 1 | class A -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0267.js: -------------------------------------------------------------------------------- 1 | class A; -------------------------------------------------------------------------------- /src/parser/test/esprima/source-option/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x + y - z -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/block/migrated_0000.js: -------------------------------------------------------------------------------- 1 | { foo } -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/expression/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0000.js: -------------------------------------------------------------------------------- 1 | tokenize(/42/) -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (false) /42/ -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0013.tokens.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0016.js: -------------------------------------------------------------------------------- 1 | this / 100; -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0013.js: -------------------------------------------------------------------------------- 1 | return -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0045.js: -------------------------------------------------------------------------------- 1 | 1 = 2 -------------------------------------------------------------------------------- /tests/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | traces=2 -------------------------------------------------------------------------------- /tests/annot2/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | -------------------------------------------------------------------------------- /tests/check-contents/syntax_error.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | ( 4 | -------------------------------------------------------------------------------- /tests/computed_props/test4.js: -------------------------------------------------------------------------------- 1 | module.exports = 'hello'; 2 | -------------------------------------------------------------------------------- /tests/config_all_false/config_all_false.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/contents/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | all: false 3 | -------------------------------------------------------------------------------- /tests/export_default/P.js: -------------------------------------------------------------------------------- 1 | module.exports = require('M'); 2 | -------------------------------------------------------------------------------- /tests/facebook_fbt_some/flow-typed/fbt.js: -------------------------------------------------------------------------------- 1 | type Fbt = number 2 | -------------------------------------------------------------------------------- /tests/flow_ast.template_strings/foo.js: -------------------------------------------------------------------------------- 1 | a`foo ${bar} baz` 2 | -------------------------------------------------------------------------------- /tests/get-imports-and-importers/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/incremental/a.js: -------------------------------------------------------------------------------- 1 | /* @providesModule IncrModuleA */ 2 | -------------------------------------------------------------------------------- /tests/incremental_duplicate_delete/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh -------------------------------------------------------------------------------- /tests/incremental_mixed_naming_cycle/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh -------------------------------------------------------------------------------- /tests/integration/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | strip_root=true 3 | -------------------------------------------------------------------------------- /tests/integration/foo.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | require('./bar'); 3 | -------------------------------------------------------------------------------- /tests/liberr/.testconfig: -------------------------------------------------------------------------------- 1 | cmd: status --old-output-format 2 | -------------------------------------------------------------------------------- /tests/module_not_found_errors/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/node_haste/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste -------------------------------------------------------------------------------- /tests/node_haste/external/_d3/package.json: -------------------------------------------------------------------------------- 1 | { "name": "d3" } 2 | -------------------------------------------------------------------------------- /tests/node_haste/ws/test/client.js: -------------------------------------------------------------------------------- 1 | var ws = require('../'); 2 | -------------------------------------------------------------------------------- /tests/node_tests/basic_file/bar.js: -------------------------------------------------------------------------------- 1 | module.exports = "bar"; 2 | -------------------------------------------------------------------------------- /tests/node_tests/json_file/json_negative_number.json: -------------------------------------------------------------------------------- 1 | -1 2 | -------------------------------------------------------------------------------- /tests/node_tests/jsx_file/bar.jsx: -------------------------------------------------------------------------------- 1 | module.exports = "bar"; 2 | -------------------------------------------------------------------------------- /tests/objects/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | -------------------------------------------------------------------------------- /tests/parse/fail-flow-2.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @flow */ 3 | 4 | . 5 | -------------------------------------------------------------------------------- /tests/static_overload/static_overload.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/type-at-pos/templates.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | `foo bar`; 3 | -------------------------------------------------------------------------------- /tests/x/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /newtests/autocomplete/num.js: -------------------------------------------------------------------------------- 1 | // 2 | 3 | var num = 123; 4 | num. 5 | -------------------------------------------------------------------------------- /newtests/shadow/proto.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export default {} 4 | -------------------------------------------------------------------------------- /src/dts/tests/numbered_keys/.flowconfig: -------------------------------------------------------------------------------- 1 | [libs] 2 | declarations 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_assign.js: -------------------------------------------------------------------------------- 1 | x **= y; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_bitnot.js: -------------------------------------------------------------------------------- 1 | x ** ~y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_minus.js: -------------------------------------------------------------------------------- 1 | x ** -y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_operator.js: -------------------------------------------------------------------------------- 1 | x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_plusplus.js: -------------------------------------------------------------------------------- 1 | x ** ++y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_void.js: -------------------------------------------------------------------------------- 1 | x ** void y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/identifier/gujarati_zha.js: -------------------------------------------------------------------------------- 1 | ૹ 2 | 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0011.js: -------------------------------------------------------------------------------- 1 | (a) => 00 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0015.js: -------------------------------------------------------------------------------- 1 | (x => x) -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0004.js: -------------------------------------------------------------------------------- 1 | class A {a(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/invalid_id_smp.js: -------------------------------------------------------------------------------- 1 | var 🀒 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/math_dal_part.js: -------------------------------------------------------------------------------- 1 | var _𞸃 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/math_kaf_lam.js: -------------------------------------------------------------------------------- 1 | var 𞸊𞸋 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/weierstrass.js: -------------------------------------------------------------------------------- 1 | var ℘; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/octal-integer-literal/migrated_0000.js: -------------------------------------------------------------------------------- 1 | 00 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/template-literals/octal-literal.js: -------------------------------------------------------------------------------- 1 | `\00`; -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-empty-selfclosing.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-start-member.js: -------------------------------------------------------------------------------- 1 | <.abc /> 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-start-namespace.js: -------------------------------------------------------------------------------- 1 | <:path /> 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-member.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-pair.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-selfclosing.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0017.js: -------------------------------------------------------------------------------- 1 | 42 // line comment -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0037.js: -------------------------------------------------------------------------------- 1 | var x = 10) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/let/migrated_0001.js: -------------------------------------------------------------------------------- 1 | { let x } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/additive/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x + y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/additive/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x - y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x + y + z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x - y + z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x + y - z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x - y - z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x + y * z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x + y / z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x - y % z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0007.js: -------------------------------------------------------------------------------- 1 | x * y * z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0008.js: -------------------------------------------------------------------------------- 1 | x * y / z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0009.js: -------------------------------------------------------------------------------- 1 | x * y % z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0010.js: -------------------------------------------------------------------------------- 1 | x % y * z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x | y | z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0013.js: -------------------------------------------------------------------------------- 1 | x & y & z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0014.js: -------------------------------------------------------------------------------- 1 | x ^ y ^ z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0015.js: -------------------------------------------------------------------------------- 1 | x & y | z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0016.js: -------------------------------------------------------------------------------- 1 | x | y ^ z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0017.js: -------------------------------------------------------------------------------- 1 | x | y & z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/equality/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x == y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/equality/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x != y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/equality/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x === y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/equality/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x !== y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/postfix/migrated_0002.js: -------------------------------------------------------------------------------- 1 | eval++ -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/postfix/migrated_0003.js: -------------------------------------------------------------------------------- 1 | eval-- -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x < y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x > y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x <= y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x >= y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x in y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0004.js: -------------------------------------------------------------------------------- 1 | ++arguments -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0005.js: -------------------------------------------------------------------------------- 1 | --arguments -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0011.js: -------------------------------------------------------------------------------- 1 | delete x -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/unary/migrated_0012.js: -------------------------------------------------------------------------------- 1 | typeof x -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-06.js: -------------------------------------------------------------------------------- 1 | "\u00"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/GH-1106-07.js: -------------------------------------------------------------------------------- 1 | "\u000"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0035.js: -------------------------------------------------------------------------------- 1 | var x = /(s/g -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0040.js: -------------------------------------------------------------------------------- 1 | /test 2 | / -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0046.js: -------------------------------------------------------------------------------- 1 | func() = 4 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0047.js: -------------------------------------------------------------------------------- 1 | (1 + 1) = 10 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0060.js: -------------------------------------------------------------------------------- 1 | 1 + { t:t -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0061.js: -------------------------------------------------------------------------------- 1 | 1 + { t:t, -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0064.js: -------------------------------------------------------------------------------- 1 | var if = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0066.js: -------------------------------------------------------------------------------- 1 | i + 2 = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0071.js: -------------------------------------------------------------------------------- 1 | { set 1 } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0072.js: -------------------------------------------------------------------------------- 1 | { get 2 } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0080.js: -------------------------------------------------------------------------------- 1 | ({[a,b]:0}) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0082.js: -------------------------------------------------------------------------------- 1 | ({(a):0}) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0083.js: -------------------------------------------------------------------------------- 1 | ({get{a}:0}) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0085.js: -------------------------------------------------------------------------------- 1 | ((a)) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0092.js: -------------------------------------------------------------------------------- 1 | (a, a) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0098.js: -------------------------------------------------------------------------------- 1 | (10) => 00 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0102.js: -------------------------------------------------------------------------------- 1 | p = { q/ } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0103.js: -------------------------------------------------------------------------------- 1 | p = { "q"/ } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0116.js: -------------------------------------------------------------------------------- 1 | break 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0118.js: -------------------------------------------------------------------------------- 1 | continue 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0119.js: -------------------------------------------------------------------------------- 1 | continue 2; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0122.js: -------------------------------------------------------------------------------- 1 | throw 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0127.js: -------------------------------------------------------------------------------- 1 | if(false) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0130.js: -------------------------------------------------------------------------------- 1 | while(false) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0144.js: -------------------------------------------------------------------------------- 1 | new X()."s" -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0148.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | * -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0150.js: -------------------------------------------------------------------------------- 1 | /*hello * -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0155.js: -------------------------------------------------------------------------------- 1 | // 2 | ] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0156.js: -------------------------------------------------------------------------------- 1 | // 2 | ] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0157.js: -------------------------------------------------------------------------------- 1 | /a\ 2 | / -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0158.js: -------------------------------------------------------------------------------- 1 | // 2 | ] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0159.js: -------------------------------------------------------------------------------- 1 | /* 2 | */] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0160.js: -------------------------------------------------------------------------------- 1 | /* 2 | */] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0161.js: -------------------------------------------------------------------------------- 1 | /* 2 | */] -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0175.js: -------------------------------------------------------------------------------- 1 | do { x } * -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0266.js: -------------------------------------------------------------------------------- 1 | class A { -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0268.js: -------------------------------------------------------------------------------- 1 | class A {a:0} -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/debugger/migrated_0000.js: -------------------------------------------------------------------------------- 1 | debugger; -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/expression/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x, y -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/iteration/migrated_0008.js: -------------------------------------------------------------------------------- 1 | for(;;); -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/throw/migrated_0000.js: -------------------------------------------------------------------------------- 1 | throw x; -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/throw/migrated_0001.js: -------------------------------------------------------------------------------- 1 | throw x * y -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/variable/migrated_0000.js: -------------------------------------------------------------------------------- 1 | var x -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/variable/migrated_0001.js: -------------------------------------------------------------------------------- 1 | var x, y; -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/variable/var_let.js: -------------------------------------------------------------------------------- 1 | var let; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/line_terminators.tokens.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0001.js: -------------------------------------------------------------------------------- 1 | if (false) { /42/ } -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0002.js: -------------------------------------------------------------------------------- 1 | with (false) /42/ -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0004.js: -------------------------------------------------------------------------------- 1 | function f(){} /42/ -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0005.js: -------------------------------------------------------------------------------- 1 | function(){} /42 -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0007.js: -------------------------------------------------------------------------------- 1 | [function(){} /42] -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0005.js: -------------------------------------------------------------------------------- 1 | f(a b c); -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0007.js: -------------------------------------------------------------------------------- 1 | f({} b c); -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x = { y: z; } -------------------------------------------------------------------------------- /tests/annot/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/annot/other.js: -------------------------------------------------------------------------------- 1 | class C { } 2 | module.exports = (C: any); 3 | -------------------------------------------------------------------------------- /tests/arith/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/arrays/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/arrows/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/async/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/autocomplete/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | all: false 3 | -------------------------------------------------------------------------------- /tests/autocomplete/if.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | const x = ''; 3 | if (x.) 4 | -------------------------------------------------------------------------------- /tests/break/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/check-contents/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | all: false 3 | -------------------------------------------------------------------------------- /tests/classes/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/classes/D.js: -------------------------------------------------------------------------------- 1 | class D { } 2 | class E { } 3 | new E().x 4 | -------------------------------------------------------------------------------- /tests/closure/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/conditional/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | -------------------------------------------------------------------------------- /tests/cycle/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/date/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/declaration_files_haste/md5.js: -------------------------------------------------------------------------------- 1 | /* @providesModule md5 */ 2 | -------------------------------------------------------------------------------- /tests/demo/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/demo/1/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/demo/2/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/deps/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/disjoint-union-perf/disjoint-union-perf.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/duplicate_methods/duplicate_methods.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/encaps/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/equals/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/fetch/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/for/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/funrec/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/get-def/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/get-def2/types.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export type Foo = {}; 4 | -------------------------------------------------------------------------------- /tests/graphql/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/haste_cycle/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | -------------------------------------------------------------------------------- /tests/incremental_json/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | strip_root=true 3 | -------------------------------------------------------------------------------- /tests/indexer/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/init/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/iter/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/lib/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/libconfig/libA.js: -------------------------------------------------------------------------------- 1 | declare function foo(x: number): void; 2 | -------------------------------------------------------------------------------- /tests/libconfig/libB.js: -------------------------------------------------------------------------------- 1 | declare function bar(x: string): void; 2 | -------------------------------------------------------------------------------- /tests/literal/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/locals/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/logical/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/loners/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/misc/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/module_use_strict/test.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | (01: number); 4 | -------------------------------------------------------------------------------- /tests/modules/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/node_tests/package_file/bar_lib/bar.js: -------------------------------------------------------------------------------- 1 | module.exports = 0; 2 | -------------------------------------------------------------------------------- /tests/parse/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/path/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/poly/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/refi/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/regexp/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/replace/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/return/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/seal/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/sealed/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/statics/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/strict/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/strict_requires/A.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | module.exports = 0; 3 | -------------------------------------------------------------------------------- /tests/suggest/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/super/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/switch/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/symbol/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/this/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/tuples/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/type-printer/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | all: false 3 | -------------------------------------------------------------------------------- /tests/type_args_nonstrict/type_args_nonstrict.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/type_param_variance/type_param_variance.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/unicode/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/union-intersection/union-intersection.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/union/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/union_new/lib/test23_lib.js: -------------------------------------------------------------------------------- 1 | declare class SomeLibClass { } 2 | -------------------------------------------------------------------------------- /tests/union_new/lib/test32_lib.js: -------------------------------------------------------------------------------- 1 | type Indirect = Array; 2 | -------------------------------------------------------------------------------- /tests/value/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/window/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/yield/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /newtests/config_all/no_at_flow.js: -------------------------------------------------------------------------------- 1 | var x: number = "not a number"; 2 | -------------------------------------------------------------------------------- /newtests/import_errors/importer.js: -------------------------------------------------------------------------------- 1 | 2 | import {a} from "./exporter"; 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_delete.js: -------------------------------------------------------------------------------- 1 | x ** delete y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_minusminus.js: -------------------------------------------------------------------------------- 1 | x ** --y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_precedence.js: -------------------------------------------------------------------------------- 1 | x * y ** -z 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/exp_typeof.js: -------------------------------------------------------------------------------- 1 | x ** typeof y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_bitnot_exp.js: -------------------------------------------------------------------------------- 1 | ~x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_minus_exp.js: -------------------------------------------------------------------------------- 1 | -x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_not_exp.js: -------------------------------------------------------------------------------- 1 | !x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_plus_exp.js: -------------------------------------------------------------------------------- 1 | +x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0000.js: -------------------------------------------------------------------------------- 1 | () => "test" -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0001.js: -------------------------------------------------------------------------------- 1 | e => "test" -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0002.js: -------------------------------------------------------------------------------- 1 | (e) => "test" -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0004.js: -------------------------------------------------------------------------------- 1 | e => { 42; } -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0008.js: -------------------------------------------------------------------------------- 1 | (x=1) => x * x -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0009.js: -------------------------------------------------------------------------------- 1 | eval => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0016.js: -------------------------------------------------------------------------------- 1 | x => y => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0018.js: -------------------------------------------------------------------------------- 1 | foo(() => {}) -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0020.js: -------------------------------------------------------------------------------- 1 | (sun) => earth -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binary-integer-literal/migrated_0000.js: -------------------------------------------------------------------------------- 1 | 0b0 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binary-integer-literal/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 0b1 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binary-integer-literal/migrated_0002.js: -------------------------------------------------------------------------------- 1 | 0b10 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binary-integer-literal/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 0B0 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binary-integer-literal/migrated_0004.js: -------------------------------------------------------------------------------- 1 | 0B1 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binary-integer-literal/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 0B10 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0001.js: -------------------------------------------------------------------------------- 1 | class A extends 0 {} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0005.js: -------------------------------------------------------------------------------- 1 | class A {a(){}b(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0006.js: -------------------------------------------------------------------------------- 1 | class A {a(){};b(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0007.js: -------------------------------------------------------------------------------- 1 | class A {a(){};b(){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0008.js: -------------------------------------------------------------------------------- 1 | class A {;a(){};b(){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0009.js: -------------------------------------------------------------------------------- 1 | class A {static(){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0012.js: -------------------------------------------------------------------------------- 1 | class A {static a(){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0017.js: -------------------------------------------------------------------------------- 1 | class A {prototype(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0024.js: -------------------------------------------------------------------------------- 1 | (class extends 0{}) -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0025.js: -------------------------------------------------------------------------------- 1 | (class A extends 0{}) -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0026.js: -------------------------------------------------------------------------------- 1 | class A {a(eval){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/for-of-let.js: -------------------------------------------------------------------------------- 1 | for (x of let) {} 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/let-of-of.js: -------------------------------------------------------------------------------- 1 | for (let of of xyz); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/dakuten_handakuten.js: -------------------------------------------------------------------------------- 1 | ゛+ ゜ 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/escaped_part.js: -------------------------------------------------------------------------------- 1 | var A\u{42}C; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/escaped_start.js: -------------------------------------------------------------------------------- 1 | var \u{41}BC; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/math_zain_start.js: -------------------------------------------------------------------------------- 1 | var 𞸆_$ 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/module_await.js: -------------------------------------------------------------------------------- 1 | await = 0; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/module_let.js: -------------------------------------------------------------------------------- 1 | let x 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/octal-integer-literal/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 0o0 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/octal-integer-literal/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 0o2 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/octal-integer-literal/migrated_0004.js: -------------------------------------------------------------------------------- 1 | 0o12 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/octal-integer-literal/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 0O0 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/call-spread.js: -------------------------------------------------------------------------------- 1 | f(...g); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/new-spread.js: -------------------------------------------------------------------------------- 1 | new f(...g); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/template-literals/invalid-escape.js: -------------------------------------------------------------------------------- 1 | `\1`; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-method.js: -------------------------------------------------------------------------------- 1 | ({ yield() {} }) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-primary.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-incomplete-namespace.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-match.js: -------------------------------------------------------------------------------- 1 | node = 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-member-incomplete.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/nested-elements.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-selfclosing-linefeed.js: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0000.js: -------------------------------------------------------------------------------- 1 | /* block comment */ 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0006.js: -------------------------------------------------------------------------------- 1 | 42 /*The*/ /*Answer*/ -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0007.js: -------------------------------------------------------------------------------- 1 | 42 /*the*/ /*answer*/ -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0008.js: -------------------------------------------------------------------------------- 1 | 42 /* the * answer */ -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0009.js: -------------------------------------------------------------------------------- 1 | 42 /* The * answer */ -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0016.js: -------------------------------------------------------------------------------- 1 | // line comment 2 | 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0018.js: -------------------------------------------------------------------------------- 1 | // Hello, world! 2 | 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0019.js: -------------------------------------------------------------------------------- 1 | // Hello, world! 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0020.js: -------------------------------------------------------------------------------- 1 | // Hallo, world! 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0043.js: -------------------------------------------------------------------------------- 1 | /* not comment*/; i-->0 -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0052.js: -------------------------------------------------------------------------------- 1 | /**/ function a() {} 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/const/migrated_0000.js: -------------------------------------------------------------------------------- 1 | const x = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/let/migrated_0002.js: -------------------------------------------------------------------------------- 1 | { let x = 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0001.js: -------------------------------------------------------------------------------- 1 | eval = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x *= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x /= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x %= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x += 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0007.js: -------------------------------------------------------------------------------- 1 | x -= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0008.js: -------------------------------------------------------------------------------- 1 | x <<= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0009.js: -------------------------------------------------------------------------------- 1 | x >>= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0010.js: -------------------------------------------------------------------------------- 1 | x >>>= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0011.js: -------------------------------------------------------------------------------- 1 | x &= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x ^= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0013.js: -------------------------------------------------------------------------------- 1 | x |= 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-bitwise/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x & y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-bitwise/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x ^ y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-bitwise/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x | y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-logical/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x || y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-logical/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x && y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary/migrated_0011.js: -------------------------------------------------------------------------------- 1 | x << y << z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/bitwise-shift/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x << y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/bitwise-shift/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x >> y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/bitwise-shift/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x >>> y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/conditional/migrated_0000.js: -------------------------------------------------------------------------------- 1 | y ? 1 : 2 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/grouping/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 4 + 5 << (6) -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/multiplicative/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x * y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/multiplicative/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x / y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/multiplicative/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x % y -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/postfix/migrated_0004.js: -------------------------------------------------------------------------------- 1 | arguments++ -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/postfix/migrated_0005.js: -------------------------------------------------------------------------------- 1 | arguments-- -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = [] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x = [ ] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0007.js: -------------------------------------------------------------------------------- 1 | 日本語 = [] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = {} -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x = { } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x < y < z -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0031.js: -------------------------------------------------------------------------------- 1 | "Hello 2 | World" -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0062.js: -------------------------------------------------------------------------------- 1 | var x = / 2 | / -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0063.js: -------------------------------------------------------------------------------- 1 | var x = " 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0069.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | { -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0074.js: -------------------------------------------------------------------------------- 1 | ({ set s(.) { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0075.js: -------------------------------------------------------------------------------- 1 | ({ set s() { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0076.js: -------------------------------------------------------------------------------- 1 | ({ set: s() { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0081.js: -------------------------------------------------------------------------------- 1 | ({get[a,b]:0}) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0086.js: -------------------------------------------------------------------------------- 1 | (a, (b)) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0099.js: -------------------------------------------------------------------------------- 1 | (10, 20) => 00 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0104.js: -------------------------------------------------------------------------------- 1 | function t(if) { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0111.js: -------------------------------------------------------------------------------- 1 | function if() { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0124.js: -------------------------------------------------------------------------------- 1 | for ((i in {})); -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0125.js: -------------------------------------------------------------------------------- 1 | for (i + 1 in {}); -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0126.js: -------------------------------------------------------------------------------- 1 | for (+i in {}); -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0138.js: -------------------------------------------------------------------------------- 1 | const x = 12, y; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0139.js: -------------------------------------------------------------------------------- 1 | const x, y = 12; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0146.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0170.js: -------------------------------------------------------------------------------- 1 | try { } catch() {} -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/iteration/migrated_0009.js: -------------------------------------------------------------------------------- 1 | for(;;){} -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/iteration/migrated_0010.js: -------------------------------------------------------------------------------- 1 | for(x = 0;;); -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/switch/migrated_0000.js: -------------------------------------------------------------------------------- 1 | switch (x) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/variable/migrated_0002.js: -------------------------------------------------------------------------------- 1 | var x = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/with/migrated_0000.js: -------------------------------------------------------------------------------- 1 | with (x) foo = bar -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/line_terminators.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/migrated_0008.js: -------------------------------------------------------------------------------- 1 | ;function f(){} /42/ -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0001.js: -------------------------------------------------------------------------------- 1 | var foo = 1; /* -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0002.js: -------------------------------------------------------------------------------- 1 | /* var fo0 = 1; -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0003.js: -------------------------------------------------------------------------------- 1 | /* /* if(foo) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0004.js: -------------------------------------------------------------------------------- 1 | /* foo 2 | 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0043.js: -------------------------------------------------------------------------------- 1 | ({ set s() { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0044.js: -------------------------------------------------------------------------------- 1 | foo("bar") = baz -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0048.js: -------------------------------------------------------------------------------- 1 | for (5 in []) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0049.js: -------------------------------------------------------------------------------- 1 | var x = /[P QR]/\g -------------------------------------------------------------------------------- /src/third-party/lz4/VERSION: -------------------------------------------------------------------------------- 1 | https://github.com/Cyan4973/lz4 @ r131 2 | -------------------------------------------------------------------------------- /tests/abnormal/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/annot/test.js: -------------------------------------------------------------------------------- 1 | var C = require('./other'); 2 | ((0: C): string); 3 | -------------------------------------------------------------------------------- /tests/arraylib/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/autocomplete/num.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | var num = 123; 4 | num. 5 | -------------------------------------------------------------------------------- /tests/builtins/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/callable/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/class_munging/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | munge_underscores=true 3 | -------------------------------------------------------------------------------- /tests/commonjs/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/commonjs/Rel.js: -------------------------------------------------------------------------------- 1 | 2 | var f = require('./Abs'); 3 | 4 | f(0); 5 | -------------------------------------------------------------------------------- /tests/constructor/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/declaration_files_incremental_haste/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/declaration_files_incremental_node/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | -------------------------------------------------------------------------------- /tests/declaration_files_node/CJS.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | module.exports = 42; 3 | -------------------------------------------------------------------------------- /tests/destructuring/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | -------------------------------------------------------------------------------- /tests/docblock/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/docblock_flow/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | max_header_tokens=3 3 | -------------------------------------------------------------------------------- /tests/docblock_flow/multiple_flows_1.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | /* @flow */ 3 | -------------------------------------------------------------------------------- /tests/enumerror/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/es6modules/B.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | exports.numberValue = 42; 4 | -------------------------------------------------------------------------------- /tests/extensions/bar.jsx: -------------------------------------------------------------------------------- 1 | module.exports = function (p: string) {} 2 | -------------------------------------------------------------------------------- /tests/extensions/foo.js: -------------------------------------------------------------------------------- 1 | var imp = require('./bar'); 2 | imp(1337); 3 | -------------------------------------------------------------------------------- /tests/facebook_fbt_some/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | facebook.fbt=Fbt 3 | -------------------------------------------------------------------------------- /tests/fixpoint/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/generics/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/incremental_json/data.json1: -------------------------------------------------------------------------------- 1 | { 2 | x: 0, 3 | y: "", 4 | } 5 | -------------------------------------------------------------------------------- /tests/incremental_json/data.json2: -------------------------------------------------------------------------------- 1 | { 2 | x: "", 3 | y: "", 4 | } 5 | -------------------------------------------------------------------------------- /tests/incremental_non_flow_move/.testconfig: -------------------------------------------------------------------------------- 1 | shell: test.sh 2 | all: false -------------------------------------------------------------------------------- /tests/incremental_path/dir/a.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | (require('b'): boolean); 3 | -------------------------------------------------------------------------------- /tests/instanceof/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/interface/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/keyvalue/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/librec/lib/A/libA.js: -------------------------------------------------------------------------------- 1 | declare function foo(x: number): void; 2 | -------------------------------------------------------------------------------- /tests/librec/lib/B/libB.js: -------------------------------------------------------------------------------- 1 | declare function bar(x: string): void; 2 | -------------------------------------------------------------------------------- /tests/more_annot/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/more_classes/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/more_path/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/more_react/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/more_statics/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/namespace/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/node_tests/basic_package/bar_lib/bar.js: -------------------------------------------------------------------------------- 1 | module.exports = "bar"; 2 | -------------------------------------------------------------------------------- /tests/node_tests/package_file/bar_lib.js: -------------------------------------------------------------------------------- 1 | module.exports = "bar_lib"; 2 | -------------------------------------------------------------------------------- /tests/nullable/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/object_api/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/object_api/a.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | module.exports = { a() {} }; -------------------------------------------------------------------------------- /tests/optional/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/plsummit/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/promises/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/qualified/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/reflection/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/require/B.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | exports.numberValue = 42; 4 | -------------------------------------------------------------------------------- /tests/static_overload/test.js: -------------------------------------------------------------------------------- 1 | var x: number = StaticOverload.foo(0); 2 | -------------------------------------------------------------------------------- /tests/type_param_variance2/type_param_variance2.exp: -------------------------------------------------------------------------------- 1 | Found 0 errors 2 | -------------------------------------------------------------------------------- /tests/typecast/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/undefined/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/weakmode/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /newtests/import_errors/exporter.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default 42; 4 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_void_exp.js: -------------------------------------------------------------------------------- 1 | void x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (a, b) => "test" -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0006.js: -------------------------------------------------------------------------------- 1 | e => { label: 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0007.js: -------------------------------------------------------------------------------- 1 | (a, b) => { 42; } -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0010.js: -------------------------------------------------------------------------------- 1 | arguments => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0012.js: -------------------------------------------------------------------------------- 1 | (eval, a) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0013.js: -------------------------------------------------------------------------------- 1 | (eval = 10) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0019.js: -------------------------------------------------------------------------------- 1 | foo((x, y) => {}) -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0013.js: -------------------------------------------------------------------------------- 1 | class A {static [a](){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0015.js: -------------------------------------------------------------------------------- 1 | class A {static static(){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0016.js: -------------------------------------------------------------------------------- 1 | var x = class A extends 0{} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0018.js: -------------------------------------------------------------------------------- 1 | class A {constructor(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/for-of-with-let.js: -------------------------------------------------------------------------------- 1 | for (let z of list); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/for-of-with-var.js: -------------------------------------------------------------------------------- 1 | for (var x of list); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/invalid-lhs-init.js: -------------------------------------------------------------------------------- 1 | for (this of that); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/invalid_let_let.js: -------------------------------------------------------------------------------- 1 | for (let let of x); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/unexpected-number.js: -------------------------------------------------------------------------------- 1 | for (const of 42); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/generator/generator-method.js: -------------------------------------------------------------------------------- 1 | ({ *foo() {} }) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/ethiopic_digits.js: -------------------------------------------------------------------------------- 1 | var _፩፪፫፬፭፮፯፰፱ 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/valid_await.js: -------------------------------------------------------------------------------- 1 | var await; (await); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/let_assign.js: -------------------------------------------------------------------------------- 1 | let = 42; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/let_identifier.js: -------------------------------------------------------------------------------- 1 | let; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/call-spread-number.js: -------------------------------------------------------------------------------- 1 | f(....5); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/invalid-call-dot-dot.js: -------------------------------------------------------------------------------- 1 | f(..g); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/invalid-call-dots.js: -------------------------------------------------------------------------------- 1 | f(....g); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/template-literals/after-switch.js: -------------------------------------------------------------------------------- 1 | switch `test` -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/template-literals/new-expression.js: -------------------------------------------------------------------------------- 1 | new raw`42` -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-array-pattern.js: -------------------------------------------------------------------------------- 1 | ([yield] = x) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-variable-declaration.js: -------------------------------------------------------------------------------- 1 | var yield; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-expression.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-null-value.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-spread.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/container-series.js: -------------------------------------------------------------------------------- 1 | {x}{y}{z} 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/empty-expression-container.js: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-attribute-value-trail.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-match-member.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/null-attribute-value.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-namespace-pair.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-selfclosing-whitespace.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0004.js: -------------------------------------------------------------------------------- 1 | (a + /* assignmenr */b ) * c -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0005.js: -------------------------------------------------------------------------------- 1 | /* assignmenr */ 2 | a = b -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0042.js: -------------------------------------------------------------------------------- 1 | /* block comment */--> comment -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0045.js: -------------------------------------------------------------------------------- 1 | /*Venus*/ debugger; // Mars -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/const/migrated_0001.js: -------------------------------------------------------------------------------- 1 | { const x = 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/function/migrated_0012.js: -------------------------------------------------------------------------------- 1 | (function(){}) -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/additive/migrated_0002.js: -------------------------------------------------------------------------------- 1 | "use strict" + 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/assignment/migrated_0002.js: -------------------------------------------------------------------------------- 1 | arguments = 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-logical/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x || y || z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-logical/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x && y && z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-logical/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x || y && z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/binary-logical/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x || y ^ z -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/conditional/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x && y ? 1 : 2 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/conditional/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = (0) ? 1 : 2 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/grouping/migrated_0000.js: -------------------------------------------------------------------------------- 1 | (1) + (2 ) + 3 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0000.js: -------------------------------------------------------------------------------- 1 | new Button -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0001.js: -------------------------------------------------------------------------------- 1 | new Button() -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0002.js: -------------------------------------------------------------------------------- 1 | new new foo -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0005.js: -------------------------------------------------------------------------------- 1 | new foo[bar] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0019.js: -------------------------------------------------------------------------------- 1 | universe.if -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = [ 42 ] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x = [ 42, ] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x = [ ,, 42 ] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0000.js: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0002.js: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0004.js: -------------------------------------------------------------------------------- 1 | .14 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0008.js: -------------------------------------------------------------------------------- 1 | 0x0 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0018.js: -------------------------------------------------------------------------------- 1 | 02 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0019.js: -------------------------------------------------------------------------------- 1 | 012 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0021.js: -------------------------------------------------------------------------------- 1 | 08 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0023.js: -------------------------------------------------------------------------------- 1 | 09 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0034.js: -------------------------------------------------------------------------------- 1 | ({[a](){}}) -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0037.js: -------------------------------------------------------------------------------- 1 | ({"[": 42}) -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/other/migrated_0000.js: -------------------------------------------------------------------------------- 1 | this 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/other/migrated_0001.js: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/other/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (1 + 2 ) * 3 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/relational/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x instanceof y -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0073.js: -------------------------------------------------------------------------------- 1 | ({ set: s(if) { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0077.js: -------------------------------------------------------------------------------- 1 | ({ set: s(a, b) { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0078.js: -------------------------------------------------------------------------------- 1 | ({ get: g(d) { } }) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0094.js: -------------------------------------------------------------------------------- 1 | "use strict"; (a) => 00 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0105.js: -------------------------------------------------------------------------------- 1 | function t(true) { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0106.js: -------------------------------------------------------------------------------- 1 | function t(false) { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0107.js: -------------------------------------------------------------------------------- 1 | function t(null) { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0108.js: -------------------------------------------------------------------------------- 1 | function null() { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0109.js: -------------------------------------------------------------------------------- 1 | function true() { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0110.js: -------------------------------------------------------------------------------- 1 | function false() { } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0123.js: -------------------------------------------------------------------------------- 1 | for (var i, i2 in {}); -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0134.js: -------------------------------------------------------------------------------- 1 | try {} catch (42) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0136.js: -------------------------------------------------------------------------------- 1 | try {} catch (-x) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0141.js: -------------------------------------------------------------------------------- 1 | if(true) let a = 1; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0142.js: -------------------------------------------------------------------------------- 1 | if(true) const a = 1; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0216.js: -------------------------------------------------------------------------------- 1 | "\1"; 'use strict'; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0256.js: -------------------------------------------------------------------------------- 1 | function t() { ; ; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0257.js: -------------------------------------------------------------------------------- 1 | 'use strict'; a package -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0259.js: -------------------------------------------------------------------------------- 1 | function x(...{ a }){} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0260.js: -------------------------------------------------------------------------------- 1 | function x(...a = 1){} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0269.js: -------------------------------------------------------------------------------- 1 | class A {a(){},b(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0275.js: -------------------------------------------------------------------------------- 1 | class A {a static(){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0277.js: -------------------------------------------------------------------------------- 1 | class A {a(enum){}} -------------------------------------------------------------------------------- /src/parser/test/esprima/source-option/migrated_0001.js: -------------------------------------------------------------------------------- 1 | a + (b < (c * d)) + e -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/break/migrated_0000.js: -------------------------------------------------------------------------------- 1 | while (true) { break } -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/if/migrated_0002.js: -------------------------------------------------------------------------------- 1 | if (morning) var x = 0; -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/if/migrated_0006.js: -------------------------------------------------------------------------------- 1 | if (true) that(); else; -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/iteration/migrated_0011.js: -------------------------------------------------------------------------------- 1 | for(var x = 0;;); -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/iteration/migrated_0012.js: -------------------------------------------------------------------------------- 1 | for(let x = 0;;); -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/iteration/migrated_0026.js: -------------------------------------------------------------------------------- 1 | for (a.in in a); -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/labelled/migrated_0002.js: -------------------------------------------------------------------------------- 1 | __proto__: test -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/try/migrated_0000.js: -------------------------------------------------------------------------------- 1 | try { } catch (e) { } -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/try/migrated_0001.js: -------------------------------------------------------------------------------- 1 | try { } catch (eval) { } -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/with/migrated_0001.js: -------------------------------------------------------------------------------- 1 | with (x) foo = bar; -------------------------------------------------------------------------------- /src/parser/test/esprima/statement/with/migrated_0002.js: -------------------------------------------------------------------------------- 1 | with (x) { foo = bar } -------------------------------------------------------------------------------- /src/parser/test/esprima/tokenize/trailing_comment.js: -------------------------------------------------------------------------------- 1 | /42/ /* answer */ 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/let_eval.js: -------------------------------------------------------------------------------- 1 | "use strict"; let eval; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0006.js: -------------------------------------------------------------------------------- 1 | f(a function(){} c); -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0016.js: -------------------------------------------------------------------------------- 1 | "use strict"; delete x -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0019.js: -------------------------------------------------------------------------------- 1 | "use strict"; var eval; -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0021.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval = 0; -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0022.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval++; -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0023.js: -------------------------------------------------------------------------------- 1 | "use strict"; --eval; -------------------------------------------------------------------------------- /src/parser/test/esprima/tolerant-parse/migrated_0041.js: -------------------------------------------------------------------------------- 1 | "\1"; 'use strict'; -------------------------------------------------------------------------------- /tests/any/nonflowfile.js: -------------------------------------------------------------------------------- 1 | // @noflow 2 | 3 | module.exports = (x) => x; 4 | -------------------------------------------------------------------------------- /tests/ast_tokens/.testconfig: -------------------------------------------------------------------------------- 1 | cmd: ast --tokens --pretty 2 | stdin: foo.js 3 | -------------------------------------------------------------------------------- /tests/contents/ignore/test.js: -------------------------------------------------------------------------------- 1 | require('./dummy'); 2 | var xxx = 0; 3 | xxx 4 | -------------------------------------------------------------------------------- /tests/declaration_files_haste/external/_d3/package.json: -------------------------------------------------------------------------------- 1 | { "name": "d3" } 2 | -------------------------------------------------------------------------------- /tests/declaration_files_haste/ws/test/client.js: -------------------------------------------------------------------------------- 1 | var ws = require('../'); 2 | -------------------------------------------------------------------------------- /tests/declaration_files_incremental_haste/md5.js: -------------------------------------------------------------------------------- 1 | /* @providesModule md5 */ 2 | -------------------------------------------------------------------------------- /tests/declaration_files_node/CJS.js.flow: -------------------------------------------------------------------------------- 1 | declare module.exports: string; 2 | -------------------------------------------------------------------------------- /tests/declare_export/B.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | exports.numberValue = 42; 4 | -------------------------------------------------------------------------------- /tests/docblock_flow/with_flow.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | ("": void); // error 4 | -------------------------------------------------------------------------------- /tests/error_messages/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/facebookisms/Bar.js: -------------------------------------------------------------------------------- 1 | var Bar = { x: 0 }; 2 | module.exports = Bar; 3 | -------------------------------------------------------------------------------- /tests/incremental_path/node_modules/b.js: -------------------------------------------------------------------------------- 1 | // @flow 2 | module.exports = ""; 3 | -------------------------------------------------------------------------------- /tests/module_use_strict/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.use_strict=true 3 | -------------------------------------------------------------------------------- /tests/more_generics/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/node_haste/node_modules/qux/corge/package.json: -------------------------------------------------------------------------------- 1 | { "main": "lib" } 2 | -------------------------------------------------------------------------------- /tests/node_modules_with_symlinks/root/node_modules/symlink_lib: -------------------------------------------------------------------------------- 1 | ../symlink_lib -------------------------------------------------------------------------------- /tests/node_tests/json_file/package2/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } 4 | -------------------------------------------------------------------------------- /tests/number_constants/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/object_freeze/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/parse_error_haste/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/simple_arrays/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | 4 | -------------------------------------------------------------------------------- /tests/strict_requires/B.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | module.exports = { foo: "" } 3 | -------------------------------------------------------------------------------- /tests/suppress/B.js: -------------------------------------------------------------------------------- 1 | // $FlowFixMe 2 | var test1: string = library_num; 3 | -------------------------------------------------------------------------------- /tests/type_param_variance/.flowconfig: -------------------------------------------------------------------------------- 1 | [options] 2 | module.system=haste 3 | -------------------------------------------------------------------------------- /website/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "_assets/third-party-bower" 3 | } 4 | -------------------------------------------------------------------------------- /newtests/autocomplete/bar.js: -------------------------------------------------------------------------------- 1 | // 2 | 3 | var o = require('./unknown'); 4 | o.x. 5 | -------------------------------------------------------------------------------- /newtests/contents/ignore/foo.js: -------------------------------------------------------------------------------- 1 | require('./dummy'); 2 | var xxx = 0; 3 | xxx 4 | -------------------------------------------------------------------------------- /newtests/contents/no_flow/foo.js: -------------------------------------------------------------------------------- 1 | require('./dummy'); 2 | var xxx = 0; 3 | xxx 4 | -------------------------------------------------------------------------------- /src/common/verbose.ml: -------------------------------------------------------------------------------- 1 | type t = { 2 | indent: int; 3 | depth: int; 4 | } 5 | -------------------------------------------------------------------------------- /src/dts/tests/union/declarations/union.d.ts: -------------------------------------------------------------------------------- 1 | declare var x : number | string; 2 | -------------------------------------------------------------------------------- /src/dts/tests/union/declarations/union.js.exp: -------------------------------------------------------------------------------- 1 | declare var x: number | string; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_delete_exp.js: -------------------------------------------------------------------------------- 1 | delete x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/invalid_typeof_exp.js: -------------------------------------------------------------------------------- 1 | typeof x ** y 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES2016/exponent/update_exp.js: -------------------------------------------------------------------------------- 1 | (++x ** y) - (--p ** q) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/arrow-with-only-rest.js: -------------------------------------------------------------------------------- 1 | (...a) => 0 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0005.js: -------------------------------------------------------------------------------- 1 | e => ({ property: 42 }) -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/migrated_0014.js: -------------------------------------------------------------------------------- 1 | (eval, a = 10) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/arrow-function/rest-without-arrow.js: -------------------------------------------------------------------------------- 1 | (...a) + 1 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/binding-pattern/array-pattern/hole.js: -------------------------------------------------------------------------------- 1 | let [a,,b]=0 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/class/migrated_0010.js: -------------------------------------------------------------------------------- 1 | class A {get a(){} set b(c){};} -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/export-declaration/export-named-empty.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/export-declaration/export-var.js: -------------------------------------------------------------------------------- 1 | export var bar; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/for-of-array-pattern.js: -------------------------------------------------------------------------------- 1 | for ([p, q] of r); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/for-of-object-pattern.js: -------------------------------------------------------------------------------- 1 | for ({x, y} of z); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/for-of-with-const.js: -------------------------------------------------------------------------------- 1 | for (const y of list); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/invalid-let-init.js: -------------------------------------------------------------------------------- 1 | for (let x = 1 of y); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/invalid-var-init.js: -------------------------------------------------------------------------------- 1 | for (var x = 1 of y); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/for-of/invalid_const_let.js: -------------------------------------------------------------------------------- 1 | for (const let of y); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/generator/generator-expression.js: -------------------------------------------------------------------------------- 1 | (function*() {}) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/generator/malformed-generator-method.js: -------------------------------------------------------------------------------- 1 | ({ * }) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/escaped_all.js: -------------------------------------------------------------------------------- 1 | var \u{41}\u{42}\u{43}; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/escaped_math_alef.js: -------------------------------------------------------------------------------- 1 | var \u{1EE00} 2 | 3 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/escaped_math_dal_part.js: -------------------------------------------------------------------------------- 1 | var _\u{1EE03} 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/invalid_var_await.js: -------------------------------------------------------------------------------- 1 | export var await; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/identifier/weierstrass_weierstrass.js: -------------------------------------------------------------------------------- 1 | var ℘\u2118 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/import-declaration/import-module.js: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/for_let_in.js: -------------------------------------------------------------------------------- 1 | for (let in x) {} 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/invalid_const_let.js: -------------------------------------------------------------------------------- 1 | const let 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/invalid_let_let.js: -------------------------------------------------------------------------------- 1 | let let; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/lexical-declaration/let_member.js: -------------------------------------------------------------------------------- 1 | let.let = foo 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/method-definition/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = { method() { } } -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/method-definition/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x = { get() { } } -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/method-definition/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x = { set() { } } -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/call-spread-first.js: -------------------------------------------------------------------------------- 1 | f(...x, y, z); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/invalid-new-dot-dot.js: -------------------------------------------------------------------------------- 1 | new f(..g); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/invalid-new-dots.js: -------------------------------------------------------------------------------- 1 | new f(....g); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/spread-element/new-spread-number.js: -------------------------------------------------------------------------------- 1 | new f(....5); 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/template-literals/unclosed-nested.js: -------------------------------------------------------------------------------- 1 | `hello ${10 `test` -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-arrow-concise-body.js: -------------------------------------------------------------------------------- 1 | (x) => x * yield; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-arrow-parameter-name.js: -------------------------------------------------------------------------------- 1 | (yield) => 42; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-generator-method.js: -------------------------------------------------------------------------------- 1 | ({ *yield() {} }) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/ES6/yield/yield-lexical-declaration.js: -------------------------------------------------------------------------------- 1 | let yield = 42; 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-double-quoted-string.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-entity-hex.js: -------------------------------------------------------------------------------- 1 |

2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/attribute-entity.js: -------------------------------------------------------------------------------- 1 | Tom & Jerry 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/inside-group-expression.js: -------------------------------------------------------------------------------- 1 | var el = ( ) 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-empty-attribute-expression.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-match-name-namespace.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-match-namespace-name.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/invalid-match-namespace.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/JSX/simple-nested-pair.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/parser/test/esprima/automatic-semicolon-insertion/migrated_0000.js: -------------------------------------------------------------------------------- 1 | { x 2 | ++y } -------------------------------------------------------------------------------- /src/parser/test/esprima/automatic-semicolon-insertion/migrated_0001.js: -------------------------------------------------------------------------------- 1 | { x 2 | --y } -------------------------------------------------------------------------------- /src/parser/test/esprima/comment/migrated_0041.js: -------------------------------------------------------------------------------- 1 | /* block comment */ --> comment -------------------------------------------------------------------------------- /src/parser/test/esprima/declaration/function/migrated_0001.js: -------------------------------------------------------------------------------- 1 | function eval() { } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0003.js: -------------------------------------------------------------------------------- 1 | new new foo() -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0004.js: -------------------------------------------------------------------------------- 1 | new foo().bar() -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0006.js: -------------------------------------------------------------------------------- 1 | new foo.bar() -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0007.js: -------------------------------------------------------------------------------- 1 | ( new foo).bar() -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0008.js: -------------------------------------------------------------------------------- 1 | foo(bar, baz) -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0009.js: -------------------------------------------------------------------------------- 1 | ( foo )() -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0010.js: -------------------------------------------------------------------------------- 1 | universe.milkyway -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0020.js: -------------------------------------------------------------------------------- 1 | universe.true -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0021.js: -------------------------------------------------------------------------------- 1 | universe.false -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/left-hand-side/migrated_0022.js: -------------------------------------------------------------------------------- 1 | universe.null -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x = [ 1, 2, 3, ] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/array/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x = [ 1, 2,, 3, ] -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 3.14159 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0009.js: -------------------------------------------------------------------------------- 1 | 0x0; -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0010.js: -------------------------------------------------------------------------------- 1 | 0e+100 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0011.js: -------------------------------------------------------------------------------- 1 | 0e+100 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0012.js: -------------------------------------------------------------------------------- 1 | 0xabc -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0013.js: -------------------------------------------------------------------------------- 1 | 0xdef -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0014.js: -------------------------------------------------------------------------------- 1 | 0X1A -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0015.js: -------------------------------------------------------------------------------- 1 | 0x10 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0016.js: -------------------------------------------------------------------------------- 1 | 0x100 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0017.js: -------------------------------------------------------------------------------- 1 | 0X04 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0020.js: -------------------------------------------------------------------------------- 1 | 0012 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0022.js: -------------------------------------------------------------------------------- 1 | 0008 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/numeric/migrated_0024.js: -------------------------------------------------------------------------------- 1 | 09.5 -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/string/migrated_0000.js: -------------------------------------------------------------------------------- 1 | "Hello" -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/literal/string/migrated_0003.js: -------------------------------------------------------------------------------- 1 | "\x61" -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x = { if: 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x = { true: 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x = { false: 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x = { null: 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0024.js: -------------------------------------------------------------------------------- 1 | x = { get: 42 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0025.js: -------------------------------------------------------------------------------- 1 | x = { set: 43 } -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0035.js: -------------------------------------------------------------------------------- 1 | ({[a]:()=>{}}) -------------------------------------------------------------------------------- /src/parser/test/esprima/expression/primary/object/migrated_0038.js: -------------------------------------------------------------------------------- 1 | ({set x(a=0){}}) -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0036.source.js: -------------------------------------------------------------------------------- 1 | var source = 'a\\u'; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0037.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\ua'; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0088.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0093.js: -------------------------------------------------------------------------------- 1 | "use strict"; (a, a) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0100.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval) => 42 -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0128.js: -------------------------------------------------------------------------------- 1 | if(false) doThis(); else -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0135.js: -------------------------------------------------------------------------------- 1 | try {} catch (answer()) {} -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0169.source.js: -------------------------------------------------------------------------------- 1 | var source = '"\\u'; -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0176.js: -------------------------------------------------------------------------------- 1 | while (true) { break x; } -------------------------------------------------------------------------------- /src/parser/test/esprima/invalid-syntax/migrated_0177.js: -------------------------------------------------------------------------------- 1 | while (true) { continue x; } --------------------------------------------------------------------------------