/third_party/jsframework/mock-generate/src/generate/ |
D | generatePropertySignatureDeclaration.ts | 33 propertySignatureBody += `${propertySignature.propertyName}: function(...args) {`; 34 propertySignatureBody += getWarnConsole(rootName, propertySignature.propertyName); 39 propertySignatureBody = `${propertySignature.propertyName}: {},`; 42 propertySignatureBody = `${propertySignature.propertyName}: [],`; 44 propertySignatureBody = `${propertySignature.propertyName}: {key: {}},`; 47 …pertySignatureBody = `${propertySignature.propertyName}: '[PC Preview] unkonwn ${propertySignature… 52 propertySignatureBody = `${propertySignature.propertyName}: ${genericArg},`; 55 …propertySignatureBody = `${propertySignature.propertyName}: ${getTheRealReferenceFromImport(source… 57 …propertySignatureBody = `${propertySignature.propertyName}: ${propertyTypeWhiteList(propertySignat… 62 propertySignatureBody = `${propertySignature.propertyName}: 0,`; [all …]
|
D | generatePropertyDeclaration.ts | 31 propertyBody = `this.${propertyDeclaration.propertyName} = ${propertyDeclaration.initializer};`; 34 propertyBody = `this.${propertyDeclaration.propertyName} = {};`; 36 …propertyBody = `this.${propertyDeclaration.propertyName} = ${propertyDeclaration.propertyTypeName}… 38 propertyBody = `this.${propertyDeclaration.propertyName} = 0;`; 40 propertyBody = `this.${propertyDeclaration.propertyName} = ''`; 42 propertyBody = `this.${propertyDeclaration.propertyName} = true`; 44 propertyBody = `this.${propertyDeclaration.propertyName} = [];`; 46 propertyBody = `this.${propertyDeclaration.propertyName} = {key: {}};`; 48 propertyBody = `this.${propertyDeclaration.propertyName} = `; 59 …propertyBody = `this.${propertyDeclaration.propertyName} = ${propertyDeclaration.propertyTypeName}… [all …]
|
/third_party/typescript/tests/cases/fourslash/ |
D | formattingOptionsChange.ts | 37 function runTest(propertyName: string, expectedStringWhenTrue: string, expectedStringWhenFalse: str… 39 goTo.marker(propertyName); 42 format.setOption(propertyName, false); 48 goTo.marker(propertyName); 52 format.setOption(propertyName, true); 58 goTo.marker(propertyName); 61 format.setOption(propertyName, defaultFormatOption[propertyName])
|
D | formattingOptionsChangeJsx.ts | 15 const propertyName = "InsertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"; constant 21 format.setOption(propertyName, false); 31 format.setOption(propertyName, true);
|
/third_party/jsframework/mock-generate/src/declaration-node/ |
D | propertySignatureDeclaration.ts | 26 let propertyName = ''; 30 propertyName = getPropertyName(node.name, sourceFile); 46 propertyName: propertyName, 54 propertyName: string, property
|
D | propertyDeclaration.ts | 26 let propertyName = ''; 44 propertyName = getPropertyName(node.name, sourceFile); 54 propertyName: propertyName, 64 propertyName: string, property
|
/third_party/typescript/tests/baselines/reference/ |
D | quickInfoDisplayPartsClassAccessors.baseline | 41 "kind": "propertyName" 98 "kind": "propertyName" 155 "kind": "propertyName" 212 "kind": "propertyName" 269 "kind": "propertyName" 326 "kind": "propertyName" 383 "kind": "propertyName" 440 "kind": "propertyName" 497 "kind": "propertyName" 554 "kind": "propertyName" [all …]
|
D | quickInfoDisplayPartsClassProperty.baseline | 41 "kind": "propertyName" 98 "kind": "propertyName" 155 "kind": "propertyName" 212 "kind": "propertyName" 269 "kind": "propertyName" 326 "kind": "propertyName" 383 "kind": "propertyName" 440 "kind": "propertyName" 497 "kind": "propertyName" 554 "kind": "propertyName" [all …]
|
D | underscoreMapFirst.types | 26 >pluck : <T extends {}>(list: Collection<T>, propertyName: string) => any[] 31 propertyName: string): any[]; 32 >propertyName : string 91 >_.pluck : <T extends {}>(list: _.Collection<T>, propertyName: string) => any[] 93 >pluck : <T extends {}>(list: _.Collection<T>, propertyName: string) => any[]
|
/third_party/typescript/src/services/codefixes/ |
D | convertToEs6Module.ts | 198 …function convertPropertyAccessImport(name: BindingName, propertyName: string, moduleSpecifier: Str… 203 const tmp = makeUniqueName(propertyName, identifiers); 205 makeSingleImport(tmp, propertyName, moduleSpecifier, quotePreference), 211 …return convertedImports([makeSingleImport(name.text, propertyName, moduleSpecifier, quotePreferenc… 409 …e.dotDotDotToken || e.initializer || e.propertyName && !isIdentifier(e.propertyName) || !isIdentif… 413 … : makeImportSpecifier(e.propertyName && (e.propertyName as Identifier).text, e.name.text)); 457 const { expression, name: { text: propertyName } } = parent; 459 let idName = namedBindingsNames.get(propertyName); 461 idName = makeUniqueName(propertyName, identifiers); 462 namedBindingsNames.set(propertyName, idName); [all …]
|
D | convertLiteralTypeToMappedType.ts | 38 const propertyName = token.getText(sourceFile); constant 42 constraint: propertyName, 43 name: propertyName === "K" ? "P" : "K",
|
/third_party/typescript/src/compiler/transformers/ |
D | destructuring.ts | 149 const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element); constant 150 …if (propertyName && isComputedPropertyName(propertyName) && !isLiteralExpression(propertyName.expr… 326 const propertyName = getPropertyNameOfBindingOrAssignmentElement(element)!; constant 330 && !isComputedPropertyName(propertyName)) { 338 … const rhsValue = createDestructuringPropertyAccess(flattenContext, value, propertyName); 339 if (isComputedPropertyName(propertyName)) { 445 const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element); constant 446 if (propertyName && !isPropertyNameLiteral(propertyName)) return false; 476 …ringPropertyAccess(flattenContext: FlattenContext, value: Expression, propertyName: PropertyName):… 477 if (isComputedPropertyName(propertyName)) { [all …]
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | call_get.js | 35 var makeGetter = function (propertyName) { argument 39 ".replace("propertyName", propertyName)); 108 Promise.prototype.get = function (propertyName) { argument 109 var isIndex = (typeof propertyName === "number"); 113 var maybeGetter = getGetter(propertyName); 121 return this._then(getter, undefined, undefined, propertyName, undefined);
|
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/ |
D | no-unsafe-member-access.ts | 60 const propertyName = sourceCode.getText(node.property); constant 65 property: node.computed ? `[${propertyName}]` : `.${propertyName}`, 95 const propertyName = sourceCode.getText(node); constant 100 property: `[${propertyName}]`,
|
/third_party/typescript/src/services/refactors/ |
D | convertImport.ts | 115 exportNameToImportName.forEach((name, propertyName) => { 116 …push(factory.createImportSpecifier(name === propertyName ? undefined : factory.createIdentifier(pr… 150 const propertyName = (element.propertyName || element.name).text; constant 152 …actory.createPropertyAccessExpression(factory.createIdentifier(namespaceImportName), propertyName); 156 else if (isExportSpecifier(id.parent) && !id.parent.propertyName) { 158 …ts.push(factory.createImportSpecifier(element.propertyName && factory.createIdentifier(element.pro…
|
/third_party/typescript/src/harness/ |
D | harnessUtils.ts | 209 …for (const propertyName of Object.getOwnPropertyNames(n) as readonly (keyof ts.SourceFile | keyof … constant 210 switch (propertyName) { 225 o[propertyName] = getKindName((<any>n)[propertyName]); 234 o[propertyName] = getNodeFlagName(flags); 239 o[propertyName] = convertDiagnostics((<any>n)[propertyName]); 244 …o[propertyName] = { kind: n.nextContainer.kind, pos: n.nextContainer.pos, end: n.nextContainer.end… 251 o[propertyName] = (<any>n)[propertyName]; 256 o[propertyName] = (<any>n)[propertyName];
|
/third_party/typescript/src/compiler/factory/ |
D | utilities.ts | 699 const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement); constant 700 …Debug.assert(!!propertyName || isSpreadAssignment(bindingElement), "Invalid property name for bind… 701 return propertyName; 711 if (bindingElement.propertyName) { 712 const propertyName = bindingElement.propertyName; constant 713 if (isPrivateIdentifier(propertyName)) { 714 return Debug.failBadSyntaxKind(propertyName); 716 … return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) 717 ? propertyName.expression 718 : propertyName; [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/ |
D | InspectableNativeWindow.cpp | 132 const wchar_t *propertyName, in GetOptionalPropertyValue() argument 144 HRESULT result = propertyMap->HasKey(HStringReference(propertyName).Get(), hasKey); in GetOptionalPropertyValue() 154 result = propertyMap->Lookup(HStringReference(propertyName).Get(), &propertyValue); in GetOptionalPropertyValue() 174 const wchar_t *propertyName, in GetOptionalSizePropertyValue() argument 193 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSizePropertyValue() 240 const wchar_t *propertyName, in GetOptionalSinglePropertyValue() argument 259 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSinglePropertyValue()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/ |
D | InspectableNativeWindow.cpp | 132 const wchar_t *propertyName, in GetOptionalPropertyValue() argument 144 HRESULT result = propertyMap->HasKey(HStringReference(propertyName).Get(), hasKey); in GetOptionalPropertyValue() 154 result = propertyMap->Lookup(HStringReference(propertyName).Get(), &propertyValue); in GetOptionalPropertyValue() 174 const wchar_t *propertyName, in GetOptionalSizePropertyValue() argument 193 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSizePropertyValue() 240 const wchar_t *propertyName, in GetOptionalSinglePropertyValue() argument 259 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSinglePropertyValue()
|
/third_party/node/test/parallel/ |
D | test-vm-basic.js | 110 ['name', 'origin'].forEach((propertyName) => { 112 vm.createContext({}, { [propertyName]: null }); 116 message: `The "options.${propertyName}" property must be of type string. ` + 121 ['contextName', 'contextOrigin'].forEach((propertyName) => { 123 vm.runInNewContext('', {}, { [propertyName]: null }); 127 message: `The "options.${propertyName}" property must be of type string. ` +
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | system_utils.cpp | 35 std::string GetEnvironmentVarOrAndroidProperty(const char *variableName, const char *propertyName) in GetEnvironmentVarOrAndroidProperty() argument 47 return GetEnvironmentVarOrUnCachedAndroidProperty(variableName, propertyName); in GetEnvironmentVarOrAndroidProperty() 53 const char *propertyName) in GetEnvironmentVarOrUnCachedAndroidProperty() argument 58 const prop_info *propertyInfo = __system_property_find(propertyName); in GetEnvironmentVarOrUnCachedAndroidProperty()
|
/third_party/jsframework/mock-generate/src/common/ |
D | commonUtils.ts | 119 let propertyName = ''; 122 propertyName = newNameNode.escapedText.toString(); 125 …propertyName = sourceFile.text.substring(newNameNode.expression.pos, newNameNode.expression.end).t… 127 propertyName = sourceFile.text.substring(node.pos, node.end).trimStart().trimEnd(); 129 return propertyName;
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | FieldDescriptor.cs | 48 private readonly string propertyName; // Annoyingly, needed in Crosslink. field in Google.Protobuf.Reflection.FieldDescriptor 96 … MessageDescriptor parent, int index, string propertyName, Extension extension) in FieldDescriptor() argument 126 this.propertyName = propertyName; in FieldDescriptor() 439 if (propertyName == null) in CreateAccessor() 444 var property = ContainingType.ClrType.GetProperty(propertyName); in CreateAccessor()
|
/third_party/typescript/src/services/ |
D | getEditsForFileRename.ts | 56 forEachProperty(jsonObjectLiteral, (property, propertyName) => { 57 switch (propertyName) { 62 …if (!foundExactMatch && propertyName === "include" && isArrayLiteralExpression(property.initialize… 74 forEachProperty(property.initializer, (property, propertyName) => { 75 const option = getOptionFromName(propertyName); 79 else if (propertyName === "paths") { 253 …roperty(objectLiteral: Expression, cb: (property: PropertyAssignment, propertyName: string) => voi…
|
/third_party/typescript/tests/cases/compiler/ |
D | underscoreTest1.ts | 110 pluck(propertyName: string): any[]; 114 sortBy(propertyName: string): T[]; 116 groupBy(propertyName: string): Dictionary<T[]>; 118 countBy(propertyName: string): Dictionary<number>; 148 sortedIndex(obj: T, propertyName: string): number; 193 pluck(propertyName: string): any[]; 197 sortBy(propertyName: string): T[]; 199 groupBy(propertyName: string): Dictionary<T[]>; 201 countBy(propertyName: string): Dictionary<number>; 269 pluck(propertyName: string): ChainedArray<any>; [all …]
|