forked from VimPlug/jedi
14 lines
361 B
Python
14 lines
361 B
Python
class BasePlugin(object):
|
|
"""
|
|
Plugins are created each time an evaluator is created.
|
|
"""
|
|
def __init__(self, evaluator):
|
|
# In __init__ you can do some caching.
|
|
self._evaluator = evaluator
|
|
|
|
def execute(self, callback):
|
|
"""
|
|
Decorates the execute(context, arguments) function.
|
|
"""
|
|
return callback
|