feat: add external (type decls dir)

This commit is contained in:
Shunsuke Shibayama 2023-02-25 00:55:14 +09:00
parent 50c476b66f
commit 88ccfb9078
8 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1 @@
.pyplot = pyimport "./pyplot"

View file

@ -0,0 +1 @@
.Legend: ClassType

View file

@ -0,0 +1,2 @@
.Line2D: ClassType
.Line3D: ClassType

View 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

View file

@ -0,0 +1 @@
.Text: ClassType