add class description
This commit is contained in:
parent
8da0f1fd07
commit
6666f1284b
1 changed files with 4 additions and 0 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue