|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsleep.engine.Step
public abstract class Step
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. * |____________________________________________________________________________|
Field Summary | |
---|---|
protected int |
line
the script line number that this step was generated from |
Step |
next
Steps act as a simple self contained linked list |
Constructor Summary | |
---|---|
Step()
|
Method Summary | |
---|---|
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. |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String prefix)
returns a string representation of this atomic step |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int line
public Step next
Constructor Detail |
---|
public Step()
Method Detail |
---|
public java.lang.String toString(java.lang.String prefix)
public void setInfo(int _line)
public int getHighLineNumber()
public int getLowLineNumber()
public int getLineNumber()
public Scalar evaluate(ScriptEnvironment e)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |