c

scalafix.rewrite

RewriteCtx

case class RewriteCtx(tree: Tree, config: config.ScalafixConfig) extends PatchOps with Product with Serializable

Bundle of useful things when implementing Rewrite.

Self Type
RewriteCtx
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RewriteCtx
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PatchOps
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RewriteCtx(tree: Tree, config: config.ScalafixConfig)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addGlobalImport(importer: Importer)(implicit mirror: scala.meta.Mirror): Patch
    Definition Classes
    RewriteCtxPatchOps
  5. def addGlobalImport(symbol: scala.meta.Symbol)(implicit mirror: scala.meta.Mirror): Patch
    Definition Classes
    RewriteCtxPatchOps
  6. def addLeft(tok: scala.meta.Token, toAdd: String): Patch
    Definition Classes
    RewriteCtxPatchOps
  7. def addRight(tok: scala.meta.Token, toAdd: String): Patch
    Definition Classes
    RewriteCtxPatchOps
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val comments: AssociatedComments
  11. val config: config.ScalafixConfig
  12. def debug(values: Text[Any]*)(implicit fileLine: FileLine): Unit
  13. def debugMirror()(implicit mirror: scala.meta.Mirror, fileLine: FileLine): Unit
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. lazy val input: scala.meta.Input
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. lazy val matching: MatchingParens
  20. def mirror(implicit mirror: scala.meta.Mirror): scala.meta.Mirror
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def removeGlobalImport(symbol: scala.meta.Symbol)(implicit mirror: scala.meta.Mirror): Patch
    Definition Classes
    RewriteCtxPatchOps
  25. def removeImportee(importee: Importee): Patch
    Definition Classes
    RewriteCtxPatchOps
  26. def removeToken(token: scala.meta.Token): Patch
    Definition Classes
    RewriteCtxPatchOps
  27. def removeTokens(tokens: Tokens): Patch
    Definition Classes
    RewriteCtxPatchOps
  28. def rename(from: Name, to: String): Patch
    Definition Classes
    RewriteCtxPatchOps
  29. def rename(from: Name, to: Name): Patch
    Definition Classes
    RewriteCtxPatchOps
  30. def replaceToken(token: scala.meta.Token, toReplace: String): Patch
    Definition Classes
    RewriteCtxPatchOps
  31. def replaceTree(from: Tree, to: String): Patch
    Definition Classes
    RewriteCtxPatchOps
  32. val reporter: ScalafixReporter
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def syntax: String
  35. def toString(): String
    Definition Classes
    RewriteCtx → AnyRef → Any
  36. lazy val tokenList: TokenList
  37. implicit lazy val tokens: Tokens
  38. def toks(t: Tree): Tokens
  39. val tree: Tree
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PatchOps

Inherited from AnyRef

Inherited from Any

Ungrouped