mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-11 16:10:09 +03:00
Checkpoint state
This commit is contained in:
parent
42117f08ce
commit
d8fad17792
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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",
|
||||
|
@ -8,7 +8,7 @@
|
||||
"identifier": "{\"name\":\"main\",\"span\":\"{\\\"text\\\":\\\" function main() {\\\",\\\"line\\\":1,\\\"start\\\":10,\\\"end\\\":14}\"}",
|
||||
"input": [],
|
||||
"output": null,
|
||||
"block": {
|
||||
"block" : {
|
||||
"statements": [
|
||||
{
|
||||
"Return": {
|
||||
@ -27,6 +27,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"op": "Add",
|
||||
"right": {
|
||||
"Value": {
|
||||
"Implicit": [
|
||||
@ -40,7 +41,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"op": "Add",
|
||||
"span": {
|
||||
"text": " return 1 + 1",
|
||||
"line": 2,
|
||||
@ -49,7 +49,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"span": {
|
||||
"span" : {
|
||||
"text": " return 1 + 1",
|
||||
"line": 2,
|
||||
"start": 5,
|
||||
@ -58,18 +58,18 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"span": {
|
||||
"text": " function main() {",
|
||||
"line": 1,
|
||||
"start": 17,
|
||||
"end": 2
|
||||
"span" : {
|
||||
"text": " return 1 + 1",
|
||||
"line": 2,
|
||||
"start": 5,
|
||||
"end": 17
|
||||
}
|
||||
},
|
||||
"span": {
|
||||
"text": " function main() {",
|
||||
"line": 1,
|
||||
"start": 1,
|
||||
"end": 2
|
||||
"end": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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"] }
|
||||
|
@ -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::*;
|
||||
|
Loading…
Reference in New Issue
Block a user