Indented

case class Indented(width: IndentWidth, others: Set[IndentWidth], prefix: Token, outer: Region | Null) extends Region

A class describing an indentation region.

Value Params
others

Other indendation widths > width of lines in the same region

prefix

The token before the initial of the region

width

The principal indendation width

trait Product
trait Equals
class Region
class Object
trait Matchable
class Any

Value members

Inherited methods

The enclosing region, which is required to exist

The enclosing region, which is required to exist

Inherited from
Region

The indentation width, Zero if not known

The indentation width, Zero if not known

Inherited from
Region

Is this region the outermost region?

Is this region the outermost region?

Inherited from
Region
Inherited from
Product
def proposeKnownWidth(width: IndentWidth, lastToken: Token): Unit
Inherited from
Region

Show open regions as list of lines with decreasing indentations

Show open regions as list of lines with decreasing indentations

Inherited from
Region

Inherited fields

var knownWidth: IndentWidth | Null
Inherited from
Region