Is your feature request related to a problem?
The lines of examples that reference the documented API element are highlighted in the generated API docs. However, this is currently done by a simple text search, so we might also highlight some wrong lines or miss lines that still belong to a call if it's spread over multiple lines.
Desired solution
Use the AST instead to find references, and the CST to find the relevant region to highlight.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response