From 6666f1284bbc5130e75d6a5132f32fe31ce2f70b Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 23 Dec 2014 01:40:45 -0600 Subject: [PATCH] add class description --- wakatime/languages/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wakatime/languages/__init__.py b/wakatime/languages/__init__.py index 4315b49..333aedd 100644 --- a/wakatime/languages/__init__.py +++ b/wakatime/languages/__init__.py @@ -18,6 +18,10 @@ log = logging.getLogger('WakaTime') class TokenParser(object): + """The base class for all dependency parsers. To add support for your + language, inherit from this class and implement the :meth:`parse` method + to return a list of dependency strings. + """ source_file = None lexer = None dependencies = []