Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsParameterProperty.h37 bool isStatic, bool isExport) in TSParameterProperty() argument
42 static_(isStatic), in TSParameterProperty()
/arkcompiler/ets_frontend/ts2panda/src/base/
DtypeSystem.ts348 let isStatic: boolean = false;
353 isStatic = true;
379 if (isStatic) {
399 let isStatic = false;
403 isStatic = true;
407 …let foundSameNameFuncRet = isStatic ? this.staticMethods.get(funcName) : this.methods.get(funcName…
420 if (isStatic) {
480 private transferFields2Literal(classTypeLiterals: Array<Literal>, isStatic: boolean): void {
481 … let transferredTarget: Map<string, Array<number>> = isStatic ? this.staticFields : this.fields;
492 private transferMethods2Literal(classTypeLiterals: Array<Literal>, isStatic: boolean): void {
[all …]
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp770 bool isStatic = definition->IsStatic(); in VisitClassDeclaration() local
773 if (isStatic) { in VisitClassDeclaration()
780 …o paramDecorators = CreateParamDecorators(name, definition, variableDeclarations, false, isStatic); in VisitClassDeclaration()
781 if (isStatic) { in VisitClassDeclaration()
790 … auto methodDecorators = CreateMethodDecorators(name, definition, variableDeclarations, isStatic); in VisitClassDeclaration()
791 if (isStatic) { in VisitClassDeclaration()
799 bool isStatic = classProperty->IsStatic(); in VisitClassDeclaration() local
804 if (classProperty->IsComputed() && !isStatic && classProperty->Value() == nullptr) { in VisitClassDeclaration()
809 if (isStatic) { in VisitClassDeclaration()
816 …propertyDecorators = CreatePropertyDecorators(name, classProperty, variableDeclarations, isStatic); in VisitClassDeclaration()
[all …]
Dtransformer.h132 bool isStatic);
136 bool isStatic);
144 bool isStatic);
146 ir::Expression *CreateDecoratorTarget(util::StringView className, bool isStatic);
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type.cpp90 bool isStatic = propType == PropertyType::STATIC; in GetSuperPropTypeGT() local
92 JSMutableHandle<TSObjectType> mutablePropTypes(thread, isStatic ? in GetSuperPropTypeGT()
105 mutablePropTypes.Update(isStatic ? in GetSuperPropTypeGT()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeSystem.h702 bool isStatic = (modifiers & ir::ModifierFlags::STATIC); in FillField() local
719 auto fn = [&fieldInfo, &isStatic, this](const util::StringView &name) { in FillField()
720 if (isStatic) { in FillField()
819 void FillFieldsLiteralBuffer(bool isStatic) in FillFieldsLiteralBuffer() argument
832 if (isStatic) { in FillFieldsLiteralBuffer()
839 void FillMethodsLiteralBuffer(bool isStatic) in FillMethodsLiteralBuffer() argument
849 if (isStatic) { in FillMethodsLiteralBuffer()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp967 bool isStatic = tsManager_->IsStaticFunc(funcType.GetGTRef()); in GetSuperProp() local
968 auto propType = isStatic ? PropertyType::STATIC : PropertyType::NORMAL; in GetSuperProp()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp3594 bool isStatic = false; in CreateTsParameterProperty() local
3610 isStatic = true; in CreateTsParameterProperty()
3615 … return AllocNode<ir::TSParameterProperty>(accessibility, parameter, readonly, isStatic, isExport); in CreateTsParameterProperty()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2isStatic=br,e.hasStaticModifier=xr,e.hasOverrideModifier=function(e){return hr(e,16384)},e.hasAbst… property
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js49368 this.isStatic = !1;
49412 this.isStatic = !1;
49463 t.isStatic = !0;
111381 get isStatic() {
111384 set isStatic(t) {
111385 … t && this.isStatic || !t && !this.isStatic || (this.type = t ? eSt.STATIC : eSt.DYNAMIC);