mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
completions: Add object value completions
For object properties, add completions for named objects in the blueprint and for matching classes in imported namespaces. Also add null and bind.
This commit is contained in:
parent
64b96137f5
commit
860580e560
3 changed files with 74 additions and 20 deletions
|
@ -121,7 +121,9 @@ class A11yProperty(AstNode):
|
|||
grammar = Statement(
|
||||
UseIdent("name"),
|
||||
":",
|
||||
AnyOf(Value, ["[", UseLiteral("list_form", True), Delimited(Value, ","), "]"]),
|
||||
AnyOf(
|
||||
Value, ["[", UseLiteral("list_form", True), Delimited(Value, ","), "]"]
|
||||
).expected("value"),
|
||||
)
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue