Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Module overview

Added in v0.6.0


Table of contents


constructors

Class

Signature

export declare const Class: (
  documentable: Documentable,
  signature: string,
  methods: ReadonlyArray<Method>,
  staticMethods: ReadonlyArray<Method>,
  properties: ReadonlyArray<Property>
) => Class

Added in v0.6.0

Constant

Signature

export declare const Constant: (documentable: Documentable, signature: string) => Constant

Added in v0.6.0

Documentable

Signature

export declare const Documentable: (
  name: string,
  description: O.Option<string>,
  since: O.Option<string>,
  deprecated: boolean,
  examples: ReadonlyArray<Example>,
  category: O.Option<string>
) => Documentable

Added in v0.6.0

Export

Signature

export declare const Export: (documentable: Documentable, signature: string) => Export

Added in v0.6.0

Function

Signature

export declare const Function: (documentable: Documentable, signatures: ReadonlyArray<string>) => Function

Added in v0.6.0

Interface

Signature

export declare const Interface: (documentable: Documentable, signature: string) => Interface

Added in v0.6.0

Method

Signature

export declare const Method: (documentable: Documentable, signatures: ReadonlyArray<string>) => Method

Added in v0.6.0

Module

Signature

export declare const Module: (
  documentable: Documentable,
  path: ReadonlyArray<string>,
  classes: ReadonlyArray<Class>,
  interfaces: ReadonlyArray<Interface>,
  functions: ReadonlyArray<Function>,
  typeAliases: ReadonlyArray<TypeAlias>,
  constants: ReadonlyArray<Constant>,
  exports: ReadonlyArray<Export>
) => Module

Added in v0.6.0

Property

Signature

export declare const Property: (documentable: Documentable, signature: string) => Property

Added in v0.6.0

TypeAlias

Signature

export declare const TypeAlias: (documentable: Documentable, signature: string) => TypeAlias

Added in v0.6.0

instances

ordModule

Signature

export declare const ordModule: Ord.Ord<Module>

Added in v0.6.0

model

Class (interface)

Signature

export interface Class extends Documentable {
  readonly _tag: 'Class'
  readonly signature: string
  readonly methods: ReadonlyArray<Method>
  readonly staticMethods: ReadonlyArray<Method>
  readonly properties: ReadonlyArray<Property>
}

Added in v0.6.0

Constant (interface)

Signature

export interface Constant extends Documentable {
  readonly _tag: 'Constant'
  readonly signature: string
}

Added in v0.6.0

Documentable (interface)

Signature

export interface Documentable {
  readonly name: string
  readonly description: O.Option<string>
  readonly since: O.Option<string>
  readonly deprecated: boolean
  readonly examples: ReadonlyArray<Example>
  readonly category: O.Option<string>
}

Added in v0.6.0

Example (type alias)

Signature

export type Example = string

Added in v0.6.0

Export (interface)

Signature

export interface Export extends Documentable {
  readonly _tag: 'Export'
  readonly signature: string
}

Added in v0.6.0

Function (interface)

Signature

export interface Function extends Documentable {
  readonly _tag: 'Function'
  readonly signatures: ReadonlyArray<string>
}

Added in v0.6.0

Interface (interface)

Signature

export interface Interface extends Documentable {
  readonly _tag: 'Interface'
  readonly signature: string
}

Added in v0.6.0

Method (interface)

Signature

export interface Method extends Documentable {
  readonly signatures: ReadonlyArray<string>
}

Added in v0.6.0

Module (interface)

Signature

export interface Module extends Documentable {
  readonly path: ReadonlyArray<string>
  readonly classes: ReadonlyArray<Class>
  readonly interfaces: ReadonlyArray<Interface>
  readonly functions: ReadonlyArray<Function>
  readonly typeAliases: ReadonlyArray<TypeAlias>
  readonly constants: ReadonlyArray<Constant>
  readonly exports: ReadonlyArray<Export>
}

Added in v0.6.0

Property (interface)

Signature

export interface Property extends Documentable {
  readonly signature: string
}

Added in v0.6.0

TypeAlias (interface)

Signature

export interface TypeAlias extends Documentable {
  readonly _tag: 'TypeAlias'
  readonly signature: string
}

Added in v0.6.0