aspoev.interpreter.base
Class ConstantElement

java.lang.Object
  extended byaspoev.interpreter.base.Element
      extended byaspoev.interpreter.base.StatementElement
          extended byaspoev.interpreter.base.RValuedElement
              extended byaspoev.interpreter.base.ConstantElement
All Implemented Interfaces:
java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable

public class ConstantElement
extends RValuedElement
implements pJ.jasmine.PRI

See Also:
Serialized Form

Field Summary
protected  boolean bool
           
protected  java.lang.Object constant
           
protected  double num
           
protected  java.lang.String string
           
protected  TypeReferenceElement type
           
 
Fields inherited from class aspoev.interpreter.base.Element
parent
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
ConstantElement(java.lang.Object constant)
           
 
Method Summary
 java.lang.Object clone()
           
protected  java.lang.Object executeElement()
           
 java.util.Collection getChildrenByType(java.lang.Class childClass)
           
 java.lang.String getCodeString()
           
 java.lang.String toString()
           
 
Methods inherited from class aspoev.interpreter.base.Element
execute, getRValue, persist
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bool

protected boolean bool

num

protected double num

string

protected java.lang.String string

constant

protected transient java.lang.Object constant

type

protected TypeReferenceElement type
Constructor Detail

ConstantElement

public ConstantElement(java.lang.Object constant)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in class Element

executeElement

protected java.lang.Object executeElement()
Overrides:
executeElement in class StatementElement

getChildrenByType

public java.util.Collection getChildrenByType(java.lang.Class childClass)
Specified by:
getChildrenByType in class Element

getCodeString

public java.lang.String getCodeString()
Specified by:
getCodeString in class Element

toString

public java.lang.String toString()
Overrides:
toString in class Element