sleep.engine.atoms
Class PLiteral
java.lang.Object
sleep.engine.Step
sleep.engine.atoms.PLiteral
- All Implemented Interfaces:
- java.io.Serializable
public class PLiteral
- extends Step
- See Also:
- Serialized Form
Constructor Summary |
PLiteral(java.lang.String _evaluator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STRING_FRAGMENT
public static final int STRING_FRAGMENT
- See Also:
- Constant Field Values
ALIGN_FRAGMENT
public static final int ALIGN_FRAGMENT
- See Also:
- Constant Field Values
VAR_FRAGMENT
public static final int VAR_FRAGMENT
- See Also:
- Constant Field Values
PLiteral
public PLiteral(java.lang.String _evaluator)
toString
public java.lang.String toString(java.lang.String prefix)
- Description copied from class:
Step
- returns a string representation of this atomic step
- Overrides:
toString
in class Step
evaluate
public Scalar evaluate(ScriptEnvironment e)
- Description copied from class:
Step
- evaluate this atomic step.
- Overrides:
evaluate
in class Step
addFragment
public void addFragment(int type,
java.lang.Object element)