public static DelimitType GetDType(char c)
{
switch(c) {
case '(':
case ')':
return DelimitType.Paranthesis;
case '[':
case ']':
return DelimitType.Bracket;
case '{':
case '}':
return DelimitType.Curly;
case '<':
case '>':
return DelimitType.Angled;
default:
return DelimitType.None;
}
}