예제 #1
0
 public static void throwNotAPercentError(Token token)
 {
     throw token.parseThing.createError("cannot interpret '" + token.ToString() + "' as a percent");
 }
예제 #2
0
 public static void throwNotABooleanError(Token token)
 {
     throw token.parseThing.createError("cannot interpret '" + token.ToString() + "' as a conditional expression");
 }