All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dotty.tools.dotc.reporting.CodeAction.scala Maven / Gradle / Ivy

There is a newer version: 3.6.4-RC1-bin-20241220-0bfa1af-NIGHTLY
Show newest version
package dotty.tools.dotc.reporting

import dotty.tools.dotc.rewrites.Rewrites.ActionPatch

/** A representation of a code action / fix that can be used by tooling to
  * apply a fix to their code.
  *
  * @param title The title of the fix, often showed to a user in their editor.
  * @param description An optional description of the fix.
  * @param patches The patches that this fix contains.
  */
case class CodeAction(
  title: String,
  description: Option[String],
  patches: List[ActionPatch]
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy