lezer-javascript
Advanced tools
Comparing version
@@ -0,1 +1,7 @@ | ||
## 0.8.3 (2020-04-09) | ||
### Bug fixes | ||
Regenerate parser with a fix in lezer-generator so that the top node prop is properly assigned. | ||
## 0.8.2 (2020-04-01) | ||
@@ -2,0 +8,0 @@ |
@@ -89,2 +89,3 @@ import { ExternalTokenizer, Parser, NodeProp } from 'lezer'; | ||
nodeProps: [ | ||
[NodeProp.top, 4,true], | ||
[NodeProp.delim, 16,"( )",19,"[ ]",23,"{ }",38,"[ ]",39,"{ }",45,"{ }",49,"( )",61,"( )",65,"{ }",103,"{ }",109,"{ }",112,"( )",127,"{ }"] | ||
@@ -91,0 +92,0 @@ ], |
{ | ||
"name": "lezer-javascript", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "lezer-based JavaScript grammar", | ||
@@ -16,4 +16,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"lezer-generator": "^0.8.0", | ||
"mocha": "^6.1.3", | ||
"lezer-generator": "^0.8.3", | ||
"mocha": "^7.1.1", | ||
"rollup": "^1.10.0", | ||
@@ -26,4 +26,4 @@ "rollup-plugin-node-resolve": "^4.2.3" | ||
"repository": { | ||
"type" : "git", | ||
"url" : "https://github.com/lezer-parser/javascript.git" | ||
"type": "git", | ||
"url": "https://github.com/lezer-parser/javascript.git" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
@@ -11,2 +11,3 @@ // This file was generated by lezer-generator. You probably shouldn't edit it. | ||
nodeProps: [ | ||
[NodeProp.top, 4,true], | ||
[NodeProp.delim, 16,"( )",19,"[ ]",23,"{ }",38,"[ ]",39,"{ }",45,"{ }",49,"( )",61,"( )",65,"{ }",103,"{ }",109,"{ }",112,"( )",127,"{ }"] | ||
@@ -13,0 +14,0 @@ ], |
@@ -1,6 +0,8 @@ | ||
const {parser} = require("../dist/index") | ||
const {fileTests} = require("lezer-generator/dist/test.js") | ||
import {parser} from "../dist/index.es.js" | ||
import {fileTests} from "lezer-generator/dist/test" | ||
let fs = require("fs"), path = require("path") | ||
let caseDir = __dirname | ||
import * as fs from "fs" | ||
import * as path from "path" | ||
import { fileURLToPath } from 'url'; | ||
let caseDir = path.dirname(fileURLToPath(import.meta.url)) | ||
@@ -7,0 +9,0 @@ for (let file of fs.readdirSync(caseDir)) { |
Sorry, the diff of this file is not supported yet
131619
0.22%668
0.75%