sleep.engine.atoms
Class PLiteral

java.lang.Object
  extended by sleep.engine.Step
      extended by sleep.engine.atoms.PLiteral
All Implemented Interfaces:
java.io.Serializable

public class PLiteral
extends Step

See Also:
Serialized Form

Field Summary
static int ALIGN_FRAGMENT
           
static int STRING_FRAGMENT
           
static int VAR_FRAGMENT
           
 
Fields inherited from class sleep.engine.Step
line, next
 
Constructor Summary
PLiteral(java.lang.String _evaluator)
           
 
Method Summary
 void addFragment(int type, java.lang.Object element)
           
 Scalar evaluate(ScriptEnvironment e)
          evaluate this atomic step.
 java.lang.String toString(java.lang.String prefix)
          returns a string representation of this atomic step
 
Methods inherited from class sleep.engine.Step
getHighLineNumber, getLineNumber, getLowLineNumber, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

PLiteral

public PLiteral(java.lang.String _evaluator)
Method Detail

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)