public PsiElement createElement(ASTNode node) {
IElementType type = node.getElementType();
if(type == LatteTokenTypes.MACRO_NODE) return new MacroNodeImpl(node);
else if(type == LatteTokenTypes.MACRO_ATTR) return new MacroAttrImpl(node);
else return new LattePsiElement(node);
}