mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
parser: Shorter code for groups
Add a "grammar" property on AstNode types so they can be used in grammar expressions as groups
This commit is contained in:
parent
8d587b62a0
commit
76f7befd68
10 changed files with 119 additions and 159 deletions
|
@ -1,18 +1,18 @@
|
|||
""" Contains all the syntax beyond basic objects, properties, signal, and
|
||||
templates. """
|
||||
|
||||
from .gtk_a11y import a11y
|
||||
from .gtk_combo_box_text import items
|
||||
from .gtk_a11y import A11y
|
||||
from .gtk_combo_box_text import Items
|
||||
from .gtk_file_filter import mime_types, patterns, suffixes
|
||||
from .gtk_layout import layout
|
||||
from .gtk_layout import Layout
|
||||
from .gtk_menu import menu
|
||||
from .gtk_size_group import widgets
|
||||
from .gtk_string_list import strings
|
||||
from .gtk_styles import styles
|
||||
from .gtk_size_group import Widgets
|
||||
from .gtk_string_list import Strings
|
||||
from .gtk_styles import Styles
|
||||
|
||||
OBJECT_HOOKS = [menu]
|
||||
|
||||
OBJECT_CONTENT_HOOKS = [
|
||||
a11y, styles, layout, mime_types, patterns, suffixes, widgets, items,
|
||||
strings,
|
||||
A11y, Styles, Layout, mime_types, patterns, suffixes, Widgets, Items,
|
||||
Strings,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue