Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Commit abaeea8

Browse filesBrowse files
author
Hamel Husain
authored
Merge pull request #220 from dongs0104/master
Change py-tree-sitter type
2 parents a30bf0c + 50a6527 commit abaeea8
Copy full SHA for abaeea8

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎function_parser/function_parser/parsers/java_parser.py

Copy file name to clipboardExpand all lines: function_parser/function_parser/parsers/java_parser.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def get_function_metadata(function_node, blob: str) -> Dict[str, str]:
7878
}
7979

8080
declarators = []
81-
traverse_type(function_node, declarators, '{}_declarator'.format(function_node.type.split('_')[0]))
81+
traverse_type(function_node, declarators, '{}_declaration'.format(function_node.type.split('_')[0]))
8282
parameters = []
8383
for n in declarators[0].children:
8484
if n.type == 'identifier':

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.