1 30 package org.objectweb.asm.tree.analysis; 31 32 import java.util.List ; 33 34 import org.objectweb.asm.Type; 35 import org.objectweb.asm.tree.AbstractInsnNode; 36 37 47 public interface Interpreter { 48 49 57 Value newValue(Type type); 58 59 71 Value newOperation(AbstractInsnNode insn) throws AnalyzerException; 72 73 87 Value copyOperation(AbstractInsnNode insn, Value value) 88 throws AnalyzerException; 89 90 105 Value unaryOperation(AbstractInsnNode insn, Value value) 106 throws AnalyzerException; 107 108 125 Value binaryOperation(AbstractInsnNode insn, Value value1, Value value2) 126 throws AnalyzerException; 127 128 141 Value ternaryOperation( 142 AbstractInsnNode insn, 143 Value value1, 144 Value value2, 145 Value value3) throws AnalyzerException; 146 147 159 Value naryOperation(AbstractInsnNode insn, List values) 160 throws AnalyzerException; 161 162 174 Value merge(Value v, Value w); 175 } 176 | Popular Tags |