Merge pull request #220 from dongs0104/master
Change py-tree-sitter type
This commit is contained in:
Коммит
abaeea8824
|
@ -78,7 +78,7 @@ class JavaParser(LanguageParser):
|
|||
}
|
||||
|
||||
declarators = []
|
||||
traverse_type(function_node, declarators, '{}_declarator'.format(function_node.type.split('_')[0]))
|
||||
traverse_type(function_node, declarators, '{}_declaration'.format(function_node.type.split('_')[0]))
|
||||
parameters = []
|
||||
for n in declarators[0].children:
|
||||
if n.type == 'identifier':
|
||||
|
|
Загрузка…
Ссылка в новой задаче