CodeGenResponse

nscn.polaris2.protoc.bridge.codegen.CodeGenResponse
See theCodeGenResponse companion trait

Attributes

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

Members list

Type members

Inherited and Abstract 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 fail(message: String): CodeGenResponse
def succeed(files: Seq[File]): CodeGenResponse
def succeed(files: Seq[File], supportedFeatures: Set[Feature]): CodeGenResponse
def succeed(files: Seq[File], supportedFeatures: Set[Feature], minimumEdition: Option[Edition], maximumEdition: Option[Edition]): CodeGenResponse

Full form, including the edition window.

Full form, including the edition window.

minimumEdition/maximumEdition are what protoc checks each edition .proto against before handing it to the plugin, so a generator that advertises FEATURE_SUPPORTS_EDITIONS must supply them.

Attributes