コード例 #1
0
ファイル: Gurpenator.cs プロジェクト: thejoshwolfe/Gurpenator
 public static void throwNotAPercentError(Token token)
 {
     throw token.parseThing.createError("cannot interpret '" + token.ToString() + "' as a percent");
 }
コード例 #2
0
ファイル: Gurpenator.cs プロジェクト: thejoshwolfe/Gurpenator
 public static void throwNotABooleanError(Token token)
 {
     throw token.parseThing.createError("cannot interpret '" + token.ToString() + "' as a conditional expression");
 }