Define common error messages for error reporting and assertions.
Return the enclosing class or the module class if it's a module.
Return true if symbol shall be ignored, false otherwise.
Return true if symbol shall be ignored, false otherwise.
Return true if type shall be ignored, false otherwise.
Return true if type shall be ignored, false otherwise.
Return true if name is empty, false otherwise.
Returns true if given tree contains macro attchment.
Returns true if given tree contains macro attchment. In such case calls func on tree from attachment.