Skip to content

Commit

Permalink
Source location (#5)
Browse files Browse the repository at this point in the history
* add spanned ast
* clean up scripts/json files
  • Loading branch information
FreeMasen authored Sep 9, 2022
1 parent 4dbbfa3 commit 01f1423
Show file tree
Hide file tree
Showing 14 changed files with 6,236 additions and 2,387 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "resast"
version = "0.4.0"
version = "0.5.0-alpha.3"
authors = ["rfm <[email protected]>"]
edition = "2018"
description = "Rusty-ECMAScript Abstract Syntax Tree"
Expand All @@ -21,4 +21,4 @@ pretty_env_logger = "0.3"
[features]
default = []
serialization = ["serde", "serde_derive"]
esprima = ["serialization"]
esprima = ["serialization"]
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"esprima": "^4.0.1"
}
}
26 changes: 0 additions & 26 deletions run_es_parse.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/decl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub enum ImportSpecifier<'a> {
/// import {Thing} from './stuff.js';
/// import {People as Persons} from './places.js';
/// ```
Normal(NormalImportSpec<'a>),
Normal(Vec<NormalImportSpec<'a>>),
/// A specifier that has been exported with the
/// default keyword, this should not be wrapped in
/// curly braces.
Expand Down
Loading

0 comments on commit 01f1423

Please sign in to comment.