Skip to content

Commit 31e670f

Browse files
committed
Identifier for C++ publicmethods
1 parent b6a5973 commit 31e670f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codetext/parser/cpp_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def get_function_metadata(function_node, blob: str=None) -> Dict[str, Any]:
126126
child = subchild
127127
if child.type == 'function_declarator':
128128
for subchild in child.children:
129-
if subchild.type in ['qualified_identifier', 'identifier']:
129+
if subchild.type in ['qualified_identifier', 'identifier', 'field_identifier']:
130130
metadata['identifier'] = get_node_text(subchild)
131131
elif subchild.type == 'parameter_list':
132132
param_nodes = get_node_by_kind(subchild, ['parameter_declaration'])

0 commit comments

Comments
 (0)