mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
reorganization: Finish moving parsing and AST
This commit is contained in:
parent
8f9de81e24
commit
ee5f32622f
27 changed files with 737 additions and 719 deletions
|
@ -1,6 +1,8 @@
|
|||
""" Contains all the syntax beyond basic objects, properties, signal, and
|
||||
templates. """
|
||||
|
||||
from .gobject_object import Object
|
||||
from .gobject_property import Property
|
||||
from .gobject_signal import Signal
|
||||
from .gtk_a11y import A11y
|
||||
from .gtk_combo_box_text import Items
|
||||
|
@ -10,12 +12,36 @@ from .gtk_menu import menu
|
|||
from .gtk_size_group import Widgets
|
||||
from .gtk_string_list import Strings
|
||||
from .gtk_styles import Styles
|
||||
from .gtkbuilder_child import Child
|
||||
from .gtkbuilder_template import Template
|
||||
from .ui import UI
|
||||
from .values import IdentValue, TranslatedStringValue, FlagsValue, LiteralValue
|
||||
|
||||
from .common import *
|
||||
|
||||
OBJECT_HOOKS.children = [menu]
|
||||
OBJECT_HOOKS.children = [
|
||||
menu,
|
||||
Object,
|
||||
]
|
||||
|
||||
OBJECT_CONTENT_HOOKS.children = [
|
||||
Signal, A11y, Styles, Layout, mime_types, patterns, suffixes, Widgets, Items,
|
||||
Signal,
|
||||
Property,
|
||||
A11y,
|
||||
Styles,
|
||||
Layout,
|
||||
mime_types,
|
||||
patterns,
|
||||
suffixes,
|
||||
Widgets,
|
||||
Items,
|
||||
Strings,
|
||||
Child,
|
||||
]
|
||||
|
||||
VALUE_HOOKS.children = [
|
||||
TranslatedStringValue,
|
||||
FlagsValue,
|
||||
IdentValue,
|
||||
LiteralValue,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue