1/* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16import { KBoolean, KInt, KNativePointer } from '../InteropTypes'; 17 18export class Es2pandaNativeModule { 19 _CreateMemberExpression( 20 context: KNativePointer, 21 object_arg: KNativePointer, 22 property: KNativePointer, 23 kind: KInt, 24 computed: KBoolean, 25 optional_arg: KBoolean 26 ): KNativePointer { 27 throw new Error('This methods was not overloaded by native module initialization'); 28 } 29 _UpdateMemberExpression( 30 context: KNativePointer, 31 original: KNativePointer, 32 object_arg: KNativePointer, 33 property: KNativePointer, 34 kind: KInt, 35 computed: KBoolean, 36 optional_arg: KBoolean 37 ): KNativePointer { 38 throw new Error('This methods was not overloaded by native module initialization'); 39 } 40 _MemberExpressionObject(context: KNativePointer, receiver: KNativePointer): KNativePointer { 41 throw new Error('This methods was not overloaded by native module initialization'); 42 } 43 _MemberExpressionProperty(context: KNativePointer, receiver: KNativePointer): KNativePointer { 44 throw new Error('This methods was not overloaded by native module initialization'); 45 } 46 _MemberExpressionKindConst(context: KNativePointer, receiver: KNativePointer): KInt { 47 throw new Error('This methods was not overloaded by native module initialization'); 48 } 49} 50