Package ai.test.comment.domains

Examples of ai.test.comment.domains.CommentBoxes


  public void matchBoxes(MethodControlFlowGraph graph, final Map<CFGVertice, IntegerBoxes> result) {
    if (!domains.containsKey("boxes"))
      throw new CommentParserException("No boxes domain to verify");
   
    final CommentBoxes domain = (CommentBoxes) domains.get("boxes");
    Utils.walkGraph(graph, new ControlFlowGraphVisitor() {
      @Override
      public boolean visitVertice(CFGVertice vertice) {
        // verify values
        IntegerBoxes analysisResult = result.get(vertice);
        domain.compareResult(vertice, analysisResult);
        return true;
      }

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


      return NonRelationalDomain.getInitialValue();
    return x.getInitialValue();
  }

  public IntegerBoxes getInitialBoxes() {
    CommentBoxes x = (CommentBoxes) domains.get("boxes");
    if (x==null)
      return IntegerBoxes.getInitialValue();
    return x.getInitialValue();
  }
View Full Code Here

TOP

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

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.