Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a special Rego Term type: reference term You shouldn't use this class directly

export

Hierarchy

  • RegoRef

Index

Constructors

Properties

hasNoResolvableRef: boolean = false

Whether the expression contains any resolvable references. reference start with input. should be considered as non-resolvable in context of partial evaluation. When this field is set to true, we should not attempt to evaluate this expression. i.e. evaluate() method should return immediately. This will speed up evaluation process.

memberof

RegoRef

parts: RegoRefPart[]

Methods

  • asCollectionRefs(removalPrefixs?: string[]): string[]
  • Parameters

    • removalPrefixs: string[] = []

    Returns string[]

  • fullRefString(removalPrefixs?: string[]): string
  • Parameters

    • removalPrefixs: string[] = []

    Returns string

  • hasCollectionLookup(): boolean
  • isOperator(): boolean
  • isResolveAsCollectionValue(): boolean
  • isSimpleCollectionLookup(): boolean
  • refString(removalPrefixs?: string[]): string
  • Parameters

    • removalPrefixs: string[] = []

    Returns string

  • removeAllPrefixs(str: string, removalPrefixs?: string[]): string
  • Parameters

    • str: string
    • removalPrefixs: string[] = []

    Returns string

  • toJson(): string

Generated using TypeDoc