TypeDescriptor

Class in @typemove/move

Defined in @typemove/move

Type Parameters

Type ParameterDefault type
Tany

Constructors

Constructor

new TypeDescriptor<T = any>(symbol: string, typeParams?: TypeDescriptor<any>[]): TypeDescriptor<T>;

Parameters

ParameterType
symbolstring
typeParams?TypeDescriptor<any>[]

Returns

TypeDescriptor<T>

Properties

PropertyType
mutableboolean
qnamestring
referenceboolean
typeArgsTypeDescriptor<any>[]

Methods

apply()

apply(...typeArgs: TypeDescriptor<any>[]): TypeDescriptor;

Parameters

ParameterType
...typeArgsTypeDescriptor<any>[]

Returns

TypeDescriptor


applyTypeArgs()

applyTypeArgs(ctx: Map<string, TypeDescriptor<any>>): TypeDescriptor;

Parameters

ParameterType
ctxMap<string, TypeDescriptor<any>>

Returns

TypeDescriptor


clone()

clone(): this;

Returns

this


compareQname()

compareQname(t: TypeDescriptor): boolean;

Parameters

ParameterType
tTypeDescriptor

Returns

boolean


dependedTypes()

dependedTypes(): string[];

Returns

string[]


existAnyType()

existAnyType(): boolean;

Returns

boolean


getNormalizedSignature()

getNormalizedSignature(): string;

Returns

string


getSignature()

getSignature(): string;

Returns

string


isVector()

isVector(): boolean;

Returns

boolean


module()

module(): string;

Returns

string


name()

name(): string;

Returns

string

On this page