コード例 #1
0
ファイル: FlowControlStmt.cs プロジェクト: ggrov/tacny
 public static IEnumerable<ProofState> EvalNextControlFlow(Statement stmt, ProofState state) {
   IEnumerable<ProofState> ret;
   switch(state.GetCurFrameTyp()) {
     case "tmatch":
       ret = new Match().EvalNext(stmt as TacnyCasesBlockStmt, state);
       break;
     default:
       ret = null;
       break;
   }
   return ret;
 }
コード例 #2
0
ファイル: FlowControlStmt.cs プロジェクト: ggrov/tacny
 public static bool IsFlowControlFrame(ProofState state) {
   var typ = state.GetCurFrameTyp();
   //more control frame should be added here
   return (typ == "tmatch");
 }