Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SplitPathSelector

Implementation of AbstractTopicSelector for split path selectors

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly expression

expression: string

The original expression of this selector

Private Readonly parts

parts: string[]

The parts of the split path

Private Optional patterns

patterns: Matcher[] = undefined

An array of regular expression matchers, one for each part of the path

Readonly prefix

prefix: string

The maximum topic path prefix from this selector

Readonly qualifier

qualifier: DQ

The descendant qualifier

Readonly type

type: Type

The type of this selector

Methods

doSelects

  • doSelects(topicPath: string): boolean
  • inheritdoc

    Parameters

    • topicPath: string

    Returns boolean

selects

  • selects(topicPath: string): boolean
  • Evaluate this selector against a topic path

    Parameters

    • topicPath: string

      the topic path

    Returns boolean

    if this selector selects the topic path

toString

  • toString(): string
  • Convert the topic selector to a string

    Returns string

    the original expression of the selector

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.