Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISegment

Hierarchy

  • ISegment

Index

Properties

Optional ends

ends: Ends[]

Optional match

match: RegExp

Optional trimTrailingWhitespace

trimTrailingWhitespace: undefined | true

Methods

handle

  • Parameters

    • match: RegExpMatchArray
    • segment: string
    • api: ISegmentApi
    • Rest ...args: any[]

    Returns string | IStringSection | Iterable<IStringSection>

Generated using TypeDoc