public static bool IsCharLiteral(Token token) { return(Recognition.DoesMatch(Pattern.Character, token)); }
public static bool IsCharLiteral(string value) { return(Recognition.DoesMatch(Pattern.Character, value)); }
public static bool IsStringLiteral(string value) { return(Recognition.DoesMatch(Pattern.String, value)); }
public static bool IsDecimal(string value) { return(Recognition.DoesMatch(Pattern.Decimal, value)); }
public static bool IsInteger(string value) { return(Recognition.DoesMatch(Pattern.Integer, value)); }
public static bool DoesMatch(Regex regex, Token token) { return(Recognition.DoesMatch(regex, token.Value)); }