/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/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[]
|
D | underscoreTest1.types | 306 >_.pluck : { (list: any[], propertyName: string): any[]; (list: Dictionary<any>, propertyName: stri… 308 >pluck : { (list: any[], propertyName: string): any[]; (list: Dictionary<any>, propertyName: string… 342 …, any>, context?: any): T[]; <T>(list: T[], propertyName: string): T[]; <T>(list: Dictionary<T>, p… 344 …, any>, context?: any): T[]; <T>(list: T[], propertyName: string): T[]; <T>(list: Dictionary<T>, p… 364 …ator?: Iterator_<number, any>, context?: any): Dictionary<number[]>; (propertyName: string): Dicti… 371 …ator?: Iterator_<number, any>, context?: any): Dictionary<number[]>; (propertyName: string): Dicti… 384 …any): Dictionary<T[]>; <T>(list: T[], propertyName: string): Dictionary<T[]>; <T>(list: Dictionary… 386 …any): Dictionary<T[]>; <T>(list: T[], propertyName: string): Dictionary<T[]>; <T>(list: Dictionary… 401 …any): Dictionary<T[]>; <T>(list: T[], propertyName: string): Dictionary<T[]>; <T>(list: Dictionary… 403 …any): Dictionary<T[]>; <T>(list: T[], propertyName: string): Dictionary<T[]>; <T>(list: Dictionary… [all …]
|
D | fixSignatureCaching.js | 408 impl.getVersionStr = function (propertyName, userAgent) { argument 410 if (hasOwnProp.call(props, propertyName)) { 411 patterns = props[propertyName]; 432 impl.getVersion = function (propertyName, userAgent) { argument 433 var version = impl.getVersionStr(propertyName, userAgent); 1383 impl.getVersionStr = function (propertyName, userAgent) { argument 1385 if (hasOwnProp.call(props, propertyName)) { 1386 patterns = props[propertyName]; 1406 impl.getVersion = function (propertyName, userAgent) { argument 1407 var version = impl.getVersionStr(propertyName, userAgent);
|
D | underscoreTest1.js | 112 pluck(propertyName: string): any[]; 116 sortBy(propertyName: string): T[]; 118 groupBy(propertyName: string): Dictionary<T[]>; 120 countBy(propertyName: string): Dictionary<number>; 150 sortedIndex(obj: T, propertyName: string): number; 195 pluck(propertyName: string): any[]; 199 sortBy(propertyName: string): T[]; 201 groupBy(propertyName: string): Dictionary<T[]>; 203 countBy(propertyName: string): Dictionary<number>; 271 pluck(propertyName: string): ChainedArray<any>; [all …]
|
/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 …]
|
D | classFields.ts | 762 …const propertyName = isComputedPropertyName(property.name) && !isSimpleInlineableExpression(proper… constant 766 if (shouldTransformPrivateFields && isPrivateIdentifier(propertyName)) { 767 const privateIdentifierInfo = accessPrivateIdentifier(propertyName); 783 if (isPrivateIdentifier(propertyName) && !property.initializer) { 787 if (isPrivateIdentifier(propertyName) && !property.initializer) { 796 …ion(propertyOriginalNode, propertyOriginalNode.parent) && isIdentifier(propertyName) ? propertyName 799 if (emitAssignment || isPrivateIdentifier(propertyName)) { 800 …ss = createMemberAccessForPropertyName(factory, receiver, propertyName, /*location*/ propertyName); 804 const name = isComputedPropertyName(propertyName) ? propertyName.expression 805 …: isIdentifier(propertyName) ? factory.createStringLiteral(unescapeLeadingUnderscores(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);
|
D | util.js | 33 for (var propertyName in Parent.prototype) { 34 if (hasProp.call(Parent.prototype, propertyName) && 35 propertyName.charAt(propertyName.length-1) !== "$" 37 this[propertyName + "$"] = Parent.prototype[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/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/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…
|
D | convertExport.ts | 232 function makeImportSpecifier(propertyName: string, name: string): ImportSpecifier { 233 …return factory.createImportSpecifier(propertyName === name ? undefined : factory.createIdentifier(… 236 function makeExportSpecifier(propertyName: string, name: string): ExportSpecifier { 237 …return factory.createExportSpecifier(propertyName === name ? undefined : factory.createIdentifier(…
|
/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/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/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/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 …]
|
/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…
|