Examples of CurrinInt


Examples of org.asturlinux.frade.currin.program.type.CurrinInt

  int a = ((CurrinInt)first_op.getReference()).getValue();
  int b = ((CurrinInt)second_op.getReference()).getValue();

  Logger logger = Logger.getLogger("RuntimeLogger");
  logger.debug("Primitive Add integer: " + a + " +  " + b);
  m.setResult( new CurrinRef(new CurrinInt(a + b)));
    }
View Full Code Here

Examples of org.asturlinux.frade.currin.program.type.CurrinInt

  int a = ((CurrinInt)first_op.getReference()).getValue();
  int b = ((CurrinInt)second_op.getReference()).getValue();

  Logger logger = Logger.getLogger("RuntimeLogger");
  logger.debug("Primitiva Mul Enteros: " + a + " * " + b);
  m.setResult( new CurrinRef(new CurrinInt(a * b)));
    }
View Full Code Here

Examples of org.asturlinux.frade.currin.program.type.CurrinInt

  second_op.evaluate(m);

  int a = ((CurrinInt)first_op.getReference()).getValue();
  int b = ((CurrinInt)second_op.getReference()).getValue();

  m.setResult( new CurrinRef(new CurrinInt(a - b)));
  //System.out.println("Ejecutado 45 (-) y resultado en la maquina ");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.