diff options
Diffstat (limited to 'build-aux/measurestack/util.py')
-rw-r--r-- | build-aux/measurestack/util.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build-aux/measurestack/util.py b/build-aux/measurestack/util.py index 0af3d02..ae2f998 100644 --- a/build-aux/measurestack/util.py +++ b/build-aux/measurestack/util.py @@ -82,7 +82,7 @@ class Plugin(typing.Protocol): def indirect_callees( self, loc: str, line: str ) -> tuple[typing.Collection[QName], bool] | None: ... - def skipmodels(self) -> dict[BaseName, analyze.SkipModel]: ... + def node_handlers(self) -> dict[BaseName, analyze.NodeHandler]: ... class PluginApplication: @@ -118,8 +118,8 @@ class PluginApplication: placeholder += " at " + self._location_xform(elem.attrs.get("label", "")) return [QName(placeholder)], False - def skipmodels(self) -> dict[BaseName, analyze.SkipModel]: - ret: dict[BaseName, analyze.SkipModel] = {} + def node_handlers(self) -> dict[BaseName, analyze.NodeHandler]: + ret: dict[BaseName, analyze.NodeHandler] = {} for plugin in self._plugins: - ret.update(plugin.skipmodels()) + ret.update(plugin.node_handlers()) return ret |