public static bool IsOpener(char c, DelimitType dt)
{
return
(dt.HasFlag(DelimitType.Paranthesis) && c == '(') ||
(dt.HasFlag(DelimitType.Bracket) && c == '[') ||
(dt.HasFlag(DelimitType.Curly) && c == '{') ||
(dt.HasFlag(DelimitType.Angled) && c == '<');
}