feat(parser): make all Kind::is_* methods const
#19874
+38
−34
Merged