mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
tools: ynl: add an object hierarchy to represent parsed spec
There's a lot of copy and pasting going on between the "cli" and code gen when it comes to representing the parsed spec. Create a library which both can use. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
from .nlspec import SpecAttr, SpecAttrSet, SpecFamily, SpecOperation
|
||||
from .ynl import YnlFamily
|
||||
|
||||
__all__ = ["YnlFamily"]
|
||||
__all__ = ["SpecAttr", "SpecAttrSet", "SpecFamily", "SpecOperation",
|
||||
"YnlFamily"]
|
||||
|
||||
Reference in New Issue
Block a user