Add VariableExpression.NoVariables
This commit is contained in:
@@ -20,6 +20,8 @@ namespace OpenRA.Support
|
||||
{
|
||||
public abstract class VariableExpression
|
||||
{
|
||||
public static readonly IReadOnlyDictionary<string, int> NoVariables = new ReadOnlyDictionary<string, int>(new Dictionary<string, int>());
|
||||
|
||||
public readonly string Expression;
|
||||
readonly HashSet<string> variables = new HashSet<string>();
|
||||
public IEnumerable<string> Variables { get { return variables; } }
|
||||
|
||||
Reference in New Issue
Block a user