builder.toString());
}
builder = new StringBuilder();
builder.append("[ ");
Token value = match(input,
DRL6Lexer.STRING,
null,
null,
DroolsEditorType.STRING_CONST);
if (state.failed)
return null;
builder.append(value.getText());
while (input.LA(1) == DRL6Lexer.COMMA) {
match(input,
DRL6Lexer.COMMA,
null,
null,
DroolsEditorType.SYMBOL);
if (state.failed)
return null;
builder.append(", ");
value = match(input,
DRL6Lexer.STRING,
null,
null,
DroolsEditorType.STRING_CONST);
if (state.failed)
return null;
builder.append(value.getText());
}
builder.append(" ]");
if (state.backtracking == 0) {
attribute.value(builder.toString());
attribute.type(AttributeDescr.Type.LIST);