name field; val and var names come from the pattern field.
Detected concepts
Example
Renaming a method:old.scala
new.scala
differens old.scala new.scala:
Example: change the body
Keep the declaration name and change what it does:--format=json to inspect the underlying action and context, or --format=llm
for a compact report with source locations.
Known limitations
- Implicits and given clauses are structure: adding one reports as an insert on the declaration.
vardefinitions in some template contexts produce an ERROR node in the grammar; they parse cleanly in class and object bodies.