Skip to content

Commit 5b106cf

Browse files
author
cheung
committed
Add method transforms to astTransform list
1 parent a8b06ac commit 5b106cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

java2python/config/snake_case.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
transform.formatString),
2929

3030
(Type('TYPE') > Type('QUALIFIED_TYPE_IDENT') > Type('IDENT'),
31-
transform.typeSub)
31+
transform.typeSub),
32+
33+
(Type('FUNCTIION_METHOD_DECL') > Type('IDENT'),camel_to_snake),
34+
(Type('VOID_METHOD_DECL') > Type('IDENT'),camel_to_snake)
3235
]

0 commit comments

Comments
 (0)