aspoev.interpreter.base
Class BranchElement

java.lang.Object
  extended byaspoev.interpreter.base.Element
      extended byaspoev.interpreter.base.StatementElement
          extended byaspoev.interpreter.base.BranchElement
All Implemented Interfaces:
java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable
Direct Known Subclasses:
ForElement, IfElement, WhileElement

public abstract class BranchElement
extends StatementElement
implements pJ.jasmine.PRI

An abstract base class for any point in an AST where program flow could go one of many ways based on a conditional statement.

See Also:
Serialized Form

Field Summary
protected  BlockElement block
           
protected  ConditionalElement conditional
           
 
Fields inherited from class aspoev.interpreter.base.Element
parent
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
BranchElement()
           
 
Method Summary
 java.util.Collection getChildrenByType(java.lang.Class childClass)
           
 
Methods inherited from class aspoev.interpreter.base.StatementElement
executeElement
 
Methods inherited from class aspoev.interpreter.base.Element
clone, execute, getCodeString, getRValue, persist, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

conditional

protected ConditionalElement conditional

block

protected BlockElement block
Constructor Detail

BranchElement

public BranchElement()
Method Detail

getChildrenByType

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