Home
last modified time | relevance | path

Searched refs:decorator (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/third_party/typescript/tests/baselines/reference/
DfindAllRefsOnDecorators.baseline.jsonc2 // @[|decorator|] @[|decorator|]("again")
4 // @[|decorator|]
9 // /*FIND ALL REFS*/function [|decorator|](target) {
12 // [|decorator|]();
21 "name": "function decorator(target: any): any",
36 "text": "decorator",
136 // @[|decorator|] @[|decorator|]("again")
138 // @[|decorator|]
143 // function /*FIND ALL REFS*/[|decorator|](target) {
146 // [|decorator|]();
[all …]
DdecoratorMetadata-jsdoc.types2 declare var decorator: any;
3 >decorator : any
8 @decorator()
9 >decorator() : any
10 >decorator : any
15 @decorator()
16 >decorator() : any
17 >decorator : any
22 @decorator()
23 >decorator() : any
[all …]
DdecoratedDefaultExportsGetExportedAmd.symbols2 var decorator: ClassDecorator;
3 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
6 @decorator
7 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
13 var decorator: ClassDecorator;
14 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
17 @decorator
18 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
DdecoratedDefaultExportsGetExportedUmd.symbols2 var decorator: ClassDecorator;
3 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
6 @decorator
7 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
13 var decorator: ClassDecorator;
14 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
17 @decorator
18 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
DdecoratedDefaultExportsGetExportedSystem.symbols2 var decorator: ClassDecorator;
3 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
6 @decorator
7 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
13 var decorator: ClassDecorator;
14 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
17 @decorator
18 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
DdecoratedDefaultExportsGetExportedCommonjs.symbols2 var decorator: ClassDecorator;
3 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
6 @decorator
7 >decorator : Symbol(decorator, Decl(a.ts, 0, 3))
13 var decorator: ClassDecorator;
14 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
17 @decorator
18 >decorator : Symbol(decorator, Decl(b.ts, 0, 3))
DdecoratorMetadata-jsdoc.symbols2 declare var decorator: any;
3 >decorator : Symbol(decorator, Decl(decoratorMetadata-jsdoc.ts, 0, 11))
8 @decorator()
9 >decorator : Symbol(decorator, Decl(decoratorMetadata-jsdoc.ts, 0, 11))
14 @decorator()
15 >decorator : Symbol(decorator, Decl(decoratorMetadata-jsdoc.ts, 0, 11))
20 @decorator()
21 >decorator : Symbol(decorator, Decl(decoratorMetadata-jsdoc.ts, 0, 11))
DnoEmitHelpers2.symbols2 declare var decorator: any;
3 >decorator : Symbol(decorator, Decl(noEmitHelpers2.ts, 0, 11))
5 @decorator
6 >decorator : Symbol(decorator, Decl(noEmitHelpers2.ts, 0, 11))
11 constructor(a: number, @decorator b: string) {
13 >decorator : Symbol(decorator, Decl(noEmitHelpers2.ts, 0, 11))
DdecoratorMetadataPromise.symbols2 declare const decorator: MethodDecorator;
3 >decorator : Symbol(decorator, Decl(decoratorMetadataPromise.ts, 0, 13))
9 @decorator
10 >decorator : Symbol(decorator, Decl(decoratorMetadataPromise.ts, 0, 13))
15 @decorator
16 >decorator : Symbol(decorator, Decl(decoratorMetadataPromise.ts, 0, 13))
22 @decorator
23 >decorator : Symbol(decorator, Decl(decoratorMetadataPromise.ts, 0, 13))
DcommentOnDecoratedClassDeclaration.symbols2 declare function decorator(x: string): any;
3 >decorator : Symbol(decorator, Decl(commentOnDecoratedClassDeclaration.ts, 0, 0))
9 @decorator("hello")
10 >decorator : Symbol(decorator, Decl(commentOnDecoratedClassDeclaration.ts, 0, 0))
19 @decorator("hi")
20 >decorator : Symbol(decorator, Decl(commentOnDecoratedClassDeclaration.ts, 0, 0))
DdecoratedDefaultExportsGetExportedAmd.types2 var decorator: ClassDecorator;
3 >decorator : ClassDecorator
5 @decorator
6 >decorator : ClassDecorator
12 var decorator: ClassDecorator;
13 >decorator : ClassDecorator
15 @decorator
16 >decorator : ClassDecorator
DdecoratedDefaultExportsGetExportedSystem.types2 var decorator: ClassDecorator;
3 >decorator : ClassDecorator
5 @decorator
6 >decorator : ClassDecorator
12 var decorator: ClassDecorator;
13 >decorator : ClassDecorator
15 @decorator
16 >decorator : ClassDecorator
DdecoratedDefaultExportsGetExportedUmd.types2 var decorator: ClassDecorator;
3 >decorator : ClassDecorator
5 @decorator
6 >decorator : ClassDecorator
12 var decorator: ClassDecorator;
13 >decorator : ClassDecorator
15 @decorator
16 >decorator : ClassDecorator
DdecoratedDefaultExportsGetExportedCommonjs.types2 var decorator: ClassDecorator;
3 >decorator : ClassDecorator
5 @decorator
6 >decorator : ClassDecorator
12 var decorator: ClassDecorator;
13 >decorator : ClassDecorator
15 @decorator
16 >decorator : ClassDecorator
DcommentOnDecoratedClassDeclaration.types2 declare function decorator(x: string): any;
3 >decorator : (x: string) => any
9 @decorator("hello")
10 >decorator("hello") : any
11 >decorator : (x: string) => any
21 @decorator("hi")
22 >decorator("hi") : any
23 >decorator : (x: string) => any
DdecoratorMetadataWithTypeOnlyImport.symbols9 declare var decorator: any;
10 >decorator : Symbol(decorator, Decl(component.ts, 2, 11))
12 @decorator
13 >decorator : Symbol(decorator, Decl(component.ts, 2, 11))
23 @decorator
24 >decorator : Symbol(decorator, Decl(component.ts, 2, 11))
DdecoratorMetadata.symbols9 declare var decorator: any;
10 >decorator : Symbol(decorator, Decl(component.ts, 2, 11))
12 @decorator
13 >decorator : Symbol(decorator, Decl(component.ts, 2, 11))
23 @decorator
24 >decorator : Symbol(decorator, Decl(component.ts, 2, 11))
DdecoratorMetadataPromise.types2 declare const decorator: MethodDecorator;
3 >decorator : MethodDecorator
8 @decorator
9 >decorator : MethodDecorator
14 @decorator
15 >decorator : MethodDecorator
21 @decorator
22 >decorator : MethodDecorator
DdecoratorInAmbientContext.symbols2 declare function decorator(target: any, key: any): any;
3 >decorator : Symbol(decorator, Decl(decoratorInAmbientContext.ts, 0, 0))
14 @decorator declare a: number;
15 >decorator : Symbol(decorator, Decl(decoratorInAmbientContext.ts, 0, 0))
18 @decorator declare [b]: number;
19 >decorator : Symbol(decorator, Decl(decoratorInAmbientContext.ts, 0, 0))
DdecoratorOnClassMethod19(target=es2015).types3 declare var decorator: any;
4 >decorator : any
12 @decorator((x: C1) => x.#x)
13 >decorator((x: C1) => x.#x) : any
14 >decorator : any
30 y(@decorator((x: C2) => x.#x) p) {}
32 >decorator((x: C2) => x.#x) : any
33 >decorator : any
DdecoratorOnClassMethod19(target=es2022).types3 declare var decorator: any;
4 >decorator : any
12 @decorator((x: C1) => x.#x)
13 >decorator((x: C1) => x.#x) : any
14 >decorator : any
30 y(@decorator((x: C2) => x.#x) p) {}
32 >decorator((x: C2) => x.#x) : any
33 >decorator : any
DdecoratorOnClassMethod19(target=esnext).types3 declare var decorator: any;
4 >decorator : any
12 @decorator((x: C1) => x.#x)
13 >decorator((x: C1) => x.#x) : any
14 >decorator : any
30 y(@decorator((x: C2) => x.#x) p) {}
32 >decorator((x: C2) => x.#x) : any
33 >decorator : any
DdecoratorOnClassMethod19(target=esnext).symbols3 declare var decorator: any;
4 >decorator : Symbol(decorator, Decl(decoratorOnClassMethod19.ts, 1, 11))
12 @decorator((x: C1) => x.#x)
13 >decorator : Symbol(decorator, Decl(decoratorOnClassMethod19.ts, 1, 11))
29 y(@decorator((x: C2) => x.#x) p) {}
31 >decorator : Symbol(decorator, Decl(decoratorOnClassMethod19.ts, 1, 11))
DdecoratorOnClassMethod19(target=es2015).symbols3 declare var decorator: any;
4 >decorator : Symbol(decorator, Decl(decoratorOnClassMethod19.ts, 1, 11))
12 @decorator((x: C1) => x.#x)
13 >decorator : Symbol(decorator, Decl(decoratorOnClassMethod19.ts, 1, 11))
29 y(@decorator((x: C2) => x.#x) p) {}
31 >decorator : Symbol(decorator, Decl(decoratorOnClassMethod19.ts, 1, 11))
/third_party/typescript/src/compiler/
DohApi.ts60 for (let decorator of decorators) {
61 const expr = decorator.expression;
65 reservedComponents.push(decorator);
76 decorator = factory.updateDecorator(
77 decorator,
81 reservedComponents.push(decorator);
102 for (const decorator of decorators) { constant
103 …if (isIdentifier(decorator.expression) && decorator.expression.escapedText.toString() === "Styles"…
111 … return (name === options.ets?.render?.decorator || name === options.ets?.styles?.decorator ||
112 (options.ets?.extend?.decorator?.includes(name as string) ?? false));
[all …]

12345678910>>...15