scala.field.impl_bitfield.ssp Maven / Gradle / Ivy
The newest version!
<%
// Copyright 2013 Foursquare Labs Inc. All Rights Reserved.
import com.foursquare.spindle.codegen.runtime.{BitfieldStructRenderType, ScalaField, StructLike}
%>
<%@ val field: ScalaField %>
<%@ val cls: StructLike %>
<%
val renderType: BitfieldStructRenderType = field.renderType.asInstanceOf[BitfieldStructRenderType]
render("../" + renderType.ref.fieldImplTemplate, Map("field" -> field, "cls" -> cls, "renderType" -> renderType.ref))
%>
override def ${field.name}Struct: ${renderType.className} = ${renderType.bitfieldRead}(this.${field.escapedName}, ${renderType.className})
© 2015 - 2025 Weber Informatics LLC | Privacy Policy