Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpGenerator

Hierarchy

  • ExpGenerator

Index

Constructors

constructor

  • Parameters

    • _id: number

    Returns ExpGenerator

Properties

Private _id

_id: number

Private _idCounter

_idCounter: number = 0

Methods

Private _interleavePattern

  • Parameters

    Returns string

Private _resolveTags

  • _resolveTags(target: Target): Set<string>
  • Parameters

    Returns Set<string>

Private _targetTags

  • _targetTags(target: Target, ignore: Target | null, min: number, max: number): string
  • Parameters

    • target: Target
    • ignore: Target | null
    • min: number
    • max: number

    Returns string

Private _toPattern

  • Parameters

    Returns string

specToRegExp

  • specToRegExp(contentRule: PermittedContent[] | boolean, parentExp?: RegExp | null): RegExp
  • Parameters

    • contentRule: PermittedContent[] | boolean
    • Default value parentExp: RegExp | null = null

    Returns RegExp

Generated using TypeDoc