CodePrinterSegment

typedjson.codegen.CodePrinterSegment
See theCodePrinterSegment companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Block(open: List[CodePrinterSegment], content: List[List[CodePrinterSegment]], close: List[CodePrinterSegment]) extends CodePrinterSegment

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Content(str: String) extends CodePrinterSegment

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Indent extends CodePrinterSegment

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Indent.type
case object Newline extends CodePrinterSegment

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Newline.type

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Outdent extends CodePrinterSegment

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Outdent.type
case class ParameterBlock(onlyPrePostLineOnMultiline: Boolean, open: List[CodePrinterSegment], preline: List[CodePrinterSegment], content: List[List[CodePrinterSegment]], postline: List[CodePrinterSegment], close: List[CodePrinterSegment]) extends CodePrinterSegment

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Space extends CodePrinterSegment

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Space.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def simpleBlock(open: String, content: List[List[CodePrinterSegment]], close: String): Block
def simpleParameterBlock(open: String, content: List[List[CodePrinterSegment]], close: String): ParameterBlock