Package org.asturlinux.frade.currin.program.type

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


  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

  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

Related Classes of org.asturlinux.frade.currin.program.type.CurrinInt

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.