/arkcompiler/ets_frontend/ts2panda/src/base/ |
D | properties.ts | 254 export function getPropName(propertyName: ts.PropertyName): string | number | ts.ComputedPropertyNa… 255 if (ts.isComputedPropertyName(propertyName)) { 256 return propertyName; 259 let propName: number | string = jshelpers.getTextOfIdentifierOrLiteral(propertyName); 261 if (propertyName.kind === ts.SyntaxKind.NumericLiteral) { 266 } else if (propertyName.kind === ts.SyntaxKind.StringLiteral) {
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | modules.ts | 53 addNodeMap(name: ts.Node, propertyName: ts.Node): void { 54 this.bingdingNodeMap.set(name, propertyName);
|
D | recorder.ts | 418 …let exoticName: string = element.propertyName ? jshelpers.getTextOfIdentifierOrLiteral(element.pro… 420 … importStmt.addNodeMap(element.name, element.propertyName ? element.propertyName : element.name); 453 …let exoticName: string = element.propertyName ? jshelpers.getTextOfIdentifierOrLiteral(element.pro… 455 … exportStmt.addNodeMap(element.name, element.propertyName ? element.propertyName : element.name); 484 …let importName: string = element.propertyName ? jshelpers.getTextOfIdentifierOrLiteral(element.pro… 540 …let importName: string = element.propertyName ? jshelpers.getTextOfIdentifierOrLiteral(element.pro… 553 …let localName: string = element.propertyName ? jshelpers.getTextOfIdentifierOrLiteral(element.prop…
|
D | compilerUtils.ts | 309 if (bindingElement.propertyName) { 310 key = <ts.Expression>bindingElement.propertyName;
|
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/ |
D | ShorthandPropertyTransformer.ts | 81 if (isElementsInObjectBindingPattern(node) && !node.propertyName && !node.dotDotDotToken) {
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | underscoreMapFirst.ts | 37 propertyName: string): any[];
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_manager.cpp | 230 GlobalTSTypeRef TSManager::GetPropType(GlobalTSTypeRef gt, JSHandle<JSTaggedValue> propertyName) co… in GetPropType() 238 return TSClassType::GetPropTypeGT(thread, classType, propertyName); in GetPropType() 241 return TSClassInstanceType::GetPropTypeGT(thread, classInstanceType, propertyName); in GetPropType() 244 return TSObjectType::GetPropTypeGT(thread, objectType, propertyName); in GetPropType() 247 return TSIteratorInstanceType::GetPropTypeGT(thread, iteratorInstance, propertyName); in GetPropType() 250 return TSInterfaceType::GetPropTypeGT(thread, interfaceType, propertyName); in GetPropType() 253 return TSNamespaceType::GetPropTypeGT(thread, namespaceType, propertyName); in GetPropType() 309 …obalTSTypeRef TSManager::GetSuperPropType(GlobalTSTypeRef gt, JSHandle<JSTaggedValue> propertyName, in GetSuperPropType() argument 316 return TSClassType::GetSuperPropTypeGT(thread, classType, propertyName, propType); in GetSuperPropType() 326 JSMutableHandle<JSTaggedValue> propertyName(thread_, JSTaggedValue::Undefined()); in GetSuperPropType() local [all …]
|
D | ts_manager.h | 220 …inline GlobalTSTypeRef PUBLIC_API GetPropType(GlobalTSTypeRef gt, JSTaggedValue propertyName) const in GetPropType() argument 222 return GetPropType(gt, JSHandle<JSTaggedValue>(thread_, propertyName)); in GetPropType() 272 JSHandle<JSTaggedValue> propertyName, 276 JSTaggedValue propertyName, in GetSuperPropType() argument 279 return GetSuperPropType(gt, JSHandle<JSTaggedValue>(vm_->GetJSThread(), propertyName), in GetSuperPropType() 893 …GlobalTSTypeRef PUBLIC_API GetPropType(GlobalTSTypeRef gt, JSHandle<JSTaggedValue> propertyName) c…
|
/arkcompiler/ets_frontend/arkguard/src/utils/ |
D | NodeUtils.ts | 55 if (isBindingElement(parent) && parent.propertyName === node) {
|
D | OhsUtil.ts | 358 const propertyName: PropertyName = propertyElement.name; constant 359 collectPropertyNamesAndStrings(propertyName, propertySet);
|
D | ScopeAnalyzer.ts | 472 if (node.propertyName) { 473 current.importNames.add(node.propertyName.text); 503 if (bindingElement.propertyName) {
|
/arkcompiler/ets_frontend/arkguard/src/common/ |
D | ApiExtractor.ts | 313 if (child.propertyName) { 314 mCurrentExportNameSet.add(child.propertyName.getText());
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | method_type_infer.h | 119 GlobalTSTypeRef GetPropType(const GateType type, const JSTaggedValue propertyName) const;
|
D | method_type_infer.cpp | 1179 GlobalTSTypeRef MethodTypeInfer::GetPropType(const GateType type, const JSTaggedValue propertyName)… in GetPropType() 1182 GlobalTSTypeRef propGT = tsManager_->GetPropType(objGT, propertyName); in GetPropType()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
D | ts_type_parser_test.cpp | 157 JSHandle<JSTaggedValue> propertyName(factory->NewFromStdString(valueStr)); in HWTEST_F_L0() local 158 GlobalTSTypeRef propGT = TSClassType::GetPropTypeGT(thread, classType, propertyName); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …propertyName===e;case 273:case 283:return!0}return!1},e.isAliasSymbolDeclaration=function(t){retur…
|