add class description

This commit is contained in:
Alan Hamlett 2014-12-23 01:40:45 -06:00
parent 8da0f1fd07
commit 6666f1284b
1 changed files with 4 additions and 0 deletions

View File

@ -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 = []