package rewrite
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- abstract class Rewrite extends AnyRef
- case class RewriteCtx (config: ScalafixConfig, tokenList: TokenList, semantic: Option[SemanticApi]) extends Product with Serializable
-
trait
SemanticApi
extends AnyRef
A custom semantic api for scalafix rewrites.
A custom semantic api for scalafix rewrites.
The scalafix semantic api is a bottom-up approach to build a semantic metaprogramming toolkit. We start with use cases and only implement the necessary interface for those use-cases. The scala.meta semantic api is exploring a top-down approach, by first defining the interface and then let use-cases fit the implementation. Maybe one day, the lessons learned in the scalafix can help improve the design of the scala.meta semantic api, and vice-versa.
See ExplicitImplicit for an example usage of this semantic api.
Value Members
- object ExplicitImplicit extends Rewrite with Product with Serializable
- object ProcedureSyntax extends Rewrite with Product with Serializable
- object Rewrite
- object VolatileLazyVal extends Rewrite with Product with Serializable