builder tool: Rewrite the simplify command

Rewrite the builder-tool simplify command to have
a full parse tree around, and perform simplifications
on that tree. This lets us rewrite GtkStack and turn
child properties into child meta objects.
This commit is contained in:
Matthias Clasen 2019-02-07 07:12:15 -05:00
parent addcf2e526
commit 59152b8a8d
2 changed files with 485 additions and 417 deletions

File diff suppressed because it is too large Load Diff

View File

@ -46,6 +46,7 @@ usage (void)
"\n"
"Simplify Options:\n"
" --replace Replace the file\n"
" --3to4 Convert from a GTK3 to GTK4\n"
"\n"
"Preview Options:\n"
" --id=ID Preview only the named object\n"