case class Comments(wrap: Wrap = Comments.Wrap.no, wrapStandaloneSlcAsSlc: Boolean = false) extends Product with Serializable
- wrap
defines whether to wrap comments; the comment to be wrapped may not contain nested comments.
- no: do not wrap
- trailing: wrap the last comment on a line (line break after)
- standalone: wrap standalone comments (line break both before and after the comment)
- wrapStandaloneSlcAsSlc
if
wrapis enabled, wrap standalone single-line comments (//) using the same type, rather than multi-line comments (/* ... */); it won't be applied to trailing comments as indentation would be inconsistent.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Comments
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Comments(wrap: Wrap = Comments.Wrap.no, wrapStandaloneSlcAsSlc: Boolean = false)
- wrap
defines whether to wrap comments; the comment to be wrapped may not contain nested comments.
- no: do not wrap
- trailing: wrap the last comment on a line (line break after)
- standalone: wrap standalone comments (line break both before and after the comment)
- wrapStandaloneSlcAsSlc
if
wrapis enabled, wrap standalone single-line comments (//) using the same type, rather than multi-line comments (/* ... */); it won't be applied to trailing comments as indentation would be inconsistent.
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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()
- val wrap: Wrap
- val wrapStandaloneSlcAsSlc: Boolean