sleep.engine
Class Step
- Serializable
public class Step
implements Serializable
The root of all atomic steps.
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. *
|____________________________________________________________________________|
protected int | line - the script line number that this step was generated from
|
Step | next - Steps act as a simple self contained linked list
|
Scalar | evaluate(ScriptEnvironment e) - evaluate this atomic step.
|
int | getHighLineNumber() - returns the last line number that this step is associated with (assuming it is
associated with multiple lines
|
int | getLineNumber() - returns the line number this step is associated with
|
int | getLowLineNumber() - returns the first line number that this step is associated with (assuming it is
associated with multiple lines
|
void | setInfo(int _line) - convience method for the code generator to set the line number.
|
String | toString()
|
String | toString(String prefix) - returns a string representation of this atomic step
|
line
protected int line
the script line number that this step was generated from
next
public Step next
Steps act as a simple self contained linked list
getHighLineNumber
public int getHighLineNumber()
returns the last line number that this step is associated with (assuming it is
associated with multiple lines
getLineNumber
public int getLineNumber()
returns the line number this step is associated with
getLowLineNumber
public int getLowLineNumber()
returns the first line number that this step is associated with (assuming it is
associated with multiple lines
setInfo
public void setInfo(int _line)
convience method for the code generator to set the line number.
toString
public String toString()
toString
public String toString(String prefix)
returns a string representation of this atomic step