Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T = any

Hierarchy

Index

Constructors

constructor

Properties

Readonly Abstract name

name: string

Methods

_buildTypeTableImpl

  • _buildTypeTableImpl(_typeTable: TypeTable): void

Abstract accept

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

    • D

    • R

    Parameters

    Returns R

buildTypeTable

  • buildTypeTable(typeTable: TypeTable): void
  • Parameters

    • typeTable: TypeTable

    Returns void

checkType

Abstract covariant

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

    Parameters

    • x: any

    Returns x is T

Abstract decodeValue

  • decodeValue(x: Pipe, t: Type<any>): T
  • Parameters

    • x: Pipe
    • t: Type<any>

    Returns T

display

  • display(): string
  • Returns string

Abstract encodeType

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

    Parameters

    • typeTable: TypeTable

    Returns Buffer

Abstract encodeValue

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

    internal

    Parameters

    • x: T

    Returns Buffer

valueToString

  • valueToString(x: T): string
  • Parameters

    • x: T

    Returns string

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 property
  • Inherited method
  • Enumeration