public ValuedTokenBase(ECssTokenType Type, ReadOnlySpan <char> Value, bool AutoLowercase = true) : base(Type) { if (AutoLowercase) {// CSS is case-insensitive this.Value = StringCommon.Transform(Value, UnicodeCommon.To_ASCII_Lower_Alpha); } else { this.Value = Value.ToString(); } }
public UrlToken(ReadOnlySpan <char> Value, ECssTokenType Type) : base(Type, Value, false) { }
public CssToken(ECssTokenType Type) { this.Type = Type; }
//public readonly ECssComponent Type; #region Constructors public CssComponent(ECssTokenType Type) : base(Type) { //this.Type = Type; }