Coverage for hdl_registers/generator/reserved_keywords.py: 100%
6 statements
« prev ^ index » next coverage.py v7.6.8, created at 2024-12-01 20:50 +0000
« prev ^ index » next coverage.py v7.6.8, created at 2024-12-01 20:50 +0000
1# --------------------------------------------------------------------------------------------------
2# Copyright (c) Lukas Vik. All rights reserved.
3#
4# This file is part of the hdl-registers project, an HDL register generator fast enough to run
5# in real time.
6# https://hdl-registers.com
7# https://github.com/hdl-registers/hdl-registers
8# --------------------------------------------------------------------------------------------------
10# First party libraries
11from hdl_registers.generator.c.reserved_keywords import RESERVED_C_KEYWORDS
12from hdl_registers.generator.cpp.reserved_keywords import RESERVED_CPP_KEYWORDS
13from hdl_registers.generator.html.reserved_keywords import RESERVED_HTML_KEYWORDS
14from hdl_registers.generator.python.reserved_keywords import RESERVED_PYTHON_KEYWORDS
15from hdl_registers.generator.vhdl.reserved_keywords import RESERVED_VHDL_KEYWORDS
17# All reserved keywords from all target languages.
18RESERVED_KEYWORDS = (
19 RESERVED_C_KEYWORDS
20 | RESERVED_CPP_KEYWORDS
21 | RESERVED_HTML_KEYWORDS
22 | RESERVED_PYTHON_KEYWORDS
23 | RESERVED_VHDL_KEYWORDS
24)