public static ModifierToken Create(Guid id, string content) { var v = new ModifierToken(); v.ID = id; v.Content = content; return(v); }
public VariableToken(string id, ModifierToken attached0, params ModifierToken[] attached) : this(id) { List <ModifierToken> l = new List <ModifierToken> { attached0 }; l.AddRange(attached); Attached = l.ToArray(); }
public ConstantToken(string id, IValue val, ModifierToken attached0, params ModifierToken[] attached) : this(id, val) { List <ModifierToken> l = new List <ModifierToken> { attached0 }; l.AddRange(attached); Attached = l.ToArray(); }