sleep.engine.atoms
Class PLiteral

java.lang.Object
  extended bysleep.engine.Step
      extended bysleep.engine.atoms.PLiteral
All Implemented Interfaces:
Serializable

public class PLiteral
extends Step

See Also:
Serialized Form

Field Summary
 
Fields inherited from class sleep.engine.Step
line, next
 
Constructor Summary
PLiteral(String[] frag, Block[] c, Block[] a)
           
 
Method Summary
 Scalar evaluate(ScriptEnvironment e)
          evaluate this atomic step.
 String toString()
           
 String toString(String prefix)
          returns a string representation of this atomic step
 
Methods inherited from class sleep.engine.Step
getLineNumber, setInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PLiteral

public PLiteral(String[] frag,
                Block[] c,
                Block[] a)
Method Detail

toString

public String toString(String prefix)
Description copied from class: Step
returns a string representation of this atomic step

Overrides:
toString in class Step

toString

public String toString()

evaluate

public Scalar evaluate(ScriptEnvironment e)
Description copied from class: Step
evaluate this atomic step.

Specified by:
evaluate in class Step