Hierarchy

  • Expression

Index

Constructors

constructor

  • Textual representation of the expression to evaluate.

    Returns Expression

Properties

error

error: string

evaluateFunction

evaluateFunction: any

evaluateParameter

evaluateParameter: any

options

Protected originalExpression

originalExpression: string

Protected parameterEnumerators

parameterEnumerators: Dictionary<string, List<any>>

parameters

parameters: Dictionary<string, any> = new Dictionary<string, object>()

Protected parametersBackup

parametersBackup: Dictionary<string, any>

parsedExpression

parsedExpression: LogicalExpression

Accessors

Static cacheEnabled

  • get cacheEnabled(): boolean
  • set cacheEnabled(value: boolean): void
  • Returns boolean

  • Parameters

    • value: boolean

    Returns void

Methods

evaluate

  • evaluate(): any
  • Returns any

hasErrors

  • hasErrors(): boolean
  • Pre-compiles the expression in order to check syntax errors. If errors are detected, the Error property contains the message.

    Returns boolean

    True if the expression syntax is correct, otherwiser False

Static compile

Static create1

Static create2

Object literals

Static Timeout

Timeout: object

Infinite

Infinite: number = 100000

Generated using TypeDoc