Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Namespace

TypeScript resource. Declaration of a typescript namespace (i.e. declare foobar).

export
class

Namespace

implements

{Resource}

implements

{Node}

Hierarchy

  • Namespace

Implements

Index

Constructors

constructor

  • new Namespace(name: string, start: number, end: number): Namespace

Properties

declarations

declarations: Declaration[] = []

end

end: number

exports

exports: Export[] = []

imports

imports: Import[] = []

name

name: string

resources

resources: Resource[] = []

start

start: number

usages

usages: string[] = []

Accessors

identifier

  • get identifier(): string

nonLocalUsages

  • get nonLocalUsages(): string[]

Methods

getNamespaceAlias

  • getNamespaceAlias(): string
  • Function that calculates the alias name of a namespace. Removes all underlines and dashes and camelcases the name.

    memberof

    Namespace

    Returns string

Generated using TypeDoc