/*****************************************************************************

 @header@
 @date@
 @copyright@
 @license@

 *****************************************************************************/
package com.singularsys.jepexamples.consoles;

import com.singularsys.jep.ParseException;
import com.singularsys.jep.parser.Node;

public class PrintConsole extends Console {
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	public PrintConsole() {
		super();
	}

	@Override
	public void processEquation(Node node) throws ParseException {
		jep.println(node);
		super.processEquation(node);
	}
	
	/** Creates a new Console object and calls run() */
	public static void main(String args[]) {
		PrintConsole c = new PrintConsole();
		c.run(args);
	}


}
