Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 233) sorted by relevance

12345678910

/arkcompiler/ets_frontend/ts2panda/src/base/
Dproperties.ts122 expr.properties.forEach(property => {
123 switch (property.kind) {
125 if (property.name.kind === ts.SyntaxKind.ComputedPropertyName) {
126 … defineProperty(property.name, property, PropertyKind.COMPUTED, properties, namedPropertyMap);
130 let propName: number | string = <number | string>getPropName(property.name);
133 …defineProperty(propName, property.initializer, PropertyKind.PROTOTYPE, properties, namedPropertyMa…
141 if (isConstantExpr(property.initializer)) {
142 …defineProperty(propName, property.initializer, PropertyKind.CONSTANT, properties, namedPropertyMap…
144 …defineProperty(propName, property.initializer, PropertyKind.VARIABLE, properties, namedPropertyMap…
150 let propName = jshelpers.getTextOfIdentifierOrLiteral(property.name);
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsObjectsMarkedAsOpenEnded/
Da.js50 AssertType({ property: {}}, "{ property: {}; }"); property
52 property: {
53 AssertType(property, "{}");
60 obj.property.a = 0;
61 AssertType(obj.property.a = 0, "int");
62 AssertType(obj.property.a, "error");
Db.ts36 obj.property.a = 1;
37 AssertType(obj.property.a = 1, "int");
38 AssertType(obj.property.a, "any");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DsuperPropertyAccess_ES6.ts63 get property() { method in A
70 set property(value: string) { this._property = value method in A
82 set property(value: string) { method in B
83 super.property = value + " addition";
84 AssertType(super.property = value + " addition", "string");
85 AssertType(super.property, "string");
DclassAttributeInferenceTemplate.ts22 property;
30 this.property = `foo`; // Correctly inferred as `string`
31 AssertType(this.property = `foo`, "string");
32 AssertType(this.property, "string");
DinterfaceClassMerging.ts24 property: string;
64 bar.property;
65 AssertType(bar.property, "string");
85 property: string; variable
86 AssertType(property, "string");
Doverride14.ts23 property = 1
27 declare property: number property in SubFoo
/arkcompiler/runtime_core/libpandabase/os/
Dproperty.h25 namespace panda::os::property {
28 const auto ARK_DFX_PROP = panda::os::unix::property::ARK_DFX_PROP;
29 const auto ARK_TRACE_PROP = panda::os::unix::property::ARK_TRACE_PROP;
31 const auto GetPropertyBuffer = panda::os::unix::property::GetPropertyBuffer;
/arkcompiler/ets_runtime/ecmascript/
Djs_number_format.cpp267 JSHandle<JSTaggedValue> property = globalConst->GetHandledStyleString(); in SetNumberFormatUnitOptions() local
269 thread, optionsObject, property, in SetNumberFormatUnitOptions()
278 property = globalConst->GetHandledCurrencyString(); in SetNumberFormatUnitOptions()
281 …JSLocale::GetOption(thread, optionsObject, property, OptionType::STRING, undefinedValue, undefined… in SetNumberFormatUnitOptions()
304 property = globalConst->GetHandledCurrencyDisplayString(); in SetNumberFormatUnitOptions()
306 thread, optionsObject, property, in SetNumberFormatUnitOptions()
314 property = globalConst->GetHandledCurrencySignString(); in SetNumberFormatUnitOptions()
316 … thread, optionsObject, property, {CurrencySignOption::STANDARD, CurrencySignOption::ACCOUNTING}, in SetNumberFormatUnitOptions()
322 property = globalConst->GetHandledUnitString(); in SetNumberFormatUnitOptions()
324 …JSLocale::GetOption(thread, optionsObject, property, OptionType::STRING, undefinedValue, undefined… in SetNumberFormatUnitOptions()
[all …]
Djs_plural_rules.cpp178 …JSHandle<JSTaggedValue> property = JSHandle<JSTaggedValue>::Cast(globalConst->GetHandledTypeString… in InitializePluralRules() local
180 …JSLocale::GetOptionOfString(thread, prOptions, property, { TypeOption::CARDINAL, TypeOption::ORDIN… in InitializePluralRules()
309 …JSHandle<JSTaggedValue> property = JSHandle<JSTaggedValue>::Cast(globalConst->GetHandledLocaleStri… in ResolvedOptions() local
312 JSObject::DefineOwnProperty(thread, options, property, localeDesc); in ResolvedOptions()
315 property = JSHandle<JSTaggedValue>::Cast(globalConst->GetHandledTypeString()); in ResolvedOptions()
323 JSObject::DefineOwnProperty(thread, options, property, typeDesc); in ResolvedOptions()
326 property = JSHandle<JSTaggedValue>::Cast(globalConst->GetHandledMinimumIntegerDigitsString()); in ResolvedOptions()
328 JSObject::CreateDataPropertyOrThrow(thread, options, property, minimumIntegerDigits); in ResolvedOptions()
334 property = globalConst->GetHandledMinimumSignificantDigitsString(); in ResolvedOptions()
336 JSObject::CreateDataPropertyOrThrow(thread, options, property, minimumSignificantDigits); in ResolvedOptions()
[all …]
Djs_relative_time_format.cpp53 JSHandle<JSTaggedValue> property = globalConst->GetHandledNumberingSystemString(); in InitializeRelativeTimeFormat() local
56 …JSLocale::GetOption(thread, rtfOptions, property, OptionType::STRING, undefinedValue, undefinedVal… in InitializeRelativeTimeFormat()
106 property = globalConst->GetHandledStyleString(); in InitializeRelativeTimeFormat()
107 RelativeStyleOption styleOption = JSLocale::GetOptionOfString(thread, rtfOptions, property, in InitializeRelativeTimeFormat()
116 property = globalConst->GetHandledNumericString(); in InitializeRelativeTimeFormat()
118 …JSLocale::GetOptionOfString(thread, rtfOptions, property, {NumericOption::ALWAYS, NumericOption::A… in InitializeRelativeTimeFormat()
498 JSHandle<JSTaggedValue> property = globalConst->GetHandledLocaleString(); in ResolvedOptions() local
501 JSObject::DefineOwnProperty(thread, options, property, localeDesc); in ResolvedOptions()
504 property = globalConst->GetHandledStyleString(); in ResolvedOptions()
515 JSObject::DefineOwnProperty(thread, options, property, styleDesc); in ResolvedOptions()
[all …]
/arkcompiler/ets_frontend/arkguard/
DREADME.md14 * property names
17 global names obfuscation and property names obfuscation are disabled by default, as they may
32 When you create a new library, additional property `consumerFiles` will be added.
46 * the property `ruleOptions.enable` is `true` and the property `ruleOptions.enable` of every depend…
49 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR.
51 The files in the property `consumerFiles` will be applied when you build the project or library whi…
55 property, dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`.
56 …ilding HAR, the content of `obfuscation.txt` is the combination of self's `consumerFiles` property,
89 `-enable-property-obfuscation`
91 Specifies to obfuscate the property names. If you use this option, all property names will be obfus…
[all …]
DREADME-cn.md80 `-enable-property-obfuscation`
112 如果你想混淆字符串字面量属性名,你需要在该选项的基础上再使用`-enable-string-property-obfuscation`选项。比如
114 -enable-property-obfuscation
115 -enable-string-property-obfuscation
117 …之外的字符),比如`let obj = {"\n": 123, "": 4, " ": 5}`,我们建议不要开启`-enable-string-property-obfuscation`选项,因为…
137 将名称缓存保存到指定的文件路径。名称缓存包含名称混淆前后的映射。如果你使用了`-enable-property-obfuscation`或
150 保留选项只有在使用`enable-property-obfuscation`或`enable-toplevel-obfuscation`选项时发挥作用。
152 `-keep-property-name` [,modifiers,...]
156 -keep-property-name
235 -keep-property-name # white list for dynamic property names
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-member-expression-expected.txt22 "property": {
78 "property": {
138 "property": {
165 "property": {
192 "property": {
250 "property": {
277 "property": {
335 "property": {
368 "property": {
480 "property": {
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DinterfacePropertyReferenceContainingInterface-expected.txt401 "property": {
428 "property": {
455 "property": {
482 "property": {
509 "property": {
536 "property": {
604 "property": {
631 "property": {
658 "property": {
685 "property": {
[all …]
DmemberExpTests-expected.txt165 "property": {
706 "property": {
790 "property": {
874 "property": {
917 "property": {
987 "property": {
1030 "property": {
1100 "property": {
1186 "property": {
1213 "property": {
[all …]
DinterfacePropertyReferenceContainingInterface1-expected.txt401 "property": {
428 "property": {
455 "property": {
482 "property": {
509 "property": {
536 "property": {
Dmember_expression_74-expected.txt174 "property": {
201 "property": {
276 TypeError: Cannot assign to this property because it is readonly. [member_expression_74.ts:18:1]
Dmember_expression_77-expected.txt174 "property": {
201 "property": {
276 TypeError: Cannot assign to this property because it is readonly. [member_expression_77.ts:18:1]
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/
Dtest-ts-decorators-13.ts17 function f(target, key, property) {
18 property.enumerable=true
19 return property;
Dtest-ts-decorators-10.ts20 function f1(target, key, property){
24 function f2(target, key, property){
Dtest-ts-decorators-7.ts27 function methodDecorator1(target, key, property)
34 return (target, key, property)=>{print("methodDecorator2")}
/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.cpp591 const ir::Property *property = node->AsProperty(); in ConvertTupleTypeToArrayTypeIfNecessary() local
593 if (property->Value()->IsArrayPattern()) { in ConvertTupleTypeToArrayTypeIfNecessary()
597 if (property->Value()->IsAssignmentPattern() && in ConvertTupleTypeToArrayTypeIfNecessary()
598 property->Value()->AsAssignmentPattern()->Left()->IsArrayPattern()) { in ConvertTupleTypeToArrayTypeIfNecessary()
646 const ir::Property *property = it->AsProperty(); in Start() local
648 if (property->IsComputed()) { in Start()
655 NextInferedType(property->Key()->AsIdentifier()->Name(), in Start()
656 … (!property->Value()->IsAssignmentPattern() || validateTypeAnnotation_))); in Start()
658 if (property->Value()->IsIdentifier()) { in Start()
660 … HandleDestructuringAssignment(property->Value()->AsIdentifier(), nextInferedType, nullptr); in Start()
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-lessThan-expression3-expected.txt42 "property": {
85 "property": {
101 "property": {
/arkcompiler/ets_frontend/ts2panda/src/expression/
DmemberAccessExpression.ts29 let { obj: obj, prop: property } = getObjAndProp(node, objReg, propReg, compiler);
34 compileSuperProperty(compiler, node, thisReg, property);
40 property

12345678910