Home
last modified time | relevance | path

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

1234

/third_party/flutter/engine/flutter/web_sdk/test/
Dapi_conform_test.dart15 final Map<String, ClassDeclaration> uiClasses = <String, ClassDeclaration>{};
16 final Map<String, ClassDeclaration> webClasses = <String, ClassDeclaration>{};
30 final ClassDeclaration uiClass = uiClasses[className];
31 final ClassDeclaration webClass = webClasses[className];
172 Map<String, ClassDeclaration> destination, String root) {
185 if (member is! ClassDeclaration) {
188 final ClassDeclaration classDeclaration = member;
197 void _collectPublicConstructors(ClassDeclaration classDeclaration,
215 void _collectPublicMethods(ClassDeclaration classDeclaration,
/third_party/typescript/src/compiler/transformers/
Dutilities.ts172 case SyntaxKind.ClassDeclaration:
177 …rtedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(<ClassDeclaration>node));
183 const name = (<ClassDeclaration>node).name;
340 …export function getProperties(node: ClassExpression | ClassDeclaration, requireInitializer: true, …
341 …export function getProperties(node: ClassExpression | ClassDeclaration, requireInitializer: boolea…
342 …export function getProperties(node: ClassExpression | ClassDeclaration, requireInitializer: boolea…
Dts.ts67 let currentNameScope: ClassDeclaration | undefined;
170 case SyntaxKind.ClassDeclaration:
177 if ((node as ClassDeclaration | FunctionDeclaration).name) {
178 … recordEmittedDeclarationInScope(node as ClassDeclaration | FunctionDeclaration);
184 …Debug.assert(node.kind === SyntaxKind.ClassDeclaration || hasSyntacticModifier(node, ModifierFlags…
435 case SyntaxKind.ClassDeclaration:
444 return visitClassDeclaration(<ClassDeclaration>node);
571 function shouldEmitDecorateCallForClass(node: ClassDeclaration) {
591 … function getClassFacts(node: ClassDeclaration, staticProperties: readonly PropertyDeclaration[]) {
616 function visitClassDeclaration(node: ClassDeclaration): VisitResult<Statement> {
[all …]
DclassFields.ts87 case SyntaxKind.ClassDeclaration:
464 function visitClassDeclaration(node: ClassDeclaration) {
572 …function transformClassMembers(node: ClassDeclaration | ClassExpression, isDerivedClass: boolean) {
603 … function transformConstructor(node: ClassDeclaration | ClassExpression, isDerivedClass: boolean) {
630 …function transformConstructorBody(node: ClassDeclaration | ClassExpression, constructor: Construct…
Des2017.ts3 …type SuperContainer = ClassDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorD…
145 case SyntaxKind.ClassDeclaration:
585 context.enableEmitNotification(SyntaxKind.ClassDeclaration);
695 return kind === SyntaxKind.ClassDeclaration
Des2015.ts377 case SyntaxKind.ClassDeclaration:
378 return visitClassDeclaration(<ClassDeclaration>node);
679 function visitClassDeclaration(node: ClassDeclaration): VisitResult<Statement> {
751 …function transformClassLikeDeclarationToExpression(node: ClassExpression | ClassDeclaration): Expr…
824 …function transformClassBody(node: ClassExpression | ClassDeclaration, extendsClauseElement: Expres…
861 …endsHelperIfNeeded(statements: Statement[], node: ClassExpression | ClassDeclaration, extendsClaus…
881 …function addConstructor(statements: Statement[], node: ClassExpression | ClassDeclaration, name: I…
925 …function createDefaultConstructorBody(node: ClassDeclaration | ClassExpression, isDerivedClass: bo…
956 … ConstructorDeclaration & { body: FunctionBody } | undefined, node: ClassDeclaration | ClassExpres…
1577 …function addClassMembers(statements: Statement[], node: ClassExpression | ClassDeclaration): void {
[all …]
/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/typescript/src/services/refactors/
DconvertExport.ts51 …type ExportToConvert = FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | EnumDeclara…
79 case SyntaxKind.ClassDeclaration:
84 …const node = exportNode as FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | EnumDec…
116 case SyntaxKind.ClassDeclaration:
DmoveToNewFile.ts671 | ClassDeclaration
697 case SyntaxKind.ClassDeclaration:
712 case SyntaxKind.ClassDeclaration:
718 …return cb(statement as FunctionDeclaration | ClassDeclaration | EnumDeclaration | ModuleDeclaratio…
787 case SyntaxKind.ClassDeclaration:
813 case SyntaxKind.ClassDeclaration:
DconvertParamsToDestructuredObject.ts385 …function hasNameOrDefault(functionOrClassDeclaration: FunctionDeclaration | ClassDeclaration): boo…
567 case SyntaxKind.ClassDeclaration:
624 parent: ClassDeclaration | (ClassExpression & { parent: ValidVariableDeclaration });
/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/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 &&
DparserRealSource3.symbols296 ClassDeclaration,
297 >ClassDeclaration : Symbol(NodeType.ClassDeclaration, Decl(parserRealSource3.ts, 101, 15))
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.errors.txt109 ClassDeclaration,
DparserRealSource6.js135 case NodeType.ClassDeclaration:
342 case NodeType.ClassDeclaration:
/third_party/typescript/src/services/
Dbreakpoints.ts188 case SyntaxKind.ClassDeclaration:
441 …(functionDeclaration.parent.kind === SyntaxKind.ClassDeclaration && functionDeclaration.kind !== S…
562 case SyntaxKind.ClassDeclaration:
563 const classDeclaration = <ClassDeclaration>node.parent;
584 case SyntaxKind.ClassDeclaration:
Dclassifier2020.ts62 case SyntaxKind.ClassDeclaration:
238 [SyntaxKind.ClassDeclaration, TokenType.class],
DcallHierarchy.ts32 | ClassDeclaration
150 case SyntaxKind.ClassDeclaration:
495 case SyntaxKind.ClassDeclaration:
/third_party/node/lib/internal/repl/
Dawait.js32 ClassDeclaration(node, state, c) { method
41 walk.base.ClassDeclaration(node, state, c);
/third_party/typescript/src/services/codefixes/
DconvertFunctionToEs6Class.ts209 …function createClassFromVariableDeclaration(node: VariableDeclaration): ClassDeclaration | undefin…
227 function createClassFromFunctionDeclaration(node: FunctionDeclaration): ClassDeclaration {
/third_party/typescript/src/compiler/
DvisitorPublic.ts885 case SyntaxKind.ClassDeclaration:
886 return factory.updateClassDeclaration(<ClassDeclaration>node,
887 nodesVisitor((<ClassDeclaration>node).decorators, visitor, isDecorator),
888 nodesVisitor((<ClassDeclaration>node).modifiers, visitor, isModifier),
889 nodeVisitor((<ClassDeclaration>node).name, visitor, isIdentifier),
890 … nodesVisitor((<ClassDeclaration>node).typeParameters, visitor, isTypeParameterDeclaration),
891 … nodesVisitor((<ClassDeclaration>node).heritageClauses, visitor, isHeritageClause),
892 nodesVisitor((<ClassDeclaration>node).members, visitor, isClassElement));
/third_party/typescript/src/services/formatting/
DsmartIndenter.ts435 case SyntaxKind.ClassDeclaration:
441 …return getList((<ClassDeclaration | ClassExpression | StructDeclaration | InterfaceDeclaration | T…
560 case SyntaxKind.ClassDeclaration:

1234