• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2024 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 */
15function m0F0(): void {
16    ((): void => {
17        console.log(1);
18    })();
19    ((): void => {
20        console.log(2);
21    })();
22    let m0F0F0 = ((): void => {
23        console.log(3);
24    });
25}
26
27function* m0F1(): Iterable<void> {}
28async function m0F2() {}
29class M0C0 {
30    M0C0F0(): void {}
31    static M0C0F1(): void {}
32    async M0C0F2(): Promise<void> {}
33}
34enum M0E0 {}
35
36namespace M0N0 {
37    function m0N0F0(): void {}
38
39    function* m0N0F1(): Iterable<void> {}
40    async function m0N0F2(): Promise<void> {}
41    class M0N0C0 {
42        M0N0C0F0(): void {}
43        static M0N0C0F1(): void {}
44        async M0N0C0F2(): Promise<void> {}
45    }
46    enum M0N0E0 {}
47
48    namespace M0N0N0 {
49        function m0N0N0F0(): void {}
50    }
51}
52