Package org.jakstab.analysis.substitution

Examples of org.jakstab.analysis.substitution.SubstitutionElement


  }
 
  public static RTLStatement substituteStatement(RTLStatement stmt, SubstitutionState s) {
    Context substCtx = new Context();
    for (RTLVariable v : stmt.getUsedVariables()) {
      SubstitutionElement el = s.getValue(v);
      if (!el.isTop()) {
        substCtx.addAssignment(v, el.getExpression());
      }
    }
    if (!substCtx.getAssignments().isEmpty()) {
      //logger.info("Old stmt: " + stmt);
      RTLStatement newStmt = stmt.copy().evaluate(substCtx);
View Full Code Here

TOP

Related Classes of org.jakstab.analysis.substitution.SubstitutionElement

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.