Type Alias Config<param>

Config<param>: {
    advice_global_variable: GetDefault<param, "AdviceGlobalVariable", string>;
    initial_state: GetDefault<param, "InitialState", Json>;
    pointcut: Pointcut<param>;
}

Configuration object for standard weaving.

Type Parameters

  • param extends Partial<Atom> & {
        AdviceGlobalVariable?: string;
        InitialState?: Json;
        Tag?: Json;
    } = {}

Type declaration

  • advice_global_variable: GetDefault<param, "AdviceGlobalVariable", string>

    The global variable that refers to the advice object for standard weaving. Make sure it does not clash with other global variables.

    "_ARAN_ADVICE_"

  • initial_state: GetDefault<param, "InitialState", Json>

    The initial state passed to the program-block@setup advice function. It will be cloned with JSON serialization.

    null

  • pointcut: Pointcut<param>

    The pointcut for the standard weaving API.

    false