All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bsp.codegen.dsl.scala Maven / Gradle / Ivy

The newest version!
package bsp.codegen

object dsl {

  def empty(implicit settings: RenderSettings): Lines = Lines.empty

  def lines(lines: Lines*)(implicit settings: RenderSettings): Lines = Lines(lines: _*)

  def newline(implicit settings: RenderSettings): Lines = Lines("")

  def block(line: String)(lines: Lines*)(implicit settings: RenderSettings): Lines =
    Lines(line).block(lines: _*)

  def paren(line: String)(lines: Lines*)(implicit settings: RenderSettings): Lines =
    Lines(line).paren(lines: _*)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy