Make it clear what a param needs to implement
This commit is contained in:
1 parent
857f6a79ae
commit
c64ee8a07c
2 files changed
+9
-3
No files matched your search
@@ -121,7 +121,12 @@ class TreeNameDefinition(AbstractTreeName):
|
||||
return self._API_TYPES.get(definition.type, 'statement')
|
||||
|
||||
|
||||
class ParamName(AbstractTreeName):
|
||||
class ParamNameInterface(object):
|
||||
def get_kind(self):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class ParamName(AbstractTreeName, ParamNameInterface):
|
||||
api_type = u'param'
|
||||
|
||||
def __init__(self, parent_context, tree_name):
|
||||
|
||||
Reference in new issue
Block a user