case class ScalafmtRunner(debug: Boolean = false, eventCallback: (FormatEvent) => Unit = null, parser: Parse[_ <: Tree] = Parse.parseSource, optimizer: ScalafmtOptimizer = ScalafmtOptimizer.default, maxStateVisits: Int = 1000000, dialect: Dialect = ScalafmtRunner.defaultDialect, ignoreWarnings: Boolean = false, fatalWarnings: Boolean = false) extends Product with Serializable
A FormatRunner configures how formatting should behave.
- debug
Should we collect debugging statistics?
- eventCallback
Listen to events that happens while formatting
- parser
Are we formatting a scala.meta.{Source,Stat,Case,...}? For more details, see members of scala.meta.parsers.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalafmtRunner
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScalafmtRunner(debug: Boolean = false, eventCallback: (FormatEvent) => Unit = null, parser: Parse[_ <: Tree] = Parse.parseSource, optimizer: ScalafmtOptimizer = ScalafmtOptimizer.default, maxStateVisits: Int = 1000000, dialect: Dialect = ScalafmtRunner.defaultDialect, ignoreWarnings: Boolean = false, fatalWarnings: Boolean = false)
- debug
Should we collect debugging statistics?
- eventCallback
Listen to events that happens while formatting
- parser
Are we formatting a scala.meta.{Source,Stat,Case,...}? For more details, see members of scala.meta.parsers.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val debug: Boolean
- val dialect: Dialect
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def event(evt: => FormatEvent): Unit
- def events(evts: => Iterator[FormatEvent]): Unit
- val fatalWarnings: Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forSbt: ScalafmtRunner
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val ignoreWarnings: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxStateVisits: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val optimizeDecoder: ConfDecoder[ScalafmtOptimizer]
- val optimizer: ScalafmtOptimizer
- val parser: Parse[_ <: Tree]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reader: ConfDecoder[ScalafmtRunner]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()