13af6ab5fSopenharmony_ci#!/usr/bin/env python3
23af6ab5fSopenharmony_ci# coding=utf-8
33af6ab5fSopenharmony_ci#
43af6ab5fSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
53af6ab5fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
63af6ab5fSopenharmony_ci# you may not use this file except in compliance with the License.
73af6ab5fSopenharmony_ci# You may obtain a copy of the License at
83af6ab5fSopenharmony_ci#
93af6ab5fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0
103af6ab5fSopenharmony_ci#
113af6ab5fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
123af6ab5fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
133af6ab5fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
143af6ab5fSopenharmony_ci# See the License for the specific language governing permissions and
153af6ab5fSopenharmony_ci# limitations under the License.
163af6ab5fSopenharmony_ci
173af6ab5fSopenharmony_ci"""Keywords from headers, to correctly recognize them in parser."""
183af6ab5fSopenharmony_ci
193af6ab5fSopenharmony_ciknown_macroses = [
203af6ab5fSopenharmony_ci    "NO_COPY_OPERATOR",
213af6ab5fSopenharmony_ci    "NO_MOVE_SEMANTIC",
223af6ab5fSopenharmony_ci    "NO_COPY_SEMANTIC",
233af6ab5fSopenharmony_ci    "DEFINE_BITOPS",
243af6ab5fSopenharmony_ci    "DECLARE_NODE_TYPES",
253af6ab5fSopenharmony_ci    "DEFAULT_MOVE_SEMANTIC",
263af6ab5fSopenharmony_ci    "TYPE_MAPPING",
273af6ab5fSopenharmony_ci    "AST_NODE_MAPPING",
283af6ab5fSopenharmony_ci    "AST_NODE_REINTERPRET_MAPPING",
293af6ab5fSopenharmony_ci    "DECLARE_FLAG_OPERATIONS",
303af6ab5fSopenharmony_ci]
313af6ab5fSopenharmony_ci
323af6ab5fSopenharmony_cimodifiers_list = [
333af6ab5fSopenharmony_ci    "const",
343af6ab5fSopenharmony_ci    "constexpr",
353af6ab5fSopenharmony_ci    "explicit",
363af6ab5fSopenharmony_ci    "export",
373af6ab5fSopenharmony_ci    "extern",
383af6ab5fSopenharmony_ci    "inline",
393af6ab5fSopenharmony_ci    "mutable",
403af6ab5fSopenharmony_ci    "noexcept",
413af6ab5fSopenharmony_ci    "template",
423af6ab5fSopenharmony_ci    "throw",
433af6ab5fSopenharmony_ci    "typename",
443af6ab5fSopenharmony_ci    "virtual",
453af6ab5fSopenharmony_ci    "volatile",
463af6ab5fSopenharmony_ci    "[[maybe_unused]]",
473af6ab5fSopenharmony_ci    "[[nodiscard]]",
483af6ab5fSopenharmony_ci    "static",
493af6ab5fSopenharmony_ci]
50