* fix flow_function_parentheses * fix directives * fix classes * fix flow_method * fix `do` * fix `decorators` * fix `comments_closure_typecast` * fix `comments` * fix `flow_internal_slot` * fix `flow_comments` * fix `flow_type_declarations` * fix `flow_type_spread` * fix `functional_composition` * fix `multiparser_js_css` * fix `no-semi` * fix `objects` * fix `template` * fix `yield` * update `flow_method` snap * fix `empty_paren_comment` * fix `mdx` * fix `object_property_comment` * Update `@babel/parser` * Update @babel/parser to v7.6.2 * Update yarn.lock * fix `nullish_coalescing` test * fix `flow_class_field` test * fix snapshot * @babel/parser v7.6.3 * fix tests * update snap
29 lines
567 B
JavaScript
29 lines
567 B
JavaScript
let f1 = (/* ... */) => {}
|
|
(function (/* ... */) {})(/* ... */)
|
|
function f2(/* ... */) {}
|
|
|
|
const obj = {
|
|
f(/* ... */) {},
|
|
f: (/* ... */) => {},
|
|
f: function(/* ... */) {},
|
|
f: function f(/* ... */) {}
|
|
}
|
|
|
|
class Foo {
|
|
f(/* ... */) {}
|
|
f() /* ... */ {}
|
|
f = (/* ... */) => {};
|
|
static f(/* ... */) {};
|
|
static f = (/* ... */) => {};
|
|
static f = function(/* ... */) {};
|
|
static f = function f(/* ... */) {};
|
|
}
|
|
|
|
f(/* ... */);
|
|
f(a, /* ... */);
|
|
f(a, /* ... */ b);
|
|
f(/* ... */ a, b);
|
|
|
|
let f3 = () => import(a /* ... */);
|
|
let f4 = () => doThing(a, /* ... */ b);
|