mirror of https://github.com/mtshiba/pylyzer
Update source
This commit is contained in:
parent
21143c3564
commit
76a7f16c25
|
|
@ -206,7 +206,7 @@ checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "els"
|
name = "els"
|
||||||
version = "0.1.11"
|
version = "0.1.11"
|
||||||
source = "git+https://github.com/erg-lang/erg-language-server?branch=pylyzer-mode#8416017395fccea5bdf2632fd6b4f19dce23da67"
|
source = "git+https://github.com/erg-lang/erg-language-server?branch=main#abb84abd443dae865d7e3f8e486863837d451ccb"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"erg_common",
|
"erg_common",
|
||||||
"erg_compiler",
|
"erg_compiler",
|
||||||
|
|
@ -227,7 +227,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "erg_common"
|
name = "erg_common"
|
||||||
version = "0.6.0-beta.2"
|
version = "0.6.0-beta.2"
|
||||||
source = "git+https://github.com/erg-lang/erg?branch=pylyzer-mode#a805b1ed72135dcdd80064009849000163d8cbcf"
|
source = "git+https://github.com/erg-lang/erg?branch=main#8308d0b96518d7ee79fc378af74a630ded98f5c1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hermit-abi",
|
"hermit-abi",
|
||||||
"libc",
|
"libc",
|
||||||
|
|
@ -237,7 +237,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "erg_compiler"
|
name = "erg_compiler"
|
||||||
version = "0.6.0-beta.2"
|
version = "0.6.0-beta.2"
|
||||||
source = "git+https://github.com/erg-lang/erg?branch=pylyzer-mode#a805b1ed72135dcdd80064009849000163d8cbcf"
|
source = "git+https://github.com/erg-lang/erg?branch=main#8308d0b96518d7ee79fc378af74a630ded98f5c1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"erg_common",
|
"erg_common",
|
||||||
"erg_parser",
|
"erg_parser",
|
||||||
|
|
@ -246,7 +246,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "erg_parser"
|
name = "erg_parser"
|
||||||
version = "0.6.0-beta.2"
|
version = "0.6.0-beta.2"
|
||||||
source = "git+https://github.com/erg-lang/erg?branch=pylyzer-mode#a805b1ed72135dcdd80064009849000163d8cbcf"
|
source = "git+https://github.com/erg-lang/erg?branch=main#8308d0b96518d7ee79fc378af74a630ded98f5c1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"erg_common",
|
"erg_common",
|
||||||
"unicode-xid 0.2.4",
|
"unicode-xid 0.2.4",
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ debug = ["erg_compiler/debug", "erg_common/debug"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rustpython-parser = "0.1.2"
|
rustpython-parser = "0.1.2"
|
||||||
erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "pylyzer-mode" }
|
erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main" }
|
||||||
erg_common = { git = "https://github.com/erg-lang/erg", branch = "pylyzer-mode" }
|
erg_common = { git = "https://github.com/erg-lang/erg", branch = "main" }
|
||||||
els = { git = "https://github.com/erg-lang/erg-language-server", branch = "pylyzer-mode" }
|
els = { git = "https://github.com/erg-lang/erg-language-server", branch = "main" }
|
||||||
py2erg = { path = "./crates/py2erg" }
|
py2erg = { path = "./crates/py2erg" }
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ description = "A Python -> Erg converter"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rustpython-parser = "0.1.2"
|
rustpython-parser = "0.1.2"
|
||||||
erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "pylyzer-mode" }
|
erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main" }
|
||||||
erg_common = { git = "https://github.com/erg-lang/erg", branch = "pylyzer-mode" }
|
erg_common = { git = "https://github.com/erg-lang/erg", branch = "main" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ impl Buildable for PythonAnalyzer {
|
||||||
self.analyze(code, mode)
|
self.analyze(code, mode)
|
||||||
}
|
}
|
||||||
fn pop_context(&mut self) -> Option<Context> {
|
fn pop_context(&mut self) -> Option<Context> {
|
||||||
Some(self.checker.pop_mod_ctx())
|
self.checker.pop_mod_ctx()
|
||||||
}
|
}
|
||||||
fn get_context(&self) -> Option<&Context> {
|
fn get_context(&self) -> Option<&Context> {
|
||||||
Some(self.checker.get_mod_ctx())
|
Some(self.checker.get_mod_ctx())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue