aspoev.interpreter.base
Class Element
java.lang.Object
aspoev.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
| Fields inherited from interface pJ.jasmine.PRI |
DELETECHANGE, MODIFYCHANGE, NOCHANGE |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
parent
protected Element parent
Element
public Element()
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()