public OptionSymbol(string name, string description, ScalarSymbol type, IReadOnlyList <string> examples = null) : this(name, description, new[] { type }, examples) { }
/// <summary> /// True if this symbol is wider than the specified symbol. /// </summary> public bool IsWiderThan(ScalarSymbol scalar) { for (int i = 0; i < this.WiderThan.Count; i++) { if (this.WiderThan[i] == scalar) { return(true); } } return(false); }