summaryrefslogtreecommitdiff
path: root/reconfigure/builders/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/builders/base.py')
-rw-r--r--reconfigure/builders/base.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/reconfigure/builders/base.py b/reconfigure/builders/base.py
new file mode 100644
index 0000000..5708f72
--- /dev/null
+++ b/reconfigure/builders/base.py
@@ -0,0 +1,16 @@
+class BaseBuilder (object):
+ """
+ A base class for builders
+ """
+
+ def build(self, tree):
+ """
+ :param tree: :class:`reconfigure.nodes.Node` tree
+ :returns: Data tree
+ """
+
+ def unbuild(self, tree):
+ """
+ :param tree: Data tree
+ :returns: :class:`reconfigure.nodes.Node` tree
+ """