mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-27 11:59:05 +00:00
feat: add external
(type decls dir)
This commit is contained in:
parent
50c476b66f
commit
88ccfb9078
8 changed files with 22 additions and 0 deletions
1
crates/erg_compiler/lib/external/matplotlib.d/__init__.d.er
vendored
Normal file
1
crates/erg_compiler/lib/external/matplotlib.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.pyplot = pyimport "./pyplot"
|
1
crates/erg_compiler/lib/external/matplotlib.d/legend.d/__init__.d.er
vendored
Normal file
1
crates/erg_compiler/lib/external/matplotlib.d/legend.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.Legend: ClassType
|
2
crates/erg_compiler/lib/external/matplotlib.d/lines.d/__init__.d.er
vendored
Normal file
2
crates/erg_compiler/lib/external/matplotlib.d/lines.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.Line2D: ClassType
|
||||
.Line3D: ClassType
|
10
crates/erg_compiler/lib/external/matplotlib.d/pyplot.d/__init__.d.er
vendored
Normal file
10
crates/erg_compiler/lib/external/matplotlib.d/pyplot.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
lines = pyimport "../lines"
|
||||
text = pyimport "../text"
|
||||
legend = pyimport "../legend"
|
||||
|
||||
.plot!: (*args: Obj, scaleX := Bool, scaleY := Bool) => [Obj; _]
|
||||
.show!: () => NoneType
|
||||
.title!: (title: Str) => text.Text
|
||||
.xlabel!: (label: Str) => text.Text
|
||||
.ylabel!: (label: Str) => text.Text
|
||||
.legend!: (labels := [Str; _]) => legend.Legend
|
1
crates/erg_compiler/lib/external/matplotlib.d/text.d/__init__.d.er
vendored
Normal file
1
crates/erg_compiler/lib/external/matplotlib.d/text.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.Text: ClassType
|
Loading…
Add table
Add a link
Reference in a new issue