ASTCssNode parent = reference.getParent();
if (!isBody(parent)) {
throw new BugHappened("Parent is not a body instance. " + parent, parent);
}
SupportedLessBodyMembers allowedBodyMembers = new SupportedLessBodyMembers();
Set<ASTCssNodeType> supportedMembers = allowedBodyMembers.getSupportedMembers((Body) parent);
for (ASTCssNode member : members) {
if (!supportedMembers.contains(member.getType())) {
problemsHandler.wrongMemberBroughtIntoBody(reference, member, parent);
}