Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an IDL Empty, a type which has no inhabitants. Since no values exist for this type, it cannot be serialised or deserialised. Result types like Result<Text, Empty> should always succeed.

Hierarchy

Index

Constructors

constructor

Accessors

name

  • get name(): string
  • Returns string

Methods

_buildTypeTableImpl

  • _buildTypeTableImpl(_typeTable: TypeTable): void

accept

  • accept<D, R>(v: Visitor<D, R>, d: D): R

buildTypeTable

  • buildTypeTable(typeTable: TypeTable): void

checkType

covariant

  • covariant(_x: any): _x is never
  • Assert that JavaScript's x is the proper type represented by this Type.

    Parameters

    • _x: any

    Returns _x is never

decodeValue

  • decodeValue(): never

display

  • display(): string

encodeType

  • encodeType(): Buffer
  • Implement I in the IDL spec. Encode this type for the type table.

    Returns Buffer

encodeValue

  • encodeValue(): never
  • Encode the value. This needs to be public because it is used by encodeValue() from different types.

    Returns never

valueToString

  • valueToString(): never

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Method
  • Interface
  • Interface with type parameter
  • Inherited constructor
  • Inherited method
  • Enumeration