Home
last modified time | relevance | path

Searched refs:Decorator (Results 1 – 25 of 51) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DpotentiallyUncalledDecorators.errors.txt5 tests/cases/compiler/potentiallyUncalledDecorators.ts(41,1): error TS1270: Decorator function retur…
6 tests/cases/compiler/potentiallyUncalledDecorators.ts(43,5): error TS1271: Decorator function retur…
7 tests/cases/compiler/potentiallyUncalledDecorators.ts(44,5): error TS1270: Decorator function retur…
8 tests/cases/compiler/potentiallyUncalledDecorators.ts(47,1): error TS1270: Decorator function retur…
11 tests/cases/compiler/potentiallyUncalledDecorators.ts(53,1): error TS1270: Decorator function retur…
12 tests/cases/compiler/potentiallyUncalledDecorators.ts(55,5): error TS1271: Decorator function retur…
13 tests/cases/compiler/potentiallyUncalledDecorators.ts(56,5): error TS1270: Decorator function retur…
14 tests/cases/compiler/potentiallyUncalledDecorators.ts(59,1): error TS1270: Decorator function retur…
15 tests/cases/compiler/potentiallyUncalledDecorators.ts(61,5): error TS1271: Decorator function retur…
16 tests/cases/compiler/potentiallyUncalledDecorators.ts(62,5): error TS1270: Decorator function retur…
[all …]
DdecoratorOnClassMethod8.errors.txt2 …/decorators/class/method/decoratorOnClassMethod8.ts(4,5): error TS1270: Decorator function return …
13 !!! error TS1270: Decorator function return type 'C' is not assignable to type 'void | TypedPropert…
/third_party/typescript/src/deprecatedCompat/4.8/
DmergeDecoratorsAndModifiers.ts66 …createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modif…
70 …updateParameterDeclaration(node: ParameterDeclaration, decorators: readonly Decorator[] | undefine…
74 …createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifi…
78 …updatePropertyDeclaration(node: PropertyDeclaration, decorators: readonly Decorator[] | undefined,…
82 …createMethodDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier…
86 …updateMethodDeclaration(node: MethodDeclaration, decorators: readonly Decorator[] | undefined, mod…
90 …createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Mod…
94 …updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | unde…
98 …createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Mod…
102 …updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | unde…
[all …]
/third_party/typescript/src/compiler/
DohApi.ts18 …onDeclaration | MethodDeclaration | PropertyDeclaration, host: EmitHost): Decorator[] | undefined {
27 …onDeclaration | MethodDeclaration | PropertyDeclaration, host: EmitHost): Decorator[] | undefined {
36 …onDeclaration | MethodDeclaration | PropertyDeclaration, host: EmitHost): Decorator[] | undefined {
41 …export function concatenateDecoratorsAndModifiers(decorators: readonly Decorator[] | undefined, mo…
50 …export function getEffectiveDecorators(decorators: readonly Decorator[] | NodeArray<Decorator> | u…
55 const reservedComponents: Decorator[] = [];
97 const decorators: readonly Decorator[] = getAllDecorators(input); constant
183 …rt function hasEtsExtendDecoratorNames(decorators: NodeArray<Decorator> | readonly Decorator[] | u…
199 …rt function hasEtsStylesDecoratorNames(decorators: NodeArray<Decorator> | readonly Decorator[] | u…
214 …export function hasEtsBuildDecoratorNames(decorators: NodeArray<Decorator> | readonly Decorator[] …
[all …]
Dtypes.ts208 Decorator, enumerator
852 Decorator = 1 << 17, // Contains a decorator.
862 …nly | Abstract | Accessor | Async | Default | Const | Deprecated | Override | In | Out | Decorator,
863 Modifier = All & ~Decorator
973 | Decorator
1400 export type ModifierLike = Modifier | Decorator;
1557 export interface Decorator extends Node {
1558 readonly kind: SyntaxKind.Decorator;
1731 …/* @internal */ readonly illegalDecorators?: NodeArray<Decorator> | undefined; // property assignm…
1747 …/* @internal */ readonly illegalDecorators?: NodeArray<Decorator> | undefined; // shorthand proper…
[all …]
Dparser.ts503 …[SyntaxKind.Decorator]: function forEachChildInDecorator<T>(node: Decorator, cbNode: (node: Node) …
3904 …natureDeclaration(pos: number, hasJSDoc: boolean, decorators: NodeArray<Decorator> | undefined, mo…
7158 …DeclarationWorker(pos: number, hasJSDoc: boolean, decorators: NodeArray<Decorator> | undefined, mo…
7201 …function parseDeclarationDefault(pos: number,decorators: NodeArray<Decorator> | undefined, modifie…
7365 …VariableStatement(pos: number, hasJSDoc: boolean, decorators: NodeArray<Decorator> | undefined, mo…
7374 …nctionDeclaration(pos: number, hasJSDoc: boolean, decorators: NodeArray<Decorator> | undefined, mo…
7435 …ructorDeclaration(pos: number, hasJSDoc: boolean, decorators: NodeArray<Decorator> | undefined, mo…
7463 function isTokenInsideStructBuilder(decorators: NodeArray<Decorator> | undefined): boolean {
7479 decorators: NodeArray<Decorator> | undefined,
7547 decorators: NodeArray<Decorator> | undefined,
[all …]
/third_party/node/deps/v8/src/compiler/
Dcompiler-source-position-table.cc13 class SourcePositionTable::Decorator final : public GraphDecorator { class in v8::internal::compiler::SourcePositionTable
15 explicit Decorator(SourcePositionTable* source_positions) in Decorator() function in v8::internal::compiler::SourcePositionTable::Decorator
35 decorator_ = graph_->zone()->New<Decorator>(this); in AddDecorator()
Dnode-origin-table.cc29 class NodeOriginTable::Decorator final : public GraphDecorator { class in v8::internal::compiler::NodeOriginTable
31 explicit Decorator(NodeOriginTable* origins) : origins_(origins) {} in Decorator() function in v8::internal::compiler::NodeOriginTable::Decorator
50 decorator_ = graph_->zone()->New<Decorator>(this); in AddDecorator()
Dtyper.h44 class Decorator; variable
54 Decorator* decorator_;
Dcompiler-source-position-table.h63 class Decorator; in NON_EXPORTED_BASE()
70 Decorator* decorator_; in NON_EXPORTED_BASE()
Dnode-origin-table.h132 class Decorator; in NON_EXPORTED_BASE()
135 Decorator* decorator_; in NON_EXPORTED_BASE()
/third_party/typescript/lib/
Dtypescript.d.ts276 Decorator = 168, enumerator
576 Decorator = 131072, enumerator
661 export type ModifierLike = Modifier | Decorator;
713 export interface Decorator extends Node { interface
714 readonly kind: SyntaxKind.Decorator;
1366 …xpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLike…
3639 createDecorator(expression: Expression): Decorator;
3640 updateDecorator(node: Decorator, expression: Expression): Decorator;
4704 function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
4706 function getAllDecorators(node: Node | undefined): readonly Decorator[];
[all …]
DtypescriptServices.d.ts276 Decorator = 168, enumerator
576 Decorator = 131072, enumerator
661 export type ModifierLike = Modifier | Decorator;
713 export interface Decorator extends Node { interface
714 readonly kind: SyntaxKind.Decorator;
1366 …xpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLike…
3639 createDecorator(expression: Expression): Decorator;
3640 updateDecorator(node: Decorator, expression: Expression): Decorator;
4704 function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
4706 function getAllDecorators(node: Node | undefined): readonly Decorator[];
[all …]
Dtsserverlibrary.d.ts276 Decorator = 168, enumerator
576 Decorator = 131072, enumerator
661 export type ModifierLike = Modifier | Decorator;
713 export interface Decorator extends Node { interface
714 readonly kind: SyntaxKind.Decorator;
1366 …xpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLike…
3639 createDecorator(expression: Expression): Decorator;
3640 updateDecorator(node: Decorator, expression: Expression): Decorator;
4704 function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
4706 function getAllDecorators(node: Node | undefined): readonly Decorator[];
[all …]
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts276 Decorator = 168, enumerator
576 Decorator = 131072, enumerator
661 export type ModifierLike = Modifier | Decorator;
713 export interface Decorator extends Node { interface
714 readonly kind: SyntaxKind.Decorator;
1366 …xpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLike…
3639 createDecorator(expression: Expression): Decorator;
3640 updateDecorator(node: Decorator, expression: Expression): Decorator;
4704 function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
4706 function getAllDecorators(node: Node | undefined): readonly Decorator[];
[all …]
Dtsserverlibrary.d.ts276 Decorator = 168, enumerator
576 Decorator = 131072, enumerator
661 export type ModifierLike = Modifier | Decorator;
713 export interface Decorator extends Node { interface
714 readonly kind: SyntaxKind.Decorator;
1366 …xpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLike…
3639 createDecorator(expression: Expression): Decorator;
3640 updateDecorator(node: Decorator, expression: Expression): Decorator;
4704 function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
4706 function getAllDecorators(node: Node | undefined): readonly Decorator[];
[all …]
/third_party/typescript/src/compiler/transformers/
DlegacyDecorators.ts44 case SyntaxKind.Decorator:
84 function decoratorContainsPrivateIdentifierInExpression(decorator: Decorator) {
88 …ratorsContainPrivateIdentifierInExpression(parameterDecorators: readonly Decorator[] | undefined) {
571 function transformDecorator(decorator: Decorator) {
581 function transformDecoratorsOfParameter(decorators: Decorator[], parameterOffset: number) {
/third_party/typescript/tests/baselines/reference/transformApi/
DtransformsCorrectly.transformSyntheticCommentOnStaticFieldInClassDeclaration.js12 Decorator
/third_party/typescript/src/services/
DcallHierarchy.ts357 …mplateExpression | PropertyAccessExpression | ElementAccessExpression | Decorator | JsxOpeningLike…
445 case SyntaxKind.Decorator:
446 recordCallSite(node as Decorator);
447 collect((node as Decorator).expression);
Dbreakpoints.ts210 case SyntaxKind.Decorator:
313 case SyntaxKind.Decorator:
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-decorators-except-arkui/
Darkts-no-decorators-except-arkui-3-error.ets18 Counterexample: Attribute Decorator.
Darkts-no-decorators-except-arkui-2-error.ets18 Counterexample: Method Decorator.
Darkts-no-decorators-except-arkui-4-ok.ets35 console.log('Parameter Decorator Logic')
Darkts-no-decorators-except-arkui-2-ok.ets39 console.log('Method Decorator Logic')
/third_party/python/Doc/library/
Dtest.rst675 Decorator for the minimum version when running test on FreeBSD. If the
681 Decorator for the minimum version when running test on Linux. If the
687 Decorator for the minimum version when running test on macOS. If the
693 Decorator for skipping tests on non-IEEE 754 platforms.
698 Decorator for skipping tests if :mod:`zlib` doesn't exist.
703 Decorator for skipping tests if :mod:`gzip` doesn't exist.
708 Decorator for skipping tests if :mod:`bz2` doesn't exist.
713 Decorator for skipping tests if :mod:`lzma` doesn't exist.
718 Decorator for skipping tests if *resource* is not available.
723 Decorator for only running the test if :data:`HAVE_DOCSTRINGS`.
[all …]

123