Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rep

Match 0 or more times, without a separator

Hierarchy

Implements

Index

Constructors

constructor

  • new Rep(o: any): Rep

Properties

$consumeWhiteSpaceBetweenTokens

$consumeWhiteSpaceBetweenTokens: boolean = true

min

min: number

mininum number of times the matcher must match for this to be considered a match. Default 0

Optional sep

sep: any

if this is provided it indicates that this is a rep sep and it is the delimiter

Accessors

$id

  • get $id(): string

requiredPrefix

  • get requiredPrefix(): string

Methods

canStartWith

  • canStartWith(char: string): boolean

consumeWhiteSpace

  • consumeWhiteSpace(consumeWhiteSpaceBetweenTokens: boolean): this

matchPrefix

matchPrefixReport

Generated using TypeDoc