package org.musetest.core.values;

import org.musetest.core.*;

import java.util.*;

/**
 * Interface for classes that support quick-editing of a value source. Quick-editing allows
 * the user to enter a text string that is parsed to create the value source.
 * ValueSource implementations are not required to implement this.
 *
 * @author Christopher L Merrill (see LICENSE.txt for license details)
 */
public interface ValueSourceStringExpressionSupport
    {
    ValueSourceConfiguration fromLiteral(String string, MuseProject project);
    ValueSourceConfiguration fromPrefixedExpression(String prefix, ValueSourceConfiguration expression, MuseProject project);
    ValueSourceConfiguration fromElementExpression(String type, ValueSourceConfiguration qualifier, MuseProject project);
    ValueSourceConfiguration fromArgumentedExpression(String name, List<ValueSourceConfiguration> arguments, MuseProject project);
    String toString(ValueSourceConfiguration config, MuseProject project);
    int getPriority();
    }


@@ -723,16 +723,21 @@
 g type, 
+List%3C
 ValueSou
@@ -756,18 +756,19 @@
 tion
- qualifier
+%3E arguments
 , Mu

change element expression value source parsing to accept multiple elements