2021-10-03 16:39:12 +08:00
|
|
|
---
|
|
|
|
source: nac3core/src/toplevel/test.rs
|
|
|
|
expression: res_vec
|
|
|
|
---
|
|
|
|
[
|
2022-03-30 03:52:49 +08:00
|
|
|
"Class {\nname: \"Generic_A\",\nancestors: [\"Generic_A[V]\", \"B\"],\nfields: [\"aa\", \"a\"],\nmethods: [(\"__init__\", \"fn[[], none]\"), (\"foo\", \"fn[[b:T], none]\"), (\"fun\", \"fn[[a:int32], V]\")],\ntype_vars: [\"V\"]\n}\n",
|
2022-03-24 21:33:09 +08:00
|
|
|
"Function {\nname: \"Generic_A.__init__\",\nsig: \"fn[[], none]\",\nvar_id: []\n}\n",
|
2024-03-27 12:57:11 +08:00
|
|
|
"Function {\nname: \"Generic_A.fun\",\nsig: \"fn[[a:int32], V]\",\nvar_id: [156]\n}\n",
|
2022-03-30 03:52:49 +08:00
|
|
|
"Class {\nname: \"B\",\nancestors: [\"B\"],\nfields: [\"aa\"],\nmethods: [(\"__init__\", \"fn[[], none]\"), (\"foo\", \"fn[[b:T], none]\")],\ntype_vars: []\n}\n",
|
2021-11-05 20:28:21 +08:00
|
|
|
"Function {\nname: \"B.__init__\",\nsig: \"fn[[], none]\",\nvar_id: []\n}\n",
|
2022-02-21 17:52:34 +08:00
|
|
|
"Function {\nname: \"B.foo\",\nsig: \"fn[[b:T], none]\",\nvar_id: []\n}\n",
|
2021-10-03 16:39:12 +08:00
|
|
|
]
|