Class VisitLayout<A>

Visit the candid file and extract the details. It returns the extracted service details.

Type Parameters

Hierarchy (view full)

Constructors

Properties

counter: number = 0
height: number = 0
visitedRecursive: Record<string, true> = {}
visitInt: (<T>(_t) => void) = ...

Type declaration

    • <T>(_t): void
    • Type Parameters

      • T

      Parameters

      Returns void

visitNat: (<T>(_t) => void) = ...

Type declaration

    • <T>(_t): void
    • Type Parameters

      • T

      Parameters

      Returns void

visitFloat: (<T>(_t) => void) = ...

Type declaration

    • <T>(_t): void
    • Type Parameters

      • T

      Parameters

      Returns void

visitFixedInt: (<T>(_t) => void) = ...

Type declaration

    • <T>(_t): void
    • Type Parameters

      • T

      Parameters

      Returns void

visitFixedNat: (<T>(_t) => void) = ...

Type declaration

    • <T>(_t): void
    • Type Parameters

      • T

      Parameters

      Returns void

breakpoints: readonly [{
    name: "xl";
    size: 6;
}, {
    name: "md";
    size: 4;
}, {
    name: "xs";
    size: 2;
}] = DEFAULT_LAYOUTS

Methods

  • Parameters

    • Optional categoryTest: string | CategoryTest[]

    Returns {
        [k: string]: T;
    }

    • [k: string]: T