mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
feat: add support of internal children
This commit is contained in:
parent
1bd7c37061
commit
8a545d596b
3 changed files with 10 additions and 2 deletions
|
@ -107,6 +107,7 @@ def parse(tokens) -> T.Tuple[ast.UI, T.Optional[MultipleErrors]]:
|
|||
Sequence(
|
||||
Optional(Sequence(
|
||||
OpenBracket(),
|
||||
Optional(Sequence(Keyword("internal-child"), UseLiteral("internal_child", True))),
|
||||
UseIdent("child_type").expected("a child type"),
|
||||
CloseBracket(),
|
||||
)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue