All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalagen.readUnionField.scala Maven / Gradle / Ivy

There is a newer version: 21.5.0
Show newest version
case {{id}} => // {{fieldName}}
  _field.`type` match {
{{#isEnum}}
    case TType.I32 | TType.ENUM =>
{{/isEnum}}
{{^isEnum}}
    case TType.{{constType}} =>
{{/isEnum}}
      _result = {{StructName}}.{{FieldName}}({
        {{>readValue}}
      })
    case _ => TProtocolUtil.skip(_iprot, _field.`type`)
  }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy