Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Adding link to issues
authored
Jan 25, 2022
by
Jeff Cave
Show whitespace changes
Inline
Side-by-side
Parsing/Javascript.md
View page @
6e8b417c
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
| Parser | Esprima |
| Parser | Esprima |
| Mime | text-javascript |
| Mime | text-javascript |
| ext |
`js`
|
| ext |
`js`
|
| issues |
[
lang:js
](
https://gitlab.com/jefferey-cave/miss/-/issues?label_name%5B%5D=lang%3A%3Ajs
)
|
```
mermaid
```
mermaid
graph LR;
graph LR;
...
@@ -12,5 +13,10 @@ graph LR;
...
@@ -12,5 +13,10 @@ graph LR;
## Ignored Elements
## Ignored Elements
*
Comments
-
Comments
*
Whitespace
-
comments are converted into a single "comment" token.
\ No newline at end of file
-
this reduces their impact on matching, but does not completely remove it.
-
all comments are identified as the same "comment" token
-
Whitespace
-
meaningless space is not included in the parser
-
not even as a "meaningless space" marker
\ No newline at end of file