Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "qvar"

Index

Variables

Let AUTO_QVAR_ID

AUTO_QVAR_ID: number = 0

Const AUTO_QVAR_PREFIX

AUTO_QVAR_PREFIX: "?__q" = "?__q"

Functions

Const autoQVar

  • autoQVar(): string

Const isAutoQVar

  • isAutoQVar(x: any): boolean
  • Parameters

    • x: any

    Returns boolean

Const isQVar

  • isQVar(x: any): boolean
  • Parameters

    • x: any

    Returns boolean

Const qvarName

  • qvarName(x: string): string
  • Parameters

    • x: string

    Returns string

Const qvarResolver

  • qvarResolver(vs: boolean, vp: boolean, vo: boolean, s: any, p: any, o: any): (Anonymous function)
  • Returns an optimized query variable solution extractor function based on given pattern type. vs, vp, vo are flags to indicate if s, p and/or o pattern items are query variables. The returned fn will be optimized to 1 of the 8 possible case and accepts a single fact to extract the respective variables from.

    Parameters

    • vs: boolean
    • vp: boolean
    • vo: boolean
    • s: any
    • p: any
    • o: any

    Returns (Anonymous function)

Generated using TypeDoc