/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource8.js | 196 (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod))) { 212 (<FuncDecl>context.scopeChain.previous.scope.container.declAST).isConstructor) { 227 else if (funcDecl.isConstructor && context.scopeChain.thisType) { 254 if (!funcDecl.isConstructor && 258 (<FuncDecl>container.declAST).isConstructor && 325 if (funcDecl.isConstructor && context.scopeChain.thisType) { 344 if (!funcDecl.isConstructor) { 373 if (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) { 374 …var thisType = (funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) ? cont… 450 …if ((!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) && !funcDecl.isO… [all …]
|
D | parserRealSource8.types | 899 >context.scopeChain.thisType && (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, F… 906 (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod))) { 907 >(!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) : any 908 >!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod) : any 909 >!funcDecl.isConstructor : boolean 910 >funcDecl.isConstructor : any 912 >isConstructor : any 979 … (<FuncDecl>context.scopeChain.previous.scope.container.declAST).isConstructor : any 1024 (<FuncDecl>context.scopeChain.previous.scope.container.declAST).isConstructor) { 1025 >(<FuncDecl>context.scopeChain.previous.scope.container.declAST).isConstructor : any [all …]
|
D | parserRealSource7.js | 592 var isConstructor = funcDecl.isConstructMember() || funcDecl.isConstructor; variable 601 if (isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) { 611 if (!funcDecl.isConstructor && 615 (<FuncDecl>containerSym.declAST).isConstructor && 700 if (funcDecl.isConstructor && context.scopeChain.previous) { 711 …if (!isConstructor && fgSym.declAST.nodeType == NodeType.FuncDecl && !(<FuncDecl>fgSym.declAST).is… 726 !funcDecl.isConstructor) { 730 … == SymbolKind.Type) && funcDecl.isMethod() && !funcDecl.isAccessor() && !funcDecl.isConstructor) { 742 if (funcDecl.isConstructor) { // REVIEW: Remove when classes completely replace oldclass 1301 var isConstructor = funcDecl.isConstructMember() || funcDecl.isConstructor; [all …]
|
D | parserRealSource7.types | 3327 var isConstructor = funcDecl.isConstructMember() || funcDecl.isConstructor; 3328 >isConstructor : any 3329 >funcDecl.isConstructMember() || funcDecl.isConstructor : any 3334 >funcDecl.isConstructor : any 3336 >isConstructor : any 3419 if (isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) { 3420 >isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod) : any 3421 >isConstructor : any 3465 if (!funcDecl.isConstructor && 3466 …isConstructor && containerSym && containerSym.declAST && containe… [all …]
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource8.ts | 195 (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod))) { 211 (<FuncDecl>context.scopeChain.previous.scope.container.declAST).isConstructor) { 226 else if (funcDecl.isConstructor && context.scopeChain.thisType) { 253 if (!funcDecl.isConstructor && 257 (<FuncDecl>container.declAST).isConstructor && 324 if (funcDecl.isConstructor && context.scopeChain.thisType) { 343 if (!funcDecl.isConstructor) { 372 if (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) { 373 …var thisType = (funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) ? cont… 449 …if ((!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) && !funcDecl.isO…
|
D | parserRealSource7.ts | 591 var isConstructor = funcDecl.isConstructMember() || funcDecl.isConstructor; 600 if (isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) { 610 if (!funcDecl.isConstructor && 614 (<FuncDecl>containerSym.declAST).isConstructor && 699 if (funcDecl.isConstructor && context.scopeChain.previous) { 710 …if (!isConstructor && fgSym.declAST.nodeType == NodeType.FuncDecl && !(<FuncDecl>fgSym.declAST).is… 725 !funcDecl.isConstructor) { 729 … == SymbolKind.Type) && funcDecl.isMethod() && !funcDecl.isAccessor() && !funcDecl.isConstructor) { 741 if (funcDecl.isConstructor) { // REVIEW: Remove when classes completely replace oldclass
|
/third_party/typescript/tests/cases/fourslash/ |
D | completionsRecommended_import.ts | 22 const classEntry = (isConstructor: boolean): FourSlashInterface.ExpectedCompletionEntry => ({ 28 text: isConstructor ? "constructor Cls(): Cls" : "class Cls",
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | SeparateArrayConstructorStatements.cpp | 30 if (argTyped->isArray() && argAggregate && argAggregate->isConstructor()) in SplitConstructorArgs() 62 if (!node->isArray() || !node->isConstructor()) in visitAggregate()
|
D | SeparateExpressionsReturningArrays.cpp | 95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
|
D | RecordConstantPrecision.cpp | 101 if (parentAsAggregate->isConstructor() && parentAsAggregate->getBasicType() == EbtBool) in operandAffectsParentOperationPrecision()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | SeparateArrayConstructorStatements.cpp | 30 if (argTyped->isArray() && argAggregate && argAggregate->isConstructor()) in SplitConstructorArgs() 62 if (!node->isArray() || !node->isConstructor()) in visitAggregate()
|
D | SeparateExpressionsReturningArrays.cpp | 95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | prefer-readonly.ts | 138 function isConstructor( function 235 if (isConstructor(node)) { 250 if (isConstructor(node)) {
|
D | explicit-module-boundary-types.ts | 432 const isConstructor = constant 439 if (!isConstructor && !isSetAccessor && !node.returnType) {
|
/third_party/typescript_eslint/packages/eslint-plugin/src/util/ |
D | explicitReturnTypeUtils.ts | 7 import { isTypeAssertion, isConstructor, isSetter } from './astUtils'; 310 if (node.returnType || isConstructor(node.parent) || isSetter(node.parent)) {
|
/third_party/typescript_eslint/packages/experimental-utils/src/ast-utils/ |
D | predicates.ts | 170 function isConstructor( function 220 isConstructor,
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | GatherAPIData.java | 262 return doc.isConstructor() in isAbstractClassDefaultConstructor() 287 if (doc.isConstructor()) System.err.print(" constructor"); in ignore() 385 } else if (doc.isConstructor()) { in createInfo() 405 if (doc.isConstructor()) { in createInfo()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | FunctionLookup.h | 33 bool isConstructor() const;
|
D | BuiltInFunctionEmulator.cpp | 38 if (node->isConstructor() || node->isFunctionCall()) in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | FunctionLookup.h | 33 bool isConstructor() const;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RecordConstantPrecision.cpp | 83 return parentAsAggregate->isConstructor() || in operandAffectsParentOperationPrecision()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | compiler_test.cpp | 29 ASSERT(!node->isConstructor()); in GetSymbolTableMangledName() 45 if (!node->isConstructor() && GetSymbolTableMangledName(node) == mFunctionMangledName) in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | FixTypeConstructors.cpp | 27 if (aggregateNode->isConstructor()) in visitAggregate()
|
D | AddExplicitTypeCasts.cpp | 33 if (callNode.isConstructor()) in visitAggregatePost()
|
D | DiscoverDependentFunctions.cpp | 59 if (!aggregateNode->isConstructor()) in visitAggregate()
|