Esempio n. 1
0
 public static bool IsCharLiteral(Token token)
 {
     return(Recognition.DoesMatch(Pattern.Character, token));
 }
Esempio n. 2
0
 public static bool IsCharLiteral(string value)
 {
     return(Recognition.DoesMatch(Pattern.Character, value));
 }
Esempio n. 3
0
 public static bool IsStringLiteral(string value)
 {
     return(Recognition.DoesMatch(Pattern.String, value));
 }
Esempio n. 4
0
 public static bool IsDecimal(string value)
 {
     return(Recognition.DoesMatch(Pattern.Decimal, value));
 }
Esempio n. 5
0
 public static bool IsInteger(string value)
 {
     return(Recognition.DoesMatch(Pattern.Integer, value));
 }
Esempio n. 6
0
 public static bool DoesMatch(Regex regex, Token token)
 {
     return(Recognition.DoesMatch(regex, token.Value));
 }