if (exp.getIdent().startsWith("println")) { newExp = new SIRPrintStatement(null, args[0], true, null); }
if (exp.getIdent().equals("print")) { if (exp.getIdent().equals("println")) { newExp = new SIRPrintStatement(null, args[0], true, null); } else { newExp = new SIRPrintStatement(null, args[0], false, null); } }
    private JPhylum newSIRExp(JMethodCallExpression exp, JExpression[] args)      {	JPhylum newExp = null;	printMe("In newSIRExp");	if (args.length > 1)	    at.dms.util.Utils.fail(printLine(exp) +				   "Too many args to SIR call.");		if (args.length == 0)	    args = JExpression.EMPTY;	else	    args[0] = (JExpression) args[0].accept(this);		if (exp.getIdent().startsWith("push")) {	    /*	    if (!args[0].getType().equals(parentStream.getOutputType()))		Utils.fail(printLine(exp) + 		"Type of push argument does not match filter output type "); */	    newExp = new SIRPushExpression(args[0]);	 	    ((SIRPushExpression)newExp).setTapeType(parentStream.getOutputType());	}	if (exp.getIdent().startsWith("pop")) {	    newExp = new SIRPopExpression();	    ((SIRPopExpression)newExp).setTapeType(parentStream.getInputType());	}	if (exp.getIdent().startsWith("peek")) {	    newExp = new SIRPeekExpression(args[0]);	    ((SIRPeekExpression)newExp).setTapeType(parentStream.getInputType()); 	}	if (exp.getIdent().startsWith("println")) {	    newExp = new SIRPrintStatement(null, args[0], true, null);	}		return newExp;    }