Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/submod/WildcardTokenizer"

Index

Variables

Functions

Variables

debug

debug: function = console.log

通配符识别模块

author

老雷leizongmin@gmail.com

Type declaration

    • (message?: any, ...optionalParams: any[]): void
    • (message?: any, ...optionalParams: any[]): void
    • Parameters

      • Optional message: any
      • Rest ...optionalParams: any[]

      Returns void

    • Parameters

      • Optional message: any
      • Rest ...optionalParams: any[]

      Returns void

Functions

matchWord

  • matchWord(text: any, cur: any): any[]
  • 匹配单词,返回相关信息

    Parameters

    • text: any

      文本

    • cur: any

      开始位置

    Returns any[]

    返回格式 {w: '单词', c: 开始位置}

Generated using TypeDoc