Class: abstract
LogicalExpression<T>
Abstract logic expression (AND|OR)
Could add XOR in the future
Extends
Expression
<T
>
Type parameters
• T
Constructors
new LogicalExpression(operator, children)
new LogicalExpression<
T
>(operator
,children
):LogicalExpression
<T
>
Parameters
• operator: T
• children: Expression
<string
>[]
Returns
Overrides
Source
packages/core/src/stores/webdaql/query.ts:503
Properties
children
children:
Expression
<string
>[] =[]
Contains the members of the logical expression
Source
packages/core/src/stores/webdaql/query.ts:497
operator
operator:
T
Inherited from
Source
packages/core/src/stores/webdaql/query.ts:318
Methods
eval()
abstract
eval(target
):boolean
Evaluate the expression for the target object
Parameters
• target: any
to evaluate
Returns
boolean
Inherited from
Source
packages/core/src/stores/webdaql/query.ts:328
toString()
toString(
depth
):string
Parameters
• depth: number
= 0
Returns
string