Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand completion support for language server #25991

Merged
merged 16 commits into from
Oct 21, 2024
2 changes: 2 additions & 0 deletions tools/chapel-py/src/method-tables/uast-methods.h
Original file line number Diff line number Diff line change
@@ -66,6 +66,8 @@ CLASS_BEGIN(AstNode)
std::optional<ScopeObject*>,

return ScopeObject::tryCreate(contextObject, resolution::scopeForId(context, node->id())))
PLAIN_GETTER(AstNode, creates_scope, "Returns true if this AST node creates a scope",
bool, return chpl::resolution::createsScope(node->tag()))
PLAIN_GETTER(AstNode, type, "Get the type of this AST node, as a 3-tuple of (kind, type, param).",
std::optional<QualifiedTypeTuple>,

Loading