Package ai.test.comment.domains

Examples of ai.test.comment.domains.CommentIntv


  }

  public void matchIntervals(MethodControlFlowGraph graph, final Map<CFGVertice, NonRelationalDomain<Interval>> result) {
    if (!domains.containsKey("intervals"))
      throw new CommentParserException("No intervals domain to verify");
    final CommentIntv domain = (CommentIntv) domains.get("intervals");
    Utils.walkGraph(graph, new ControlFlowGraphVisitor() {
      @Override
      public boolean visitVertice(CFGVertice vertice) {
        // verify values
//        String commentVertice = verticeMap.get(vertice);
        NonRelationalDomain<Interval> analysisResult = result.get(vertice);
        domain.compareResult(vertice, analysisResult);
        return true;
      }

      @Override
      public boolean visitEdge(CFGSingleEdge edge) {
View Full Code Here


      }
    });
  }
 
  public NonRelationalDomain<Interval> getInitialIntervals() {
    CommentIntv x = (CommentIntv) domains.get("intervals");
    if (x==null)
      return NonRelationalDomain.getInitialValue();
    return x.getInitialValue();
  }
View Full Code Here

TOP

Related Classes of ai.test.comment.domains.CommentIntv

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.