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 6453621208
commit 986a3376f8
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
3 changed files with 72 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