Skip to content

Commit

Permalink
pug-lexer loc with source endings (#2957)
Browse files Browse the repository at this point in the history
* Ignore VSCode files

* Use `loc` on lexer tokens to store source location information

* Update pug-parser and pug to use new `loc` attribute on tokens

* Update parser test cases to have new `loc` attribute on tokens

* New lexer snapshots

* New parser snapshots

* PR review changes
- remove no-ops
- rename `attributeName` to `attribute`
- attributeName no longer takes a tok and returns a reponse object
- minor cleanup
  • Loading branch information
jbsulli authored and ForbesLindesay committed Feb 15, 2018
1 parent 3750dfe commit 8248ba8
Show file tree
Hide file tree
Showing 124 changed files with 39,452 additions and 11,360 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
.idea
.vscode
testing
node_modules
lib-cov
Expand Down
Loading

0 comments on commit 8248ba8

Please sign in to comment.