/* 
 * Copyright (C) 2002-2012 Raphael Mudge (rsmudge@gmail.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package sleep.engine;

import java.util.*;
import sleep.interfaces.*;
import java.io.Serializable;
import sleep.runtime.*;

/** 
The root of all atomic steps.

<pre>
   SLEEP - Simple Language for Environment Extension Purposes
 .-------------------.
 | sleep.engine.Step |________________________________________________________
 |                                                                            |
   Author: Raphael Mudge (rsmudge@mtu.edu)
           http://www.hick.org/~raffi/

   Description: This class is the root of all atomic steps.  Atomic steps are
       the individual entities that scripts are broken down into. 

   Documentation:

   Changelog:

   * This software is distributed under the artistic license, see license.txt
     for more information. *

 |____________________________________________________________________________| 
</pre> */


public class Step implements Serializable
{
   /** the script line number that this step was generated from */
   protected int  line;

   /** Steps act as a simple self contained linked list */
   public    Step next; 

   /** returns a string representation of this atomic step */
   public String toString(String prefix)
   {
      return prefix+"[NOP]\n";
   }
 
   /** convience method for the code generator to set the line number. */
   public void setInfo(int _line)
   {
      line = _line;
   }

   /** returns the last line number that this step is associated with (assuming it is
       associated with multiple lines */
   public int getHighLineNumber()
   {
      return getLineNumber();
   }

   /** returns the first line number that this step is associated with (assuming it is
       associated with multiple lines */
   public int getLowLineNumber()
   {
      return getLineNumber();
   }

   /** returns the line number this step is associated with */
   public int getLineNumber()
   {
      return line;
   }

   /** evaluate this atomic step. */
   public Scalar evaluate(ScriptEnvironment e) 
   {
      return SleepUtils.getEmptyScalar();
   }

   public String toString()
   {
      return toString("");
   }
}


@@ -935,758 +935,8 @@
 *;%0A%0A
-/** %0AThe root of all atomic steps.%0A%0A%3Cpre%3E%0A   SLEEP - Simple Language for Environment Extension Purposes%0A .-------------------.%0A %7C sleep.engine.Step %7C________________________________________________________%0A %7C                                                                            %7C%0A   Author: Raphael Mudge (rsmudge@mtu.edu)%0A           http://www.hick.org/~raffi/%0A%0A   Description: This class is the root of all atomic steps.  Atomic steps are%0A       the individual entities that scripts are broken down into. %0A%0A   Documentation:%0A%0A   Changelog:%0A%0A   * This software is distributed under the artistic license, see license.txt%0A     for more information. *%0A%0A %7C____________________________________________________________________________%7C %0A%3C/pre%3E */%0A%0A%0A
 publ

fix header in this file.