Visitor implementation for traversing and processing PFQL (Process Filter Query Language) parse trees. This visitor converts parsed PFQL queries into executable query items that can be used to filter cases and tasks.

The visitor supports:

  • Case queries with various search criteria (title, author, creation date, process, data fields)
  • Task queries with assignee and transition filters
  • Complex boolean expressions with AND, OR operations and parenthesized groups
  • Multiple comparison operators (equality, ranges, null checks, like patterns)
  • Data field queries with type-specific comparisons

Hierarchy (view full)

Constructors

Properties

_allowedNetsService _categoryFactory _categoryOptionalDependencies _logger _operatorService _userResourceService _userService visitAuthorList? visitAuthorNull? visitBooleanComparison? visitCaseAttribute? visitCaseAttributeOrdering? visitCaseComparisons? visitCaseCondition? visitCaseConditionGroupBasic? visitCaseConditions? visitCaseIdBasic? visitCaseIdList? visitCaseIdNull? visitCaseSorting? visitCdDateList? visitCdNull? visitDataDateList? visitDataNumberList? visitDataOptions? visitDataOptionsBasic? visitDataOptionsList? visitDataOptionsNull? visitDataOptionsRange? visitDataStringList? visitDataStringRange? visitDataValue? visitDateComparison? visitDateList? visitDateRange? visitDateTimeComparison? visitDateTimeList? visitDateTimeRange? visitDelimeter? visitDoubleList? visitDoubleRange? visitEmailBasic? visitEmailList? visitEmailNull? visitEmailRange? visitIdentifierBasic? visitIdentifierList? visitIdentifierNull? visitIdentifierRange? visitIdList? visitIdNull? visitInListDateComparison? visitInListNumberComparison? visitInListStringComparison? visitInListVersionComparison? visitInRangeDateComparison? visitInRangeNumberComparison? visitInRangeStringComparison? visitInRangeVersionComparison? visitIntList? visitIntRange? visitJavaId? visitLaDateBasic? visitLaDateList? visitLaDateRange? visitLaDateTimeBasic? visitLaNull? visitLfDateBasic? visitLfDateList? visitLfDateRange? visitLfDateTimeBasic? visitLfNull? visitLoggedUserStringAttribute? visitNameBasic? visitNameList? visitNameNull? visitNameRange? visitNullComparison? visitNumberComparison? visitObjectIdComparison? visitPaging? visitPlaces? visitPlacesBasic? visitPlacesList? visitPlacesNull? visitPlacesRange? visitProcessAndExpression? visitProcessAttribute? visitProcessAttributeOrdering? visitProcessComparisons? visitProcessCondition? visitProcessConditionGroupBasic? visitProcessConditionGroupParenthesis? visitProcessConditions? visitProcessConditionsAndPaging? visitProcessIdentifierList? visitProcessIdentifierNull? visitProcessIdentifierRange? visitProcessIdList? visitProcessIdNull? visitProcessIdObjIdBasic? visitProcessIdObjIdList? visitProcessIdObjNull? visitProcessOrExpression? visitProcessQuery? visitProcessSorting? visitStateComparison? visitStringComparison? visitStringLikeComparison? visitStringList? visitStringRange? visitSurnameBasic? visitSurnameList? visitSurnameNull? visitSurnameRange? visitTaskAttribute? visitTaskAttributeOrdering? visitTaskComparisons? visitTaskCondition? visitTaskConditionGroupBasic? visitTaskConditions? visitTaskSorting? visitTasksState? visitTasksStateComparison? visitTasksUserId? visitTasksUserIdBasic? visitTasksUserIdList? visitTasksUserIdNull? visitTitleList? visitTitleNull? visitTitleRange? visitTransitionIdList? visitTransitionIdNull? visitTransitionIdRange? visitUserAndExpression? visitUserAttribute? visitUserAttributeOrdering? visitUserComparisons? visitUserCondition? visitUserConditionGroupBasic? visitUserConditionGroupParenthesis? visitUserConditions? visitUserConditionsAndPaging? visitUserIdList? visitUserOrExpression? visitUserQuery? visitUserSorting? visitVersionBasic? visitVersionList? visitVersionListCmp? visitVersionNull? visitVersionRange? visitVersionRangeCmp?

Methods

Constructors

Properties

_allowedNetsService: AllowedNetsService
_categoryFactory: CategoryFactory
_categoryOptionalDependencies: OptionalDependencies
_logger: LoggerService
_operatorService: OperatorService
_userResourceService: UserResourceService
_userService: UserService
visitAuthorList?: ((ctx: AuthorListContext) => QueryItem[])

Visit a parse tree produced by the authorList labeled alternative in QueryLangParser.authorComparison.

Type declaration

visitAuthorNull?: ((ctx: AuthorNullContext) => QueryItem[])

Visit a parse tree produced by the authorNull labeled alternative in QueryLangParser.authorComparison.

Type declaration

visitBooleanComparison?: ((ctx: BooleanComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.booleanComparison.

Type declaration

visitCaseAttribute?: ((ctx: CaseAttributeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.caseAttribute.

Type declaration

visitCaseAttributeOrdering?: ((ctx: CaseAttributeOrderingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.caseAttributeOrdering.

Type declaration

visitCaseComparisons?: ((ctx: CaseComparisonsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.caseComparisons.

Type declaration

visitCaseCondition?: ((ctx: CaseConditionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.caseCondition.

Type declaration

visitCaseConditionGroupBasic?: ((ctx: CaseConditionGroupBasicContext) => QueryItem[])

Visit a parse tree produced by the caseConditionGroupBasic labeled alternative in QueryLangParser.caseConditionGroup.

Type declaration

visitCaseConditions?: ((ctx: CaseConditionsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.caseConditions.

Type declaration

visitCaseIdBasic?: ((ctx: CaseIdBasicContext) => QueryItem[])

Visit a parse tree produced by the caseIdBasic labeled alternative in QueryLangParser.caseIdComparison.

Type declaration

visitCaseIdList?: ((ctx: CaseIdListContext) => QueryItem[])

Visit a parse tree produced by the caseIdList labeled alternative in QueryLangParser.caseIdComparison.

Type declaration

visitCaseIdNull?: ((ctx: CaseIdNullContext) => QueryItem[])

Visit a parse tree produced by the caseIdNull labeled alternative in QueryLangParser.caseIdComparison.

Type declaration

visitCaseSorting?: ((ctx: CaseSortingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.caseSorting.

Type declaration

visitCdDateList?: ((ctx: CdDateListContext) => QueryItem[])

Visit a parse tree produced by the cdDateList labeled alternative in QueryLangParser.creationDateComparison.

Type declaration

visitCdNull?: ((ctx: CdNullContext) => QueryItem[])

Visit a parse tree produced by the cdNull labeled alternative in QueryLangParser.creationDateComparison.

Type declaration

visitDataDateList?: ((ctx: DataDateListContext) => QueryItem[])

Visit a parse tree produced by the dataDateList labeled alternative in QueryLangParser.dataValueComparison.

Type declaration

visitDataNumberList?: ((ctx: DataNumberListContext) => QueryItem[])

Visit a parse tree produced by the dataNumberList labeled alternative in QueryLangParser.dataValueComparison.

Type declaration

visitDataOptions?: ((ctx: DataOptionsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dataOptions.

Type declaration

visitDataOptionsBasic?: ((ctx: DataOptionsBasicContext) => QueryItem[])

Visit a parse tree produced by the dataOptionsBasic labeled alternative in QueryLangParser.dataOptionsComparison.

Type declaration

visitDataOptionsList?: ((ctx: DataOptionsListContext) => QueryItem[])

Visit a parse tree produced by the dataOptionsList labeled alternative in QueryLangParser.dataOptionsComparison.

Type declaration

visitDataOptionsNull?: ((ctx: DataOptionsNullContext) => QueryItem[])

Visit a parse tree produced by the dataOptionsNull labeled alternative in QueryLangParser.dataOptionsComparison.

Type declaration

visitDataOptionsRange?: ((ctx: DataOptionsRangeContext) => QueryItem[])

Visit a parse tree produced by the dataOptionsRange labeled alternative in QueryLangParser.dataOptionsComparison.

Type declaration

visitDataStringList?: ((ctx: DataStringListContext) => QueryItem[])

Visit a parse tree produced by the dataStringList labeled alternative in QueryLangParser.dataValueComparison.

Type declaration

visitDataStringRange?: ((ctx: DataStringRangeContext) => QueryItem[])

Visit a parse tree produced by the dataStringRange labeled alternative in QueryLangParser.dataValueComparison.

Type declaration

visitDataValue?: ((ctx: DataValueContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dataValue.

Type declaration

visitDateComparison?: ((ctx: DateComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dateComparison.

Type declaration

visitDateList?: ((ctx: DateListContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dateList.

Type declaration

visitDateRange?: ((ctx: DateRangeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dateRange.

Type declaration

visitDateTimeComparison?: ((ctx: DateTimeComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dateTimeComparison.

Type declaration

visitDateTimeList?: ((ctx: DateTimeListContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dateTimeList.

Type declaration

visitDateTimeRange?: ((ctx: DateTimeRangeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.dateTimeRange.

Type declaration

visitDelimeter?: ((ctx: DelimeterContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.delimeter.

Type declaration

visitDoubleList?: ((ctx: DoubleListContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.doubleList.

Type declaration

visitDoubleRange?: ((ctx: DoubleRangeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.doubleRange.

Type declaration

visitEmailBasic?: ((ctx: EmailBasicContext) => QueryItem[])

Visit a parse tree produced by the emailBasic labeled alternative in QueryLangParser.emailComparison.

Type declaration

visitEmailList?: ((ctx: EmailListContext) => QueryItem[])

Visit a parse tree produced by the emailList labeled alternative in QueryLangParser.emailComparison.

Type declaration

visitEmailNull?: ((ctx: EmailNullContext) => QueryItem[])

Visit a parse tree produced by the emailNull labeled alternative in QueryLangParser.emailComparison.

Type declaration

visitEmailRange?: ((ctx: EmailRangeContext) => QueryItem[])

Visit a parse tree produced by the emailRange labeled alternative in QueryLangParser.emailComparison.

Type declaration

visitIdentifierBasic?: ((ctx: IdentifierBasicContext) => QueryItem[])

Visit a parse tree produced by the identifierBasic labeled alternative in QueryLangParser.identifierComparison.

Type declaration

visitIdentifierList?: ((ctx: IdentifierListContext) => QueryItem[])

Visit a parse tree produced by the identifierList labeled alternative in QueryLangParser.identifierComparison.

Type declaration

visitIdentifierNull?: ((ctx: IdentifierNullContext) => QueryItem[])

Visit a parse tree produced by the identifierNull labeled alternative in QueryLangParser.identifierComparison.

Type declaration

visitIdentifierRange?: ((ctx: IdentifierRangeContext) => QueryItem[])

Visit a parse tree produced by the identifierRange labeled alternative in QueryLangParser.identifierComparison.

Type declaration

visitIdList?: ((ctx: IdListContext) => QueryItem[])

Visit a parse tree produced by the idList labeled alternative in QueryLangParser.idComparison.

Type declaration

visitIdNull?: ((ctx: IdNullContext) => QueryItem[])

Visit a parse tree produced by the idNull labeled alternative in QueryLangParser.idComparison.

Type declaration

visitInListDateComparison?: ((ctx: InListDateComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inListDateComparison.

Type declaration

visitInListNumberComparison?: ((ctx: InListNumberComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inListNumberComparison.

Type declaration

visitInListStringComparison?: ((ctx: InListStringComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inListStringComparison.

Type declaration

visitInListVersionComparison?: ((ctx: InListVersionComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inListVersionComparison.

Type declaration

visitInRangeDateComparison?: ((ctx: InRangeDateComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inRangeDateComparison.

Type declaration

visitInRangeNumberComparison?: ((ctx: InRangeNumberComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inRangeNumberComparison.

Type declaration

visitInRangeStringComparison?: ((ctx: InRangeStringComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inRangeStringComparison.

Type declaration

visitInRangeVersionComparison?: ((ctx: InRangeVersionComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.inRangeVersionComparison.

Type declaration

visitIntList?: ((ctx: IntListContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.intList.

Type declaration

visitIntRange?: ((ctx: IntRangeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.intRange.

Type declaration

visitJavaId?: ((ctx: JavaIdContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.javaId.

Type declaration

visitLaDateBasic?: ((ctx: LaDateBasicContext) => QueryItem[])

Visit a parse tree produced by the laDateBasic labeled alternative in QueryLangParser.lastAssignComparison.

Type declaration

visitLaDateList?: ((ctx: LaDateListContext) => QueryItem[])

Visit a parse tree produced by the laDateList labeled alternative in QueryLangParser.lastAssignComparison.

Type declaration

visitLaDateRange?: ((ctx: LaDateRangeContext) => QueryItem[])

Visit a parse tree produced by the laDateRange labeled alternative in QueryLangParser.lastAssignComparison.

Type declaration

visitLaDateTimeBasic?: ((ctx: LaDateTimeBasicContext) => QueryItem[])

Visit a parse tree produced by the laDateTimeBasic labeled alternative in QueryLangParser.lastAssignComparison.

Type declaration

visitLaNull?: ((ctx: LaNullContext) => QueryItem[])

Visit a parse tree produced by the laNull labeled alternative in QueryLangParser.lastAssignComparison.

Type declaration

visitLfDateBasic?: ((ctx: LfDateBasicContext) => QueryItem[])

Visit a parse tree produced by the lfDateBasic labeled alternative in QueryLangParser.lastFinishComparison.

Type declaration

visitLfDateList?: ((ctx: LfDateListContext) => QueryItem[])

Visit a parse tree produced by the lfDateList labeled alternative in QueryLangParser.lastFinishComparison.

Type declaration

visitLfDateRange?: ((ctx: LfDateRangeContext) => QueryItem[])

Visit a parse tree produced by the lfDateRange labeled alternative in QueryLangParser.lastFinishComparison.

Type declaration

visitLfDateTimeBasic?: ((ctx: LfDateTimeBasicContext) => QueryItem[])

Visit a parse tree produced by the lfDateTimeBasic labeled alternative in QueryLangParser.lastFinishComparison.

Type declaration

visitLfNull?: ((ctx: LfNullContext) => QueryItem[])

Visit a parse tree produced by the lfNull labeled alternative in QueryLangParser.lastFinishComparison.

Type declaration

visitLoggedUserStringAttribute?: ((ctx: LoggedUserStringAttributeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.loggedUserStringAttribute.

Type declaration

visitNameBasic?: ((ctx: NameBasicContext) => QueryItem[])

Visit a parse tree produced by the nameBasic labeled alternative in QueryLangParser.nameComparison.

Type declaration

visitNameList?: ((ctx: NameListContext) => QueryItem[])

Visit a parse tree produced by the nameList labeled alternative in QueryLangParser.nameComparison.

Type declaration

visitNameNull?: ((ctx: NameNullContext) => QueryItem[])

Visit a parse tree produced by the nameNull labeled alternative in QueryLangParser.nameComparison.

Type declaration

visitNameRange?: ((ctx: NameRangeContext) => QueryItem[])

Visit a parse tree produced by the nameRange labeled alternative in QueryLangParser.nameComparison.

Type declaration

visitNullComparison?: ((ctx: NullComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.nullComparison.

Type declaration

visitNumberComparison?: ((ctx: NumberComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.numberComparison.

Type declaration

visitObjectIdComparison?: ((ctx: ObjectIdComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.objectIdComparison.

Type declaration

visitPaging?: ((ctx: PagingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.paging.

Type declaration

visitPlaces?: ((ctx: PlacesContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.places.

Type declaration

visitPlacesBasic?: ((ctx: PlacesBasicContext) => QueryItem[])

Visit a parse tree produced by the placesBasic labeled alternative in QueryLangParser.placesComparison.

Type declaration

visitPlacesList?: ((ctx: PlacesListContext) => QueryItem[])

Visit a parse tree produced by the placesList labeled alternative in QueryLangParser.placesComparison.

Type declaration

visitPlacesNull?: ((ctx: PlacesNullContext) => QueryItem[])

Visit a parse tree produced by the placesNull labeled alternative in QueryLangParser.placesComparison.

Type declaration

visitPlacesRange?: ((ctx: PlacesRangeContext) => QueryItem[])

Visit a parse tree produced by the placesRange labeled alternative in QueryLangParser.placesComparison.

Type declaration

visitProcessAndExpression?: ((ctx: ProcessAndExpressionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processAndExpression.

Type declaration

visitProcessAttribute?: ((ctx: ProcessAttributeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processAttribute.

Type declaration

visitProcessAttributeOrdering?: ((ctx: ProcessAttributeOrderingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processAttributeOrdering.

Type declaration

visitProcessComparisons?: ((ctx: ProcessComparisonsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processComparisons.

Type declaration

visitProcessCondition?: ((ctx: ProcessConditionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processCondition.

Type declaration

visitProcessConditionGroupBasic?: ((ctx: ProcessConditionGroupBasicContext) => QueryItem[])

Visit a parse tree produced by the processConditionGroupBasic labeled alternative in QueryLangParser.processConditionGroup.

Type declaration

visitProcessConditionGroupParenthesis?: ((ctx: ProcessConditionGroupParenthesisContext) => QueryItem[])

Visit a parse tree produced by the processConditionGroupParenthesis labeled alternative in QueryLangParser.processConditionGroup.

Type declaration

visitProcessConditions?: ((ctx: ProcessConditionsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processConditions.

Type declaration

visitProcessConditionsAndPaging?: ((ctx: ProcessConditionsAndPagingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processConditionsAndPaging.

Type declaration

visitProcessIdentifierList?: ((ctx: ProcessIdentifierListContext) => QueryItem[])

Visit a parse tree produced by the processIdentifierList labeled alternative in QueryLangParser.processIdentifierComparison.

Type declaration

visitProcessIdentifierNull?: ((ctx: ProcessIdentifierNullContext) => QueryItem[])

Visit a parse tree produced by the processIdentifierNull labeled alternative in QueryLangParser.processIdentifierComparison.

Type declaration

visitProcessIdentifierRange?: ((ctx: ProcessIdentifierRangeContext) => QueryItem[])

Visit a parse tree produced by the processIdentifierRange labeled alternative in QueryLangParser.processIdentifierComparison.

Type declaration

visitProcessIdList?: ((ctx: ProcessIdListContext) => QueryItem[])

Visit a parse tree produced by the processIdList labeled alternative in QueryLangParser.processIdComparison.

Type declaration

visitProcessIdNull?: ((ctx: ProcessIdNullContext) => QueryItem[])

Visit a parse tree produced by the processIdNull labeled alternative in QueryLangParser.processIdComparison.

Type declaration

visitProcessIdObjIdBasic?: ((ctx: ProcessIdObjIdBasicContext) => QueryItem[])

Visit a parse tree produced by the processIdObjIdBasic labeled alternative in QueryLangParser.processIdObjIdComparison.

Type declaration

visitProcessIdObjIdList?: ((ctx: ProcessIdObjIdListContext) => QueryItem[])

Visit a parse tree produced by the processIdObjIdList labeled alternative in QueryLangParser.processIdObjIdComparison.

Type declaration

visitProcessIdObjNull?: ((ctx: ProcessIdObjNullContext) => QueryItem[])

Visit a parse tree produced by the processIdObjNull labeled alternative in QueryLangParser.processIdObjIdComparison.

Type declaration

visitProcessOrExpression?: ((ctx: ProcessOrExpressionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processOrExpression.

Type declaration

visitProcessQuery?: ((ctx: ProcessQueryContext) => QueryItem[])

Visit a parse tree produced by the processQuery labeled alternative in QueryLangParser.query.

Type declaration

visitProcessSorting?: ((ctx: ProcessSortingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.processSorting.

Type declaration

visitStateComparison?: ((ctx: StateComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.stateComparison.

Type declaration

visitStringComparison?: ((ctx: StringComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.stringComparison.

Type declaration

visitStringLikeComparison?: ((ctx: StringLikeComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.stringLikeComparison.

Type declaration

visitStringList?: ((ctx: StringListContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.stringList.

Type declaration

visitStringRange?: ((ctx: StringRangeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.stringRange.

Type declaration

visitSurnameBasic?: ((ctx: SurnameBasicContext) => QueryItem[])

Visit a parse tree produced by the surnameBasic labeled alternative in QueryLangParser.surnameComparison.

Type declaration

visitSurnameList?: ((ctx: SurnameListContext) => QueryItem[])

Visit a parse tree produced by the surnameList labeled alternative in QueryLangParser.surnameComparison.

Type declaration

visitSurnameNull?: ((ctx: SurnameNullContext) => QueryItem[])

Visit a parse tree produced by the surnameNull labeled alternative in QueryLangParser.surnameComparison.

Type declaration

visitSurnameRange?: ((ctx: SurnameRangeContext) => QueryItem[])

Visit a parse tree produced by the surnameRange labeled alternative in QueryLangParser.surnameComparison.

Type declaration

visitTaskAttribute?: ((ctx: TaskAttributeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.taskAttribute.

Type declaration

visitTaskAttributeOrdering?: ((ctx: TaskAttributeOrderingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.taskAttributeOrdering.

Type declaration

visitTaskComparisons?: ((ctx: TaskComparisonsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.taskComparisons.

Type declaration

visitTaskCondition?: ((ctx: TaskConditionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.taskCondition.

Type declaration

visitTaskConditionGroupBasic?: ((ctx: TaskConditionGroupBasicContext) => QueryItem[])

Visit a parse tree produced by the taskConditionGroupBasic labeled alternative in QueryLangParser.taskConditionGroup.

Type declaration

visitTaskConditions?: ((ctx: TaskConditionsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.taskConditions.

Type declaration

visitTaskSorting?: ((ctx: TaskSortingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.taskSorting.

Type declaration

visitTasksState?: ((ctx: TasksStateContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.tasksState.

Type declaration

visitTasksStateComparison?: ((ctx: TasksStateComparisonContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.tasksStateComparison.

Type declaration

visitTasksUserId?: ((ctx: TasksUserIdContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.tasksUserId.

Type declaration

visitTasksUserIdBasic?: ((ctx: TasksUserIdBasicContext) => QueryItem[])

Visit a parse tree produced by the tasksUserIdBasic labeled alternative in QueryLangParser.tasksUserIdComparison.

Type declaration

visitTasksUserIdList?: ((ctx: TasksUserIdListContext) => QueryItem[])

Visit a parse tree produced by the tasksUserIdList labeled alternative in QueryLangParser.tasksUserIdComparison.

Type declaration

visitTasksUserIdNull?: ((ctx: TasksUserIdNullContext) => QueryItem[])

Visit a parse tree produced by the tasksUserIdNull labeled alternative in QueryLangParser.tasksUserIdComparison.

Type declaration

visitTitleList?: ((ctx: TitleListContext) => QueryItem[])

Visit a parse tree produced by the titleList labeled alternative in QueryLangParser.titleComparison.

Type declaration

visitTitleNull?: ((ctx: TitleNullContext) => QueryItem[])

Visit a parse tree produced by the titleNull labeled alternative in QueryLangParser.titleComparison.

Type declaration

visitTitleRange?: ((ctx: TitleRangeContext) => QueryItem[])

Visit a parse tree produced by the titleRange labeled alternative in QueryLangParser.titleComparison.

Type declaration

visitTransitionIdList?: ((ctx: TransitionIdListContext) => QueryItem[])

Visit a parse tree produced by the transitionIdList labeled alternative in QueryLangParser.transitionIdComparison.

Type declaration

visitTransitionIdNull?: ((ctx: TransitionIdNullContext) => QueryItem[])

Visit a parse tree produced by the transitionIdNull labeled alternative in QueryLangParser.transitionIdComparison.

Type declaration

visitTransitionIdRange?: ((ctx: TransitionIdRangeContext) => QueryItem[])

Visit a parse tree produced by the transitionIdRange labeled alternative in QueryLangParser.transitionIdComparison.

Type declaration

visitUserAndExpression?: ((ctx: UserAndExpressionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userAndExpression.

Type declaration

visitUserAttribute?: ((ctx: UserAttributeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userAttribute.

Type declaration

visitUserAttributeOrdering?: ((ctx: UserAttributeOrderingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userAttributeOrdering.

Type declaration

visitUserComparisons?: ((ctx: UserComparisonsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userComparisons.

Type declaration

visitUserCondition?: ((ctx: UserConditionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userCondition.

Type declaration

visitUserConditionGroupBasic?: ((ctx: UserConditionGroupBasicContext) => QueryItem[])

Visit a parse tree produced by the userConditionGroupBasic labeled alternative in QueryLangParser.userConditionGroup.

Type declaration

visitUserConditionGroupParenthesis?: ((ctx: UserConditionGroupParenthesisContext) => QueryItem[])

Visit a parse tree produced by the userConditionGroupParenthesis labeled alternative in QueryLangParser.userConditionGroup.

Type declaration

visitUserConditions?: ((ctx: UserConditionsContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userConditions.

Type declaration

visitUserConditionsAndPaging?: ((ctx: UserConditionsAndPagingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userConditionsAndPaging.

Type declaration

visitUserIdList?: ((ctx: UserIdListContext) => QueryItem[])

Visit a parse tree produced by the userIdList labeled alternative in QueryLangParser.userIdComparison.

Type declaration

visitUserOrExpression?: ((ctx: UserOrExpressionContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userOrExpression.

Type declaration

visitUserQuery?: ((ctx: UserQueryContext) => QueryItem[])

Visit a parse tree produced by the userQuery labeled alternative in QueryLangParser.query.

Type declaration

visitUserSorting?: ((ctx: UserSortingContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.userSorting.

Type declaration

visitVersionBasic?: ((ctx: VersionBasicContext) => QueryItem[])

Visit a parse tree produced by the versionBasic labeled alternative in QueryLangParser.versionComparison.

Type declaration

visitVersionList?: ((ctx: VersionListContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.versionList.

Type declaration

visitVersionListCmp?: ((ctx: VersionListCmpContext) => QueryItem[])

Visit a parse tree produced by the versionListCmp labeled alternative in QueryLangParser.versionComparison.

Type declaration

visitVersionNull?: ((ctx: VersionNullContext) => QueryItem[])

Visit a parse tree produced by the versionNull labeled alternative in QueryLangParser.versionComparison.

Type declaration

visitVersionRange?: ((ctx: VersionRangeContext) => QueryItem[])

Visit a parse tree produced by QueryLangParser.versionRange.

Type declaration

visitVersionRangeCmp?: ((ctx: VersionRangeCmpContext) => QueryItem[])

Visit a parse tree produced by the versionRangeCmp labeled alternative in QueryLangParser.versionComparison.

Type declaration

Methods

  • Extracts the string value from a string comparison context, handling both logged user attributes and literal strings.

    Parameters

    Returns string

    The extracted string value, either from logged user attributes or from a quoted string literal

  • Handles a case raw query by wrapping it in a case plain query expression.

    This method is used when the query contains complex expressions that cannot be parsed into structured query items (e.g., complex OR expressions with multiple branches or negations). The raw query text is preserved and processed as a plain text query.

    Parameters

    • query: string

      The raw query string to be wrapped

    Returns RawExpression

    A raw expression containing the case plain query category and the original query text

  • Handles a task raw query by wrapping it in a task plain query expression.

    This method is used when the query contains complex expressions that cannot be parsed into structured query items (e.g., complex OR expressions with multiple branches or negations). The raw query text is preserved and processed as a plain text query.

    Parameters

    • query: string

      The raw query string to be wrapped

    Returns RawExpression

    A raw expression containing the task plain query category and the original query text

  • Removes single quotes from the beginning and end of a string if they are present.

    Parameters

    • value: string

      The string value that may be enclosed in single quotes

    Returns string

    The string with single quotes removed, or the original string if not enclosed in quotes

  • Parameters

    Returns boolean

  • Visit a parse tree, and return a user-defined result of the operation.

    Parameters

    • tree: ParseTree

      The ParseTree to visit.

    Returns QueryItem[]

    The result of visiting the parse tree.

  • /**

    • Visits a case OR expression and processes multiple AND expressions joined by OR operators.
    • When multiple AND expressions are connected with OR operators, the entire expression is treated
    • as a raw query string and wrapped in a case plain query, since complex OR logic requires
    • special handling beyond simple query composition.

    Parameters

    Returns QueryItem[]

    An array containing either the visited AND expression items if there's only one,

    •      or a single raw expression wrapping the entire query text if multiple OR-connected expressions exist
      
  • Visit the children of a node, and return a user-defined result of the operation.

    Parameters

    • node: ParseTree

      The RuleNode whose children should be visited.

    Returns QueryItem[]

    The result of visiting the children of the node.

  • Visit an error node, and return a user-defined result of the operation.

    Parameters

    • _node: ErrorNode

    Returns QueryItem[]

    The result of visiting the node.

  • Visits a task OR expression and processes multiple AND expressions joined by OR operators.

    When multiple AND expressions are connected with OR operators, the entire expression is treated as a raw query string and wrapped in a task plain query, since complex OR logic requires special handling beyond simple query composition.

    Parameters

    Returns QueryItem[]

    An array containing either the visited AND expression items if there's only one, or a single raw expression wrapping the entire query text if multiple OR-connected expressions exist

  • Visit a terminal node, and return a user-defined result of the operation.

    Parameters

    • _node: TerminalNode

    Returns QueryItem[]

    The result of visiting the node.