Options
All
  • Public
  • Public/Protected
  • All
Menu
     

Class CLMNS

Creates and manages a string table.

Hierarchy

  • CLMNS

Index

Constructors

constructor

  • new CLMNS(txt: string, delim: string, suffix: string, log: boolean): CLMNS
  • Instantiates a new CLMS object.

    Parameters

    • txt: string

      The text representing this table.

    • delim: string

      A delimeter used to constitute a column (like , or |).

    • suffix: string

      ???

    • log: boolean

      If true; prints out debuggin logs.

    Returns CLMNS

Accessors

0

  • get 0(): string
  • The header column.

    Returns string

count

  • get count(): number
  • The amount of columns in this "table".

    Returns number

lines

  • get lines(): number
  • The amount of rouws in this "table".

    Returns number

shell

  • get shell(): string[]
  • A blank column bucket.

    Returns string[]

directs

  • get directs(): any
  • Returns any

Methods

fresh

  • fresh(val: any): void
  • Parameters

    • val: any

    Returns void

clean

  • clean(val: any, def: any, slash: any): void
  • Parameters

    • val: any
    • def: any
    • slash: any

    Returns void

limit

  • limit(val: any): void
  • Parameters

    • val: any

    Returns void

regex

  • regex(idx: any): void
  • Parameters

    • idx: any

    Returns void

group

  • group(): void
  • ...

    Returns void

shlls

  • shlls(): void
  • ...

    Returns void

map

  • map(cb: any): void
  • Parameters

    • cb: any

    Returns void

getDirects

  • getDirects(delim: any): void
  • Parameters

    • delim: any

    Returns void

distribute

  • distribute(align: any, border: any, callback: any): void
  • Parameters

    • align: any
    • border: any
    • callback: any

    Returns void