@@ -75,10 +75,10 @@ function handleMixin(node: Node, mixins: Record<string, any>) {
75
75
const name = child . values [ 0 ] as string ;
76
76
switch ( child . name ) {
77
77
case "event" :
78
- handleEventChild ( child , event , name ) ;
78
+ handleEvent ( child , event , name ) ;
79
79
break ;
80
80
case "property" :
81
- handlePropertyChild ( child , property , name ) ;
81
+ handleProperty ( child , property , name ) ;
82
82
break ;
83
83
default :
84
84
throw new Error ( `Unknown node name: ${ child . name } ` ) ;
@@ -93,7 +93,7 @@ function handleMixin(node: Node, mixins: Record<string, any>) {
93
93
* @param child The child node to handle.
94
94
* @param event The event array to update.
95
95
*/
96
- function handleEventChild ( child : Node , event : Event [ ] , name : string ) {
96
+ function handleEvent ( child : Node , event : Event [ ] , name : string ) {
97
97
event . push ( {
98
98
name,
99
99
type : child . properties . type as string ,
@@ -105,7 +105,7 @@ function handleEventChild(child: Node, event: Event[], name: string) {
105
105
* @param child The child node to handle.
106
106
* @param property The property object to update.
107
107
*/
108
- function handlePropertyChild ( child : Node , property : Properties , name : string ) {
108
+ function handleProperty ( child : Node , property : Properties , name : string ) {
109
109
property [ name ] = {
110
110
name,
111
111
exposed : child . properties ?. exposed as string ,
0 commit comments