Package wyvern.targets.Common.wyvernIL.interpreter.values

Examples of wyvern.targets.Common.wyvernIL.interpreter.values.BytecodeTuple


   *     a list of statements to be executed by the interpreter
   * @param context
   *     the starting context at the time of execution
   */
  public Interpreter(List<Statement> body, BytecodeContext context) {
    emptyVal = new BytecodeTuple(new ArrayList<BytecodeValue>());
    currentContext = context;
    statements = body;
    pc = 0;
    setUpLabels();
    finalValue = new BytecodeEmptyVal();
View Full Code Here


    tuple.add(new BytecodeInt(4));
    tuple.add(new BytecodeInt(8));
    tuple.add(new BytecodeString("Hello World"));
    BytecodeValue[] vals = { new BytecodeInt(4), new BytecodeInt(8),
                   new BytecodeString("Hello World"),
                 new BytecodeTuple(tuple)};
    assertTrue(isInContext(names,vals))
  }
View Full Code Here

TOP

Related Classes of wyvern.targets.Common.wyvernIL.interpreter.values.BytecodeTuple

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.