Home
last modified time | relevance | path

Searched refs:propertyName (Results 1 – 25 of 130) sorted by relevance

123456

/third_party/typescript/tests/cases/fourslash/
DformattingOptionsChange.ts37 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])
DformattingOptionsChangeJsx.ts15 const propertyName = "InsertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"; constant
21 format.setOption(propertyName, false);
31 format.setOption(propertyName, true);
/third_party/typescript/tests/baselines/reference/
DquickInfoDisplayPartsClassAccessors.baseline41 "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 …]
DquickInfoDisplayPartsClassProperty.baseline41 "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 …]
DunderscoreMapFirst.types26 >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[]
DunderscoreTest1.types306 >_.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 …]
DfixSignatureCaching.js408 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);
DunderscoreTest1.js112 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/
DconvertToEs6Module.ts198 …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 …]
DconvertLiteralTypeToMappedType.ts38 const propertyName = token.getText(sourceFile); constant
42 constraint: propertyName,
43 name: propertyName === "K" ? "P" : "K",
/third_party/typescript/src/compiler/transformers/
Ddestructuring.ts149 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 …]
DclassFields.ts762 …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/
Dcall_get.js35 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);
Dutil.js33 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/
Dutilities.ts699 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/
DharnessUtils.ts209 …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/
DconvertImport.ts115 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…
DconvertExport.ts232 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/
DInspectableNativeWindow.cpp132 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/
DInspectableNativeWindow.cpp132 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/
Dtest-vm-basic.js110 ['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/
Dsystem_utils.cpp35 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/
DunderscoreTest1.ts110 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/
DFieldDescriptor.cs48 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/
DgetEditsForFileRename.ts56 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…

123456