de.xabsl.jxabsl.expression.bool
Class EnumeratedExpressionComparison

java.lang.Object
  extended by de.xabsl.jxabsl.expression.bool.BooleanExpression
      extended by de.xabsl.jxabsl.expression.bool.EnumeratedExpressionComparison

public class EnumeratedExpressionComparison
extends BooleanExpression

Represents a comparison of enumerated expressions


Field Summary
 
Fields inherited from class de.xabsl.jxabsl.expression.bool.BooleanExpression
debug
 
Constructor Summary
EnumeratedExpressionComparison(InputSource input, java.util.List<Action> actions, DebugMessages debug, OptionParameters parameters, Symbols symbols, TimeFunction timeOfOptionExecution, TimeFunction timeOfStateExecution)
          Constructor.
 
Method Summary
 boolean getValue()
          Returns the value of the boolean expression.
 
Methods inherited from class de.xabsl.jxabsl.expression.bool.BooleanExpression
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumeratedExpressionComparison

public EnumeratedExpressionComparison(InputSource input,
                                      java.util.List<Action> actions,
                                      DebugMessages debug,
                                      OptionParameters parameters,
                                      Symbols symbols,
                                      TimeFunction timeOfOptionExecution,
                                      TimeFunction timeOfStateExecution)
                               throws IntermediateCodeMalformedException
Constructor. Creates the element

Parameters:
input - An input source for the intermediate code. It must be opened and read until A position where a expression starts.
actions - The subsequent behaviors i.e options and basic behaviors of the state.
debug - For debugging output
parameters - The parameters of the option
symbols - All available symbols
timeOfOptionExecution - The time how long the option is already active
timeOfStateExecution - The time how long the state is already active
Throws:
IntermediateCodeMalformedException
Method Detail

getValue

public boolean getValue()
Description copied from class: BooleanExpression
Returns the value of the boolean expression.

Specified by:
getValue in class BooleanExpression
Returns:
the value of the boolean expression