public ElementTypeAttributesBundle getElementTypeAttributes() {
return elementType.getAttributes();
}
public FormattingAttributes getFormattingAttributesRecursive(boolean left) {
FormattingAttributes formattingAttributes = getFormattingAttributes();
if (formattingAttributes == null) {
PsiElement psiElement = left ? getFirstChild() : getLastChild();
if (psiElement instanceof BasePsiElement) {
BasePsiElement basePsiElement = (BasePsiElement) psiElement;
return basePsiElement.getFormattingAttributesRecursive(left);