Similar to https://github.com/Microsoft/tolerant-php-parser/issues/162. Would it make sense to implement a ClassLike interface for `ClassDeclaration`, `InterfaceDeclaration` and `TraitDeclaration` ?