Generator

mill.contrib.scalapblib.Generator
enum Generator(val generator: String, val supportsScalaPbOptions: Boolean)

A ScalaPB generator

Value parameters

generator

The CLI option to enable the generator

supportsScalaPbOptions

true if the ScalaPBModule.scalaPBOptions should be used to read options.

Attributes

Source
Generator.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class CustomGen

Members list

Type members

Enum entries

final case class CustomGen(generator: String, supportsScalaPbOptions: Boolean) extends Generator

Can be used to set up a custom generator.

Can be used to set up a custom generator.

Attributes

Source
Generator.scala
case JavaGen extends Generator

Generate Java code.

Generate Java code.

Attributes

Source
Generator.scala
case ScalaGen extends Generator

Generate Scala code.

Generate Scala code.

Attributes

Source
Generator.scala