aspoev.interpreter.base
Class Element

java.lang.Object
  extended byaspoev.interpreter.base.Element
All Implemented Interfaces:
java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable
Direct Known Subclasses:
ArgumentListElement, ClassDeclarationElement, ConditionalElement, FieldDeclarationList, ImportElement, MethodDeclarationElement, ParameterListElement, StatementElement

public abstract class Element
extends java.lang.Object
implements pJ.jasmine.PRI, aspoev.Executable, java.lang.Cloneable

A class that is the base class for an Abstract Syntax Tree for a Versioned Type language. The AST is read in and executed by an interpreter, and applied to a database.

See Also:
Serialized Form

Field Summary
protected  Element parent
           
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
Element()
           
 
Method Summary
abstract  java.lang.Object clone()
           
 java.lang.Object execute()
           
protected abstract  java.lang.Object executeElement()
           
abstract  java.util.Collection getChildrenByType(java.lang.Class childClass)
           
abstract  java.lang.String getCodeString()
           
 java.lang.Object getRValue()
           
protected  void persist()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

protected Element parent
Constructor Detail

Element

public Element()
Method Detail

clone

public abstract java.lang.Object clone()

execute

public java.lang.Object execute()
Specified by:
execute in interface aspoev.Executable

persist

protected void persist()

executeElement

protected abstract java.lang.Object executeElement()

getRValue

public java.lang.Object getRValue()

getChildrenByType

public abstract java.util.Collection getChildrenByType(java.lang.Class childClass)

getCodeString

public abstract java.lang.String getCodeString()

toString

public java.lang.String toString()