Concepts bodies are now evaluated on demand

This commit is contained in:
2020-02-27 10:48:45 +01:00
parent 7cd94e888f
commit ef31a4807d
25 changed files with 468 additions and 172 deletions
+3 -2
View File
@@ -60,6 +60,7 @@ class ExecutionContext:
self.children = []
self.preprocess = None
self.logger = logger
self.extra_info = []
self.inputs = {} # what was the parameters of the execution context
self.values = {} # what was produced by the execution context
@@ -210,11 +211,11 @@ class ExecutionContext:
self.sheerka,
desc,
logger,
**_kwargs,
)
**_kwargs)
new._parent = self
new._tab = self._tab + " " * DEBUG_TAB_SIZE
new.preprocess = self.preprocess
new.extra_info.extend(self.extra_info)
self.children.append(new)
return new