Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ts2panda/src/base/
Dproperties.ts254 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/
Dmodules.ts53 addNodeMap(name: ts.Node, propertyName: ts.Node): void {
54 this.bingdingNodeMap.set(name, propertyName);
Drecorder.ts418 …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…
DcompilerUtils.ts309 if (bindingElement.propertyName) {
310 key = <ts.Expression>bindingElement.propertyName;
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/
DShorthandPropertyTransformer.ts81 if (isElementsInObjectBindingPattern(node) && !node.propertyName && !node.dotDotDotToken) {
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DunderscoreMapFirst.ts37 propertyName: string): any[];
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp230 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 …]
Dts_manager.h220 …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/
DNodeUtils.ts55 if (isBindingElement(parent) && parent.propertyName === node) {
DOhsUtil.ts358 const propertyName: PropertyName = propertyElement.name; constant
359 collectPropertyNamesAndStrings(propertyName, propertySet);
DScopeAnalyzer.ts472 if (node.propertyName) {
473 current.importNames.add(node.propertyName.text);
503 if (bindingElement.propertyName) {
/arkcompiler/ets_frontend/arkguard/src/common/
DApiExtractor.ts313 if (child.propertyName) {
314 mCurrentExportNameSet.add(child.propertyName.getText());
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.h119 GlobalTSTypeRef GetPropType(const GateType type, const JSTaggedValue propertyName) const;
Dmethod_type_infer.cpp1179 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/
Dts_type_parser_test.cpp157 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/
Dindex.js2propertyName===e;case 273:case 283:return!0}return!1},e.isAliasSymbolDeclaration=function(t){retur…