Class/Object

gopkg.in.bblfsh.sdk.v2.protocol.driver

ParseResponse

Related Docs: object ParseResponse | package driver

Permalink

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

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()
Linear Supertypes
Product, Equals, Updatable[ParseResponse], Message[ParseResponse], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParseResponse
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParseResponse(uast: ByteString = ..., language: String = "", errors: Seq[ParseError] = _root_.scala.collection.Seq.empty)

    Permalink

    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.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllErrors(__vs: TraversableOnce[ParseError]): ParseResponse

    Permalink
  5. def addErrors(__vs: ParseError*): ParseResponse

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearErrors: ParseResponse

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def companion: ParseResponse.type

    Permalink
    Definition Classes
    ParseResponse → GeneratedMessage
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. val errors: Seq[ParseError]

    Permalink

    Errors is a list of parsing errors.

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

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    ParseResponse → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    ParseResponse → GeneratedMessage
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val language: String

    Permalink

    Language that was automatically detected.

  18. def mergeFrom(_input__: CodedInputStream): ParseResponse

    Permalink
    Definition Classes
    ParseResponse → Message
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def serializedSize: Int

    Permalink
    Definition Classes
    ParseResponse → GeneratedMessage
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  25. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  26. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  27. def toProtoString: String

    Permalink
    Definition Classes
    ParseResponse → GeneratedMessage
  28. val uast: ByteString

    Permalink

    UAST is a binary encoding of the resulting UAST.

  29. def update(ms: (Lens[ParseResponse, ParseResponse]) ⇒ Mutation[ParseResponse]*): ParseResponse

    Permalink
    Definition Classes
    Updatable
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withErrors(__v: Seq[ParseError]): ParseResponse

    Permalink
  34. def withLanguage(__v: String): ParseResponse

    Permalink
  35. def withUast(__v: ByteString): ParseResponse

    Permalink
  36. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  37. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    ParseResponse → GeneratedMessage
  38. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[ParseResponse]

Inherited from Message[ParseResponse]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped