typedjson.codegen.CodePrinterSegment
See theCodePrinterSegment companion trait
object CodePrinterSegment
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CodePrinterSegment.type
Members list
Type members
Classlikes
case class Block(open: List[CodePrinterSegment], content: List[List[CodePrinterSegment]], close: List[CodePrinterSegment]) extends CodePrinterSegment
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
case class Content(str: String) extends CodePrinterSegment
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
case object Indent extends CodePrinterSegment
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
- Self type
-
Indent.type
case object Newline extends CodePrinterSegment
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
- Self type
-
Newline.type
case object NewlineIfNotAlreadyPrinted extends CodePrinterSegment
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
- Self type
case class NewlineIfNotEnoughSpace(content: List[CodePrinterSegment]) extends CodePrinterSegment
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
case object Outdent extends CodePrinterSegment
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
case object Space extends CodePrinterSegment
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodePrinterSegmentclass Objecttrait Matchableclass AnyShow all
- Self type
-
Space.type
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def simpleParameterBlock(open: String, content: List[List[CodePrinterSegment]], close: String): ParameterBlock
In this article