Represents an IDL function reference.

Param: argTypes

Argument types.

Param: retTypes

Return types.

Param: annotations

Function annotations.

Hierarchy (view full)

Constructors

Properties

argTypes: types.IDL.Type<any>[]
retTypes: types.IDL.Type<any>[]
annotations: string[]
encodeAnnotation: any

Accessors

  • get name(): string
  • Returns string

Methods

  • Parameters

    • typeTable: TypeTable

    Returns void

  • Implement I in the IDL spec. Encode this type for the type table.

    Parameters

    • typeTable: TypeTable

    Returns ArrayBuffer

  • Parameters

    Returns string

  • Assert that JavaScript's x is the proper type represented by this Type.

    Parameters

    • x: any

    Returns x is [types.Principal, string]

  • Internal

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

    Parameters

    Returns ArrayBuffer

  • Parameters

    • T: TypeTable

    Returns void

  • Parameters

    Returns string

  • Returns string