src/Pure/PIDE/protocol.scala
changeset 59671 9715eb8e9408
parent 59364 3b5da177ae6b
child 59685 c043306d2598
equal deleted inserted replaced
59666:0e9f303d1515 59671:9715eb8e9408
   380   /* interned items */
   380   /* interned items */
   381 
   381 
   382   def define_blob(digest: SHA1.Digest, bytes: Bytes): Unit =
   382   def define_blob(digest: SHA1.Digest, bytes: Bytes): Unit =
   383     protocol_command_bytes("Document.define_blob", Bytes(digest.toString), bytes)
   383     protocol_command_bytes("Document.define_blob", Bytes(digest.toString), bytes)
   384 
   384 
   385   def define_command(command: Command): Unit =
   385   def define_command(command: Command)
   386   {
   386   {
   387     val blobs_yxml =
   387     val blobs_yxml =
   388     { import XML.Encode._
   388     { import XML.Encode._
   389       val encode_blob: T[Command.Blob] =
   389       val encode_blob: T[Command.Blob] =
   390         variant(List(
   390         variant(List(