void (PsiBuilder builder) { if (builder.getTokenType() == PropertiesTokenTypes.KEY_CHARACTERS) { final PsiBuilder.Marker prop = builder.mark(); parseKey(builder); if (builder.getTokenType() == PropertiesTokenTypes.KEY_VALUE_SEPARATOR) { parseKeyValueSeparator(builder); } if (builder.getTokenType() == PropertiesTokenTypes.VALUE_CHARACTERS) { parseValue(builder); } prop.done(PropertiesElementTypes.PROPERTY); } else { builder.advanceLexer(); builder.error(PropertiesBundle.message("property.key.expected.parsing.error.message")); } }