Fence

mill.javalib.spotless.Format.Fence
case class Fence(name: String = ..., regex: Seq[String] = ..., preserve: Boolean = ..., steps: Seq[Step]) extends Step

When preserve is set, steps are applied outside matching blocks, thus preserving the formatting inside a matching block. Otherwise, steps are applied inside matching blocks.

Value parameters

name

name of this step

regex

matcher for a block - [regex]: regular expression - [open,close]: open and close markers

Attributes

See also
Source
Format.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
trait Step
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala