Home
last modified time | relevance | path

Searched refs:isConstructor (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
DparserRealSource8.js196 (!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 …]
DparserRealSource8.types899 >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 …]
DparserRealSource7.js592 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 …]
DparserRealSource7.types3327 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 &&
3466isConstructor && containerSym && containerSym.declAST && containe…
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource8.ts195 (!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…
DparserRealSource7.ts591 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/
DcompletionsRecommended_import.ts22 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/
DSeparateArrayConstructorStatements.cpp30 if (argTyped->isArray() && argAggregate && argAggregate->isConstructor()) in SplitConstructorArgs()
62 if (!node->isArray() || !node->isConstructor()) in visitAggregate()
DSeparateExpressionsReturningArrays.cpp95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
DRecordConstantPrecision.cpp101 if (parentAsAggregate->isConstructor() && parentAsAggregate->getBasicType() == EbtBool) in operandAffectsParentOperationPrecision()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DSeparateArrayConstructorStatements.cpp30 if (argTyped->isArray() && argAggregate && argAggregate->isConstructor()) in SplitConstructorArgs()
62 if (!node->isArray() || !node->isConstructor()) in visitAggregate()
DSeparateExpressionsReturningArrays.cpp95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dprefer-readonly.ts138 function isConstructor( function
235 if (isConstructor(node)) {
250 if (isConstructor(node)) {
Dexplicit-module-boundary-types.ts432 const isConstructor = constant
439 if (!isConstructor && !isSetAccessor && !node.returnType) {
/third_party/typescript_eslint/packages/eslint-plugin/src/util/
DexplicitReturnTypeUtils.ts7 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/
Dpredicates.ts170 function isConstructor( function
220 isConstructor,
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DGatherAPIData.java262 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/
DFunctionLookup.h33 bool isConstructor() const;
DBuiltInFunctionEmulator.cpp38 if (node->isConstructor() || node->isFunctionCall()) in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DFunctionLookup.h33 bool isConstructor() const;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRecordConstantPrecision.cpp83 return parentAsAggregate->isConstructor() || in operandAffectsParentOperationPrecision()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dcompiler_test.cpp29 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/
DFixTypeConstructors.cpp27 if (aggregateNode->isConstructor()) in visitAggregate()
DAddExplicitTypeCasts.cpp33 if (callNode.isConstructor()) in visitAggregatePost()
DDiscoverDependentFunctions.cpp59 if (!aggregateNode->isConstructor()) in visitAggregate()

1234