Package

com.trueaccord.scalapb

compiler

Permalink

package compiler

Visibility
  1. Public
  2. All

Type Members

  1. trait DescriptorPimps extends AnyRef

    Permalink
  2. sealed trait Expression extends Product with Serializable

    Permalink
  3. case class ExpressionList(l: List[LiteralExpression]) extends Expression with Product with Serializable

    Permalink
  4. trait FPrintable extends AnyRef

    Permalink
  5. case class FunctionApplication(name: String) extends LiteralExpression with Product with Serializable

    Permalink
  6. case class FunctionalPrinter(content: List[String] = Nil, indentLevel: Int = 0) extends Product with Serializable

    Permalink
  7. case class GeneratorParams(javaConversions: Boolean = false, flatPackage: Boolean = false) extends Product with Serializable

    Permalink
  8. sealed trait LiteralExpression extends Expression

    Permalink
  9. case class MethodApplication(name: String) extends LiteralExpression with Product with Serializable

    Permalink
  10. class PosixProtocDriver extends ProtocDriver

    Permalink

    A driver that creates a named pipe and sets up a shell script as a protoc plugin

  11. class ProtobufGenerator extends DescriptorPimps

    Permalink
  12. trait ProtocDriver extends AnyRef

    Permalink

    A ProtocDriver instance provides a platform-dependent way to launch protoc and and set up a two-way communication channel between protoc and this JVM.

    A ProtocDriver instance provides a platform-dependent way to launch protoc and and set up a two-way communication channel between protoc and this JVM.

    protoc is able to launch plugins. A plugin is expected to take a serialized CodeGenerationRequest via stdin and serialize a CodeGenerationRequest to stdout. The idea in ProtocDriver is to create a minimal plugin that wires its stdin/stdout to this JVM.

    The two-way communication always goes as follows:

    1. protoc writes a request to the stdin of a plugin 2. plugin writes the data to the channel 3. this JVM reads it, interprets it as CodeGenerationRequest and process it. 4. this JVM writes a CodeGenerationResponse to the channel 5. this JVM closes the channel. 6. the plugin reads the data and writes it to standard out. 7. protoc handles the CodeGenerationResponse (creates Scala sources)

  13. class WindowsProtocDriver extends ProtocDriver

    Permalink

    A driver that binds a server socket to a local interface.

    A driver that binds a server socket to a local interface. The plugin is a batch script that invokes Python, which will communicate wire its stdin and stdout to this socket.

Value Members

  1. object ExpressionBuilder

    Permalink
  2. object Identity extends LiteralExpression with Product with Serializable

    Permalink
  3. object Main extends App

    Permalink
  4. object Process

    Permalink
  5. object ProtobufGenerator

    Permalink
  6. object ProtocDriverFactory

    Permalink
  7. object Types

    Permalink

Ungrouped