Class DExpressionGenerator

java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DExpressionGenerator

public class DExpressionGenerator extends Object
Generate an IR expression from a template.
  • Constructor Details

    • DExpressionGenerator

      public DExpressionGenerator(IDMethodContext ctx, INode template)
      Create an expression generator.
      Parameters:
      ctx - local context
      template - the template
  • Method Details

    • generate

      public IDExpression generate(Map<Integer,Object> map)
      Generate an expression using the template and the provided map of IR element nodes.
      Parameters:
      map - map of template node ids to IR elements
      Returns:
      an IR expression