Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SignatureReflection

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional anchor

anchor: undefined | string

The name of the anchor of this child. TODO: Reflections shouldn't know anchors exist. Move this to a serializer.

Optional comment

comment: Comment

The parsed documentation comment attached to this reflection.

Optional cssClasses

cssClasses: undefined | string

A list of generated css classes that should be applied to representations of this reflection in the generated markup. TODO: Reflections shouldn't know about CSS. Move this property to the correct serializer.

Optional decorates

decorates: Type[]

A list of all types that are decorated by this reflection.

Optional decorators

decorators: Decorator[]

A list of all decorators attached to this reflection.

flags

flags: ReflectionFlags = new ReflectionFlags()

Optional hasOwnDocument

hasOwnDocument: undefined | false | true

Is the url pointing to an individual document?

When FALSE, the url points to an anchor tag on a page of a different reflection. TODO: Reflections shouldn't know how they are rendered. Move this to the correct serializer.

id

id: number

Unique id of this reflection.

Optional implementationOf

implementationOf: Type

A type that points to the reflection this reflection is the implementation of.

Applies to class members.

Optional inheritedFrom

inheritedFrom: Type

A type that points to the reflection this reflection has been inherited from.

Applies to interface and class members.

kind

The kind of this reflection.

Optional kindString

kindString: undefined | string

The human readable string representation of the kind of this reflection.

name

name: string = ""

The symbol name of this reflection.

originalName

originalName: string

The original name of the TypeScript declaration.

Optional overwrites

overwrites: Type

A type that points to the reflection that has been overwritten by this reflection.

Applies to interface and class members.

Optional parameters

parameters: ParameterReflection[]

Optional parent

Optional sources

sources: SourceReference[]

A list of all source files that contributed to this reflection.

Optional type

type: Type

Optional typeParameters

typeParameters: TypeParameterReflection[]

Optional url

url: undefined | string

The url of this reflection in the generated documentation. TODO: Reflections shouldn't know urls exist. Move this to a serializer.

Methods

findReflectionByName

  • findReflectionByName(arg: string | string[]): Reflection | undefined

getAlias

  • getAlias(): string

getChildByName

  • getChildByName(arg: string | string[]): Reflection | undefined

getFullName

  • getFullName(separator?: string): string

getParameterTypes

  • getParameterTypes(): Type[]

hasComment

  • hasComment(): boolean

hasGetterOrSetter

  • hasGetterOrSetter(): boolean

isProject

  • isProject(): boolean

kindOf

setFlag

toObject

  • toObject(): any

toString

  • toString(): string

toStringHierarchy

  • toStringHierarchy(indent?: string): string

traverse

Generated using TypeDoc