Constructors

Properties

fields?: {
    name: string;
    type: ResolvedType;
}[]

Type declaration

id: number
isArray: boolean
isExtension: boolean
isOptional: boolean
name: string
variant?: ResolvedType[]

Accessors

  • get allFields(): undefined | {
        name: string;
        type: ResolvedType;
    }[]
  • All fields including base struct(s), undefined if not a struct type.

    Returns undefined | {
        name: string;
        type: ResolvedType;
    }[]

  • get typeName(): string
  • Type name including suffixes: [] array, ? optional, $ binary ext

    Returns string