flow-parser 0.171.0 → 0.174.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -4
- package/flow_parser.js +306 -304
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,12 +37,8 @@ The second argument to `flow.parse` is the options object. Currently supported o
|
|
|
37
37
|
* `all_comments` (boolean, default `true`) - include a list of all comments from the whole program
|
|
38
38
|
* `comments` (boolean, default `true`) - attach comments to AST nodes (`leadingComments` and `trailingComments`)
|
|
39
39
|
* `enums` (boolean, default `false`) - enable parsing of Flow enums
|
|
40
|
-
* `esproposal_class_instance_fields` (boolean, default `false`) - enable parsing of class instance fields
|
|
41
|
-
* `esproposal_class_static_fields` (boolean, default `false`) - enable parsing of class static fields
|
|
42
40
|
* `esproposal_decorators` (boolean, default `false`) - enable parsing of decorators
|
|
43
41
|
* `esproposal_export_star_as` (boolean, default `false`) - enable parsing of `export * as` syntax
|
|
44
|
-
* `esproposal_nullish_coalescing` (boolean, default `false`) - enable parsing of nullish coalescing (`??`)
|
|
45
|
-
* `esproposal_optional_chaining` (boolean, default `false`) - enable parsing of optional chaining (`?.`)
|
|
46
42
|
* `tokens` (boolean, default `false`) - include a list of all parsed tokens in a top-level `tokens` property
|
|
47
43
|
* `types` (boolean, default `true`) - enable parsing of Flow types
|
|
48
44
|
* `use_strict` (boolean, default `false`) - treat the file as strict, without needing a "use strict" directive
|