From 3fc1aa19fd484f9137108982c440db34f42d439a Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 18 Feb 2024 17:38:55 -0800 Subject: [PATCH] feat: signal support also ran formatter --- layouts/shortcodes/qmltype.html | 43 +++++ typegen/src/main.rs | 55 ++++-- typegen/src/outform.rs | 8 + typegen/src/parse.rs | 304 ++++++++++++++++++++++---------- typegen/src/resolver.rs | 121 +++++++++---- typegen/src/typespec.rs | 10 +- 6 files changed, 392 insertions(+), 149 deletions(-) diff --git a/layouts/shortcodes/qmltype.html b/layouts/shortcodes/qmltype.html index b6ed8c8..fa5718d 100644 --- a/layouts/shortcodes/qmltype.html +++ b/layouts/shortcodes/qmltype.html @@ -98,6 +98,21 @@ {{- end -}} +{{- if $type.signals -}} +

Signals

+ +{{- end -}} + {{- if $type.variants -}}

Variants