whether the Predicate should be displayed, or not
Adds new child predicate of type EditableElementaryPredicate
whether the new predicate should be initially visible
Generates an id for the new predicate, adds it into the map and updates the query
If you want to add an editable predicate, use one of the other methods, so that this predicate can react to changes.
an Array containing text segments representing the content of this predicate. The default implementation returns an empty array.
an object containing the necessary information for the reconstruction of the entire predicate tree in serializable form.
Returns undefined
if the predicate tree rooted at this node is incomplete and would evaluate into an empty filter.
Cleans-up the inner state of this object
Notify the parent Predicate
that this Predicate
updated its Query
Sets the predicates state to visible
Sets this predicate and all its sub-predicates to visible.
Shows the predicates with the given ids. Skips ids that don't exist.
the ids of the predicates that should be shown.
Updates the value of the [_query]{@link ClausePredicate#_query} attribute.
See [combineQueries()]{@link Query#combineQueries} for more information.
Updates the Query
and notifies the parent.
Combines the text segments of the predicates with the given operator and wraps the individual predicates in brackets optionaly
sources of text segments that are to be combined with a boolean operator
boolean operator used to combine the individual predicate text segments
whether the individual predicate text segments should be wrapped in braces or not (if only one predicate is provided it is never wrapped)
Generated using TypeDoc
Adds new child predicate of type EditableClausePredicate