YAMLValue () { for (PsiElement child = getLastChild(); child != null; child = child.getPrevSibling()) { if (PsiUtilCore.getElementType(child) == YAMLTokenTypes.COLON) { return null; } if (child instanceof YAMLValue) { return ((YAMLValue)child); } } return null; }