Package wyil.builders.VcBranch

Examples of wyil.builders.VcBranch.AssertOrAssumeScope


      for(Code.Block precondition : requires) {
        block.addAll(precondition);
      }
      VcBranch precond = new VcBranch(method, block);

      AssertOrAssumeScope scope = new AssertOrAssumeScope(false, block.size(), Collections.EMPTY_LIST);
      precond.scopes.add(scope);

      // FIXME: following seems like a hack --- there must be a more
      // elegant way of doing this?
      for (int i = paramStart; i != fmm.params().size(); ++i) {
View Full Code Here


      Expr[] operands, Type[] types, VcBranch branch) {

    // first, generate a constraint representing the post-condition.
    VcBranch master = new VcBranch(externalBlock);

    AssertOrAssumeScope scope = new AssertOrAssumeScope(false, externalBlock.size(), Collections.EMPTY_LIST);
    master.scopes.add(scope);

    // second, set initial environment
    for (int i = 0; i != operands.length; ++i) {
      master.write(i, operands[i], types[i]);
View Full Code Here

TOP

Related Classes of wyil.builders.VcBranch.AssertOrAssumeScope

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.