Package

gopkg.in.bblfsh.sdk.v2.protocol

driver

Permalink

package driver

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait DevelopmentStatus extends GeneratedEnum

    Permalink
  2. final case class ErrorDetails(reason: Reason = ...) extends GeneratedMessage with Message[ErrorDetails] with Updatable[ErrorDetails] with Product with Serializable

    Permalink

    ErrorDetails adds bblfsh-specific information to gRPC errors (google.rpc.Status).

    ErrorDetails adds bblfsh-specific information to gRPC errors (google.rpc.Status).

    Annotations
    @SerialVersionUID()
  3. final case class Manifest(name: String = "", language: String = "", aliases: Seq[String] = _root_.scala.collection.Seq.empty, version: Option[Version] = None, status: DevelopmentStatus = ..., features: Seq[String] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[Manifest] with Updatable[Manifest] with Product with Serializable

    Permalink

    name

    Name is a human-readable language or driver name.

    language

    Language is a Babelfish language identifier.

    aliases

    Aliases is a list of alternative language identifiers from Enry/Linguist.

    version

    Version of the language driver.

    status

    Status of the driver development.

    features

    Features this driver supports.

    Annotations
    @SerialVersionUID()
  4. sealed trait Mode extends GeneratedEnum

    Permalink
  5. final case class ParseError(text: String = "") extends GeneratedMessage with Message[ParseError] with Updatable[ParseError] with Product with Serializable

    Permalink

    text

    Text is an error message.

    Annotations
    @SerialVersionUID()
  6. final case class ParseRequest(content: String = "", language: String = "", filename: String = "", mode: Mode = ...) extends GeneratedMessage with Message[ParseRequest] with Updatable[ParseRequest] with Product with Serializable

    Permalink

    ParseRequest is a request to parse a file and get its UAST.

    ParseRequest is a request to parse a file and get its UAST.

    content

    Content stores the content of a source file. Required.

    language

    Language can be set optionally to disable automatic language detection.

    filename

    Filename can be set optionally to assist automatic language detection.

    mode

    Mode sets a transformation pipeline used for UAST.

    Annotations
    @SerialVersionUID()
  7. final case class ParseResponse(uast: ByteString = ..., language: String = "", errors: Seq[ParseError] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[ParseResponse] with Updatable[ParseResponse] with Product with Serializable

    Permalink

    ParseResponse is the reply to ParseRequest.

    ParseResponse is the reply to ParseRequest.

    uast

    UAST is a binary encoding of the resulting UAST.

    language

    Language that was automatically detected.

    errors

    Errors is a list of parsing errors. Only set if parser was able to return a response. Otherwise gRPC error codes are used.

    Annotations
    @SerialVersionUID()
  8. final case class SupportedLanguagesRequest() extends GeneratedMessage with Message[SupportedLanguagesRequest] with Updatable[SupportedLanguagesRequest] with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  9. final case class SupportedLanguagesResponse(languages: Seq[Manifest] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[SupportedLanguagesResponse] with Updatable[SupportedLanguagesResponse] with Product with Serializable

    Permalink

    languages

    Languages is a list of driver manifests for each language supported by the server.

    Annotations
    @SerialVersionUID()
  10. final case class Version(version: String = "", build: Option[Timestamp] = None) extends GeneratedMessage with Message[Version] with Updatable[Version] with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  11. final case class VersionRequest() extends GeneratedMessage with Message[VersionRequest] with Updatable[VersionRequest] with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  12. final case class VersionResponse(version: Option[Version] = None) extends GeneratedMessage with Message[VersionResponse] with Updatable[VersionResponse] with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()

Value Members

  1. object DevelopmentStatus extends GeneratedEnumCompanion[DevelopmentStatus] with Serializable

    Permalink
  2. object DriverGrpc

    Permalink
  3. object DriverHostGrpc

    Permalink
  4. object DriverProto extends GeneratedFileObject

    Permalink
  5. object ErrorDetails extends GeneratedMessageCompanion[ErrorDetails] with Serializable

    Permalink
  6. object Manifest extends GeneratedMessageCompanion[Manifest] with Serializable

    Permalink
  7. object Mode extends GeneratedEnumCompanion[Mode] with Serializable

    Permalink
  8. object ParseError extends GeneratedMessageCompanion[ParseError] with Serializable

    Permalink
  9. object ParseRequest extends GeneratedMessageCompanion[ParseRequest] with Serializable

    Permalink
  10. object ParseResponse extends GeneratedMessageCompanion[ParseResponse] with Serializable

    Permalink
  11. object SupportedLanguagesRequest extends GeneratedMessageCompanion[SupportedLanguagesRequest] with Serializable

    Permalink
  12. object SupportedLanguagesResponse extends GeneratedMessageCompanion[SupportedLanguagesResponse] with Serializable

    Permalink
  13. object Version extends GeneratedMessageCompanion[Version] with Serializable

    Permalink
  14. object VersionRequest extends GeneratedMessageCompanion[VersionRequest] with Serializable

    Permalink
  15. object VersionResponse extends GeneratedMessageCompanion[VersionResponse] with Serializable

    Permalink

Ungrouped