/third_party/typescript/tests/baselines/reference/ |
D | findAllRefsOnDecorators.baseline.jsonc | 2 // @[|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 …]
|
D | decoratorMetadata-jsdoc.types | 2 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 …]
|
D | decoratedDefaultExportsGetExportedAmd.symbols | 2 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))
|
D | decoratedDefaultExportsGetExportedUmd.symbols | 2 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))
|
D | decoratedDefaultExportsGetExportedSystem.symbols | 2 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))
|
D | decoratedDefaultExportsGetExportedCommonjs.symbols | 2 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))
|
D | decoratorMetadata-jsdoc.symbols | 2 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))
|
D | noEmitHelpers2.symbols | 2 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))
|
D | decoratorMetadataPromise.symbols | 2 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))
|
D | commentOnDecoratedClassDeclaration.symbols | 2 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))
|
D | decoratedDefaultExportsGetExportedAmd.types | 2 var decorator: ClassDecorator; 3 >decorator : ClassDecorator 5 @decorator 6 >decorator : ClassDecorator 12 var decorator: ClassDecorator; 13 >decorator : ClassDecorator 15 @decorator 16 >decorator : ClassDecorator
|
D | decoratedDefaultExportsGetExportedSystem.types | 2 var decorator: ClassDecorator; 3 >decorator : ClassDecorator 5 @decorator 6 >decorator : ClassDecorator 12 var decorator: ClassDecorator; 13 >decorator : ClassDecorator 15 @decorator 16 >decorator : ClassDecorator
|
D | decoratedDefaultExportsGetExportedUmd.types | 2 var decorator: ClassDecorator; 3 >decorator : ClassDecorator 5 @decorator 6 >decorator : ClassDecorator 12 var decorator: ClassDecorator; 13 >decorator : ClassDecorator 15 @decorator 16 >decorator : ClassDecorator
|
D | decoratedDefaultExportsGetExportedCommonjs.types | 2 var decorator: ClassDecorator; 3 >decorator : ClassDecorator 5 @decorator 6 >decorator : ClassDecorator 12 var decorator: ClassDecorator; 13 >decorator : ClassDecorator 15 @decorator 16 >decorator : ClassDecorator
|
D | commentOnDecoratedClassDeclaration.types | 2 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
|
D | decoratorMetadataWithTypeOnlyImport.symbols | 9 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))
|
D | decoratorMetadata.symbols | 9 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))
|
D | decoratorMetadataPromise.types | 2 declare const decorator: MethodDecorator; 3 >decorator : MethodDecorator 8 @decorator 9 >decorator : MethodDecorator 14 @decorator 15 >decorator : MethodDecorator 21 @decorator 22 >decorator : MethodDecorator
|
D | decoratorInAmbientContext.symbols | 2 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))
|
D | decoratorOnClassMethod19(target=es2015).types | 3 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
|
D | decoratorOnClassMethod19(target=es2022).types | 3 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
|
D | decoratorOnClassMethod19(target=esnext).types | 3 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
|
D | decoratorOnClassMethod19(target=esnext).symbols | 3 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))
|
D | decoratorOnClassMethod19(target=es2015).symbols | 3 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/ |
D | ohApi.ts | 60 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 …]
|