Class WhileNode
- java.lang.Object
-
- org.ow2.clif.scenario.isac.engine.nodes.WhileNode
-
- All Implemented Interfaces:
InstructionNode
public class WhileNode extends java.lang.Object- Author:
- Emmanuel Varoquaux
-
-
Field Summary
Fields Modifier and Type Field Description ConditionNodeconditionjava.util.ArrayList<InstructionNode>instructions
-
Constructor Summary
Constructors Constructor Description WhileNode(org.jdom.Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.ArrayList<InstructionNode>analyseConditionedBlock(org.jdom.Element element)voidcompile(java.util.Map<java.lang.String,PlugIn> plugIns, java.util.ArrayList<Instruction> code, java.util.Stack<TestInstruction> conditions)java.lang.StringBuilderindentedToString(int indent, java.lang.StringBuilder str)
-
-
-
Field Detail
-
instructions
public java.util.ArrayList<InstructionNode> instructions
-
condition
public ConditionNode condition
-
-
Constructor Detail
-
WhileNode
public WhileNode(org.jdom.Element element) throws NodeException- Throws:
NodeException
-
-
Method Detail
-
indentedToString
public java.lang.StringBuilder indentedToString(int indent, java.lang.StringBuilder str)
-
compile
public void compile(java.util.Map<java.lang.String,PlugIn> plugIns, java.util.ArrayList<Instruction> code, java.util.Stack<TestInstruction> conditions) throws java.lang.Exception
- Throws:
java.lang.Exception
-
analyseConditionedBlock
protected java.util.ArrayList<InstructionNode> analyseConditionedBlock(org.jdom.Element element) throws NodeException
- Throws:
NodeException
-
-