Checkpoint state

This commit is contained in:
howardwu 2021-02-05 12:46:19 -08:00
parent 42117f08ce
commit d8fad17792
4 changed files with 14 additions and 16 deletions

2
Cargo.lock generated
View File

@ -1438,10 +1438,8 @@ dependencies = [
name = "leo-wasm"
version = "1.2.0"
dependencies = [
"leo-asg",
"leo-ast",
"leo-grammar",
"leo-imports",
"serde",
"wasm-bindgen",
"wasm-bindgen-test",

View File

@ -27,6 +27,7 @@
]
}
},
"op": "Add",
"right": {
"Value": {
"Implicit": [
@ -40,7 +41,6 @@
]
}
},
"op": "Add",
"span": {
"text": " return 1 + 1",
"line": 2,
@ -59,17 +59,17 @@
}
],
"span" : {
"text": " function main() {",
"line": 1,
"start": 17,
"end": 2
"text": " return 1 + 1",
"line": 2,
"start": 5,
"end": 17
}
},
"span": {
"text": " function main() {",
"line": 1,
"start": 1,
"end": 2
"end": 1
}
}
},

View File

@ -21,9 +21,9 @@ edition = "2018"
crate-type = ["cdylib", "rlib"]
[dependencies]
leo-asg = { path = "../asg", version = "1.2.0" }
#leo-asg = { path = "../asg", version = "1.2.0" }
leo-ast = { path = "../ast", version = "1.2.0" }
leo-imports = { path = "../imports", version = "1.2.0" }
#leo-imports = { path = "../imports", version = "1.2.0" }
leo-grammar = { path = "../grammar", version = "1.2.0" }
serde = { version = "1.0", features = ["derive"] }

View File

@ -13,9 +13,9 @@
// You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
pub mod asg;
pub use asg::*;
//
// pub mod asg;
// pub use asg::*;
pub mod ast;
pub use ast::*;