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:
James Westman 2025-01-04 20:22:02 -06:00
parent 2204eaf92d
commit 3cdc3a159c
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
3 changed files with 74 additions and 20 deletions

View file

@ -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