Home
last modified time | relevance | path

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

123

/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 …]
DparserRealSource6.types751 …somewhere we don't expect :-S if (funcDecl.isConstructor && hasFlag(fun…
755 …somewhere we don't expect :-S if (funcDecl.isConstructor && hasFlag(fun…
758 … if (funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) {
759 >funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod) : any
760 >funcDecl.isConstructor : any
762 >isConstructor : any
DparserRealSource8.errors.txt424 (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod))) {
452 … (<FuncDecl>context.scopeChain.previous.scope.container.declAST).isConstructor) {
469 else if (funcDecl.isConstructor && context.scopeChain.thisType) {
510 if (!funcDecl.isConstructor &&
520 (<FuncDecl>container.declAST).isConstructor &&
635 if (funcDecl.isConstructor && context.scopeChain.thisType) {
654 if (!funcDecl.isConstructor) {
691 if (!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) {
696 …var thisType = (funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) ? cont…
834 …if ((!funcDecl.isConstructor || hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) && !funcDecl.isO…
DparserRealSource6.js180 … if (funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) {
384 … if (funcDecl.isConstructor && hasFlag(funcDecl.fncFlags, FncFlags.ClassMethod)) {
/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/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/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/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/
DFunctionLookup.h33 bool isConstructor() const;
DFunctionLookup.cpp144 bool TFunctionLookup::isConstructor() const in isConstructor() function in sh::TFunctionLookup
/third_party/node/typings/internalBinding/
Dutil.d.ts33 isConstructor(fn: Function): boolean;
/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/compiler/translator/TranslatorMetalDirect/
DFixTypeConstructors.cpp27 if (aggregateNode->isConstructor()) in visitAggregate()
DAddExplicitTypeCasts.cpp33 if (callNode.isConstructor()) in visitAggregatePost()
DDiscoverDependentFunctions.cpp59 if (!aggregateNode->isConstructor()) in visitAggregate()
DName.cpp145 if (node->isConstructor()) in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp141 (node->isConstructor() || node->isFunctionCall() || in match()
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/idlgen/
Dmain.go113 "IsConstructor": isConstructor,
469 func isConstructor(v interface{}) bool { func
/third_party/glslang/glslang/MachineIndependent/
DparseConst.cpp73 if (! node->isConstructor() && node->getOp() != EOpComma) { in visitAggregate()

123