Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Source

Hierarchy

  • Source

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Source(source?: string | any, options?: any): Source
  • Parameters

    • Optional source: string | any
    • Default value options: any = { isCharCode: true }

    Returns Source

Properties

length

length: number

The length of source

name

name: string

The source file name

Private options

options: any

The options

source

source: string

The source file

Methods

charAt

  • charAt(position: number): string | number
  • Parameters

    • position: number

    Returns string | number

toJSON

  • toJSON(): object

toString

  • toString(): string

Generated using TypeDoc