Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Readonly _fields

_fields: [string, FuncClass][]

Accessors

name

  • get name(): string
  • Returns string

Methods

_buildTypeTableImpl

  • _buildTypeTableImpl(T: 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 Principal
  • Assert that JavaScript's x is the proper type represented by this Type.

    Parameters

    • x: any

    Returns x is Principal

decodeValue

  • decodeValue(b: Pipe): Principal

display

  • display(): string

encodeType

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

    Parameters

    • typeTable: TypeTable

    Returns Buffer

encodeValue

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

    Parameters

    • x: Principal

    Returns Buffer

valueToString

  • valueToString(x: Principal): string

Legend

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