5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 19:31:20 +08:00
Commit Graph

17 Commits

Author SHA1 Message Date
Adam Tenderholt
da90e74268
v3 parser: initial work on model generation w/ templates (#2428)
* v3 parser: initial work on model generation w/ templates

* v3 parser: expand models to namespaces
2023-02-28 20:35:18 +11:00
Lea Anthony
91676080eb Support binding variables that were assigned by functions 2023-02-26 13:12:30 +11:00
Lea Anthony
6afb5260a7
Refactor parsing functions 2023-02-26 08:56:27 +11:00
Adam Tenderholt
0f80f031fd
v3 parser: add some more test cases (functions) (#2422)
* [v3] add test case for parser (create struct from func)

* [v3] add another test case for parser (func in other pkg) + misc
2023-02-26 07:46:26 +11:00
Lea Anthony
ecc1791420 Support bound variables (struct literals)
Factor out unaryexpression parsing
Fix package bleed between tests
2023-02-25 09:47:50 +11:00
Lea Anthony
cc1a6a3d50
Support anonymous struct fields 2023-02-25 08:24:58 +11:00
Lea Anthony
cd11c0a83c Support references to structs in other packages 2023-02-24 21:15:39 +11:00
Lea Anthony
8fd0e06c24 Use package path instead of name 2023-02-23 20:26:15 +11:00
Lea Anthony
4e5be36459
Parse structs bound from other packages 2023-02-22 20:36:30 +11:00
Lea Anthony
6bfd654ec8
Tidy up. More tests. 2023-02-21 17:10:36 +11:00
Lea Anthony
dc0d99a8e9
Cover all type combinations
Fix bug in pointer type resolution
2023-02-21 07:52:29 +11:00
Lea Anthony
b606561f8d
Move struct cache into parsed package
Fix bug in package path calculation
2023-02-21 07:18:08 +11:00
Lea Anthony
d0769ecd1c
Parse Models
Support recursive fields
Add loads of tests
2023-02-20 20:36:58 +11:00
Lea Anthony
95bb15eef4
[v3] MUCH Improved parser for bound structs 2023-02-19 20:59:03 +11:00
Lea Anthony
e1279a054f
[v3] Improved parser for bound structs 2023-02-17 20:57:31 +11:00
Lea Anthony
f951b51c11
Context menu WIP
options refactor
2023-02-09 18:35:26 +11:00
Lea Anthony
81645190f0
merge exp branch 2023-01-18 21:42:49 +11:00