File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ const ast = espree.parse(code);
2727
2828### ` parse() `
2929
30- ` parse ` parses the given code and returns a abstract syntax tree (AST). It takes two paramenter .
30+ ` parse ` parses the given code and returns a abstract syntax tree (AST). It takes two parameters .
3131
3232- ` code ` [ string] ( ) - the code which needs to be parsed.
33- - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options )
33+ - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options ) .
3434
3535``` javascript
3636const espree = require (" espree" );
@@ -71,10 +71,10 @@ Node {
7171
7272### ` tokenize() `
7373
74- ` tokenize ` returns the tokens of a give code. It takes two paramenter .
74+ ` tokenize ` returns the tokens of a given code. It takes two parameters .
7575
7676- ` code ` [ string] ( ) - the code which needs to be parsed.
77- - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options )
77+ - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options ) .
7878
7979Even if ` options ` is empty or undefined or ` options.tokens ` is ` false ` , it assigns it to ` true ` in order to get the ` tokens ` array
8080
@@ -112,7 +112,7 @@ Returns the latest ECMAScript supported by `espree`
112112
113113### ` supportedEcmaVersions `
114114
115- Returns an array of all supported ECMAScript version
115+ Returns an array of all supported ECMAScript versions
116116
117117## Options
118118
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ const ast = espree.parse(code);
2727
2828### ` parse() `
2929
30- ` parse ` parses the given code and returns a abstract syntax tree (AST). It takes two paramenter .
30+ ` parse ` parses the given code and returns a abstract syntax tree (AST). It takes two parameters .
3131
3232- ` code ` [ string] ( ) - the code which needs to be parsed.
33- - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options )
33+ - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options ) .
3434
3535``` javascript
3636const espree = require (" espree" );
@@ -71,10 +71,10 @@ Node {
7171
7272### ` tokenize() `
7373
74- ` tokenize ` returns the tokens of a give code. It takes two paramenter .
74+ ` tokenize ` returns the tokens of a given code. It takes two parameters .
7575
7676- ` code ` [ string] ( ) - the code which needs to be parsed.
77- - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options )
77+ - ` options (Optional) ` [ Object] ( ) - read more about this [ here] ( #options ) .
7878
7979Even if ` options ` is empty or undefined or ` options.tokens ` is ` false ` , it assigns it to ` true ` in order to get the ` tokens ` array
8080
@@ -112,7 +112,7 @@ Returns the latest ECMAScript supported by `espree`
112112
113113### ` supportedEcmaVersions `
114114
115- Returns an array of all supported ECMAScript version
115+ Returns an array of all supported ECMAScript versions
116116
117117## Options
118118
You can’t perform that action at this time.
0 commit comments