Home
last modified time | relevance | path

Searched refs:ClassDeclaration (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/typescript/src/compiler/transformers/
DlegacyDecorators.ts47 case SyntaxKind.ClassDeclaration:
48 return visitClassDeclaration(node as ClassDeclaration);
68 function visitClassDeclaration(node: ClassDeclaration): VisitResult<Statement> {
92 …ction hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node: ClassDeclaration) {
102 …function transformDecoratorsOfClassElements(node: ClassDeclaration, members: NodeArray<ClassElemen…
124 …function transformClassDeclarationWithoutClassDecorators(node: ClassDeclaration, name: Identifier …
152 …function transformClassDeclarationWithClassDecorators(node: ClassDeclaration, name: Identifier | u…
415 … addClassElementDecorationStatements(statements: Statement[], node: ClassDeclaration, isStatic: bo…
438 …function getDecoratedClassElements(node: ClassExpression | ClassDeclaration, isStatic: boolean): r…
450 …function generateClassElementDecorationExpressions(node: ClassExpression | ClassDeclaration, isSta…
[all …]
Dutilities.ts172 case SyntaxKind.ClassDeclaration:
177 …edBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node as ClassDeclaration));
183 const name = (node as ClassDeclaration).name;
336 …export function getProperties(node: ClassExpression | ClassDeclaration | StructDeclaration, requir…
337 …export function getProperties(node: ClassExpression | ClassDeclaration | StructDeclaration, requir…
338 …export function getProperties(node: ClassExpression | ClassDeclaration | StructDeclaration, requir…
346 …export function getStaticPropertiesAndClassStaticBlock(node: ClassExpression | ClassDeclaration): …
347 …export function getStaticPropertiesAndClassStaticBlock(node: ClassExpression | ClassDeclaration): …
348 …export function getStaticPropertiesAndClassStaticBlock(node: ClassExpression | ClassDeclaration): …
464 …fAccessors(accessor: AccessorDeclaration, parent: ClassExpression | ClassDeclaration | StructDecla…
Dts.ts158 case SyntaxKind.ClassDeclaration:
165 if ((node as ClassDeclaration | FunctionDeclaration).name) {
166 … recordEmittedDeclarationInScope(node as ClassDeclaration | FunctionDeclaration);
172 …Debug.assert(node.kind === SyntaxKind.ClassDeclaration || hasSyntacticModifier(node, ModifierFlags…
455 case SyntaxKind.ClassDeclaration:
464 return visitClassDeclaration(node as ClassDeclaration);
596 … function getClassFacts(node: ClassDeclaration, staticProperties: readonly PropertyDeclaration[]) {
621 function visitClassDeclaration(node: ClassDeclaration): VisitResult<Statement> {
766 function transformClassMembers(node: ClassDeclaration | ClassExpression) {
922 case SyntaxKind.ClassDeclaration:
[all …]
Des2017.ts3 …type SuperContainer = ClassDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorD…
148 case SyntaxKind.ClassDeclaration:
660 context.enableEmitNotification(SyntaxKind.ClassDeclaration);
770 return kind === SyntaxKind.ClassDeclaration
/third_party/typescript/src/compiler/transformers/declarations/
Ddiagnostics.ts85 else if (node.parent.kind === SyntaxKind.ClassDeclaration) {
116 else if (node.parent.kind === SyntaxKind.ClassDeclaration) {
183 … else if (node.parent.kind === SyntaxKind.ClassDeclaration || node.kind === SyntaxKind.Parameter) {
280 else if (node.parent.kind === SyntaxKind.ClassDeclaration) {
359 else if (node.parent.parent.kind === SyntaxKind.ClassDeclaration) {
397 case SyntaxKind.ClassDeclaration:
423 else if (node.parent.parent.kind === SyntaxKind.ClassDeclaration) {
/third_party/node/deps/v8/src/torque/
Dtype-visitor.h29 ClassType* class_type, const ClassDeclaration* class_declaration);
54 static const ClassType* ComputeType(ClassDeclaration* decl,
/third_party/typescript/src/compiler/factory/
DutilitiesPublic.ts25 || kind === SyntaxKind.ClassDeclaration
44 || kind === SyntaxKind.ClassDeclaration
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource14.ts95 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
165 this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration;
175 this.asts[this.top - 4].nodeType === TypeScript.NodeType.ClassDeclaration &&
178 …((<TypeScript.ClassDeclaration>this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2…
223 this.asts[this.top - 1].nodeType === TypeScript.NodeType.ClassDeclaration &&
224 … (<TypeScript.ClassDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
DparserRealSource3.ts103 ClassDeclaration, enumerator
/third_party/typescript/src/services/refactors/
DconvertExport.ts51 …type ExportToConvert = FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | EnumDeclara…
84 case SyntaxKind.ClassDeclaration:
89 …const node = exportNode as FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | EnumDec…
137 case SyntaxKind.ClassDeclaration:
DmoveToNewFile.ts686 | ClassDeclaration
712 case SyntaxKind.ClassDeclaration:
727 case SyntaxKind.ClassDeclaration:
733 …return cb(statement as FunctionDeclaration | ClassDeclaration | EnumDeclaration | ModuleDeclaratio…
801 case SyntaxKind.ClassDeclaration:
828 case SyntaxKind.ClassDeclaration:
/third_party/typescript/tests/baselines/reference/
DparserRealSource3.types296 ClassDeclaration,
297 >ClassDeclaration : NodeType.ClassDeclaration
DparserRealSource14.js96 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
166 this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration;
176 this.asts[this.top - 4].nodeType === TypeScript.NodeType.ClassDeclaration &&
179 …((<TypeScript.ClassDeclaration>this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2…
224 this.asts[this.top - 1].nodeType === TypeScript.NodeType.ClassDeclaration &&
225 … (<TypeScript.ClassDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
660 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
717 this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration;
726 this.asts[this.top - 4].nodeType === TypeScript.NodeType.ClassDeclaration &&
767 this.asts[this.top - 1].nodeType === TypeScript.NodeType.ClassDeclaration &&
DparserRealSource14.types409 …) && (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) && …
410 …Name) && (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) : boolean
425 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
426 >(this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) : boolean
427 >this.parent().nodeType === TypeScript.NodeType.ClassDeclaration : boolean
434 >TypeScript.NodeType.ClassDeclaration : any
438 >ClassDeclaration : any
969 … this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration : boolean
1009 this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration;
1010 >this.asts[this.top - 2].nodeType === TypeScript.NodeType.ClassDeclaration : boolean
[all …]
DparserRealSource3.symbols296 ClassDeclaration,
297 >ClassDeclaration : Symbol(NodeType.ClassDeclaration, Decl(parserRealSource3.ts, 101, 15))
DparserRealSource3.errors.txt109 ClassDeclaration,
DparserRealSource6.js135 case NodeType.ClassDeclaration:
342 case NodeType.ClassDeclaration:
/third_party/typescript/src/services/
Dbreakpoints.ts199 case SyntaxKind.ClassDeclaration:
452 …(functionDeclaration.parent.kind === SyntaxKind.ClassDeclaration && functionDeclaration.kind !== S…
573 case SyntaxKind.ClassDeclaration:
574 const classDeclaration = node.parent as ClassDeclaration;
595 case SyntaxKind.ClassDeclaration:
Dclassifier2020.ts62 case SyntaxKind.ClassDeclaration:
238 [SyntaxKind.ClassDeclaration, TokenType.class],
DcallHierarchy.ts32 | ClassDeclaration
163 case SyntaxKind.ClassDeclaration:
533 case SyntaxKind.ClassDeclaration:
/third_party/node/lib/internal/repl/
Dawait.js31 ClassDeclaration(node, state, c) { method
40 walk.base.ClassDeclaration(node, state, c);
/third_party/typescript/src/services/codefixes/
DconvertFunctionToEs6Class.ts218 …function createClassFromVariableDeclaration(node: VariableDeclaration): ClassDeclaration | undefin…
236 …unction createClassFromFunction(node: FunctionDeclaration | FunctionExpression): ClassDeclaration {
/third_party/typescript/src/deprecatedCompat/4.8/
DmergeDecoratorsAndModifiers.ts146 …lauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
150ClassDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | u…
868 …auses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration {
872 …auses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration {
893ClassDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, ty…
897ClassDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | u…
/third_party/typescript/src/services/formatting/
DsmartIndenter.ts461 case SyntaxKind.ClassDeclaration:
467 …return getList((node as ClassDeclaration | ClassExpression | StructDeclaration | InterfaceDeclarat…
586 case SyntaxKind.ClassDeclaration:
/third_party/typescript/src/compiler/
DohApi.ts18 …export function getReservedDecoratorsOfEtsFile(node: ClassDeclaration | StructDeclaration | Functi…
27 …export function getReservedDecoratorsOfStructDeclaration(node: ClassDeclaration | StructDeclaratio…
36 …export function ensureEtsDecorators(node: ClassDeclaration | StructDeclaration | FunctionDeclarati…

12345