-
Hello... What I want is like this
I can infer the type of Is it impossible to attach some user information(e.g type information) to the Ast node( Thank you in advance... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @negahama, we usually store this information on a |
Beta Was this translation helpful? Give feedback.
Hey @negahama,
we usually store this information on a
DocumentCache
orWorkspaceCache
and simply use<AstNode, Type>
for the type arguments. That way you don't need to worry about cache invalidation. See also the work in progress PR over at eclipse-langium/langium-website#241 for usage details.