pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/github/CodeSearchNet/commit/50a6527dd05d188a3db0ec327eb63d8e79768f8b

.css" /> Change py-tree-sitter type · github/CodeSearchNet@50a6527 · GitHub
Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Commit 50a6527

Browse files
authored
Change py-tree-sitter type
_declarator to _declaration
1 parent a9c3f9a commit 50a6527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function_parser/function_parser/parsers/java_parser.py

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy