Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new KeyToken(val: { annots: any[]; args: any[]; prim: string }, idx: number, fac: TokenFactory): KeyToken

Properties

createToken

createToken: (val: any, idx: number) => Token = this.fac

Type declaration

    • (val: any, idx: number): Token
    • Parameters

      • val: any
      • idx: number

      Returns Token

Protected fac

Protected idx

idx: number

Protected val

val: { annots: any[]; args: any[]; prim: string }

Type declaration

  • annots: any[]
  • args: any[]
  • prim: string

Static prim

prim: string = "key"

Methods

Encode

  • Encode(args: any[]): any

EncodeObject

  • EncodeObject(val: any): any

Execute

  • Execute(val: { bytes: string; string: string }): string

ExtractSchema

  • ExtractSchema(): string

ExtractSignature

  • ExtractSignature(): any[][]

annot

  • annot(): any

hasAnnotations

  • hasAnnotations(): number | false

Protected typeWithoutAnnotations

  • typeWithoutAnnotations(): { args?: any[]; prim: string }

Generated using TypeDoc