bindgen.rendering

Members list

Type members

Classlikes

object AliasResolver

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class Allocations(params: Set[Int], returnValue: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CFunctionName extends OpaqueString[CFunctionName]

Attributes

Supertypes
trait OpaqueString[CFunctionName]
trait TotalWrapper[CFunctionName, String]
class Object
trait Matchable
class Any
Self type
case class Constants(enums: Seq[Enum])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Error(msg: String) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum Exported

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LineBuilder

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class ParameterRewrite(name: StructParameterName, originalType: CType, newRawType: CType, newRichType: CType)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum RenderMode

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum Sanitation

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ScalaFunctionName extends OpaqueString[ScalaFunctionName]

Attributes

Supertypes
trait OpaqueString[ScalaFunctionName]
trait TotalWrapper[ScalaFunctionName, String]
class Object
trait Matchable
class Any
Self type
object StreamName extends OpaqueString[StreamName]

Attributes

Supertypes
trait OpaqueString[StreamName]
trait TotalWrapper[StreamName, String]
class Object
trait Matchable
class Any
Self type
StreamName.type
case class TypeImports(enums: Boolean, aliases: Boolean, structs: Boolean, unions: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

opaque type AliasResolver
type Appender = Config ?=> String => Unit
opaque type CFunctionName
opaque type LineBuilder
opaque type ScalaFunctionName
opaque type StreamName

Value members

Concrete methods

def alias(model: Alias, line: Appender)(using AliasResolver, Config): Exported
def aliasResolver(name: String)(using ar: AliasResolver): CType
def align(offset: CSize, alignment: CSize): ULong
def alignment(typ: CType)(using AliasResolver): CSize
def constants(model: Constants, line: Appender)(using Config, AliasResolver): Unit
def enumeration(model: Enum, line: Appender)(using Config, AliasResolver): Exported
def escape(name: String): String
def hasEnum(st: Union | Struct | Enum): Boolean
def indent(using c: Config): String
def isCyclical(typ: CType, structName: StructName)(using AliasResolver, Config): Option[List[String]]
def natDigits(i: Long): String
def natDigitsTag(i: Long): String
def nest(f: Config ?=> Unit)(using config: Config): Unit
def nestIf(cond: Boolean)(f: Config ?=> Unit)(using config: Config): Unit
def offsets(typ: Struct)(using AliasResolver): List[ULong]
def packageName(using conf: Context): String
def raiseError(msg: String): Nothing
def renderBinding(rawBinding: Binding, outputMode: OutputMode)(using Context, Config): RenderedOutput
def renderComment(line: Appender, meta: Meta)(using config: Config): Unit
def renderName(name: Model)(using config: Config): String
def sanitise(name: String): Sanitation
def sanitiseBeforeColon(name: String): String
def scalaTag(typ: CType)(using AliasResolver, Config): String
def scalaType(typ: CType)(using AliasResolver, Config): String
def shouldRender(definition: Def)(using config: Config): Boolean
def staticSize(typ: CType)(using AliasResolver): CSize
def struct(struct: Struct, line: Appender)(using c: Config, ar: AliasResolver): Exported
def to(sb: LineBuilder)(using config: Config): Appender
def union(model: Union, line: Appender)(using Config)(using ar: AliasResolver): Exported

Concrete fields

val scalaKeyWords: Set[String]