git-importer/lib/abstract_walker.py
2022-11-02 15:22:24 +01:00

11 lines
256 B
Python

from abc import ABC, abstractmethod
class AbstractWalker(ABC):
"""Just a duck type, most likely not needed by python, but I
find interface classes preferable (java school)"""
@abstractmethod
def call(self, node, is_source):
pass