mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-22 23:19:25 -04:00
Reorganize the parser/AST code
The code is now organized by syntax: `menu {}` in one file, `style` in another, etc. This should make it easier to add syntax in the future.
This commit is contained in:
parent
dc7c0cabd8
commit
bfd9daf6a9
10 changed files with 486 additions and 344 deletions
10
gtkblueprinttool/extensions/__init__.py
Normal file
10
gtkblueprinttool/extensions/__init__.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
""" Contains all the syntax beyond basic objects, properties, signal, and
|
||||
templates. """
|
||||
|
||||
from .gtk_menu import menu
|
||||
from .gtk_styles import styles
|
||||
from .gtk_layout import layout
|
||||
|
||||
OBJECT_HOOKS = [menu]
|
||||
|
||||
OBJECT_CONTENT_HOOKS = [styles, layout]
|
Loading…
Add table
Add a link
Reference in a new issue