de.xabsl.jxabsl.expression.enumerated
Class ConditionalEnumeratedExpression
java.lang.Object
de.xabsl.jxabsl.expression.enumerated.EnumeratedExpression
de.xabsl.jxabsl.expression.enumerated.ConditionalEnumeratedExpression
public class ConditionalEnumeratedExpression
- extends EnumeratedExpression
Represents a (condition?expression:expression) question mark operator
Method Summary |
java.lang.Object |
getValue()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalEnumeratedExpression
public ConditionalEnumeratedExpression(Enumeration enumeration,
InputSource input,
java.util.List<Action> actions,
DebugMessages debug,
OptionParameters parameters,
Symbols symbols,
TimeFunction timeOfOptionExecution,
TimeFunction timeOfStateExecution)
throws IntermediateCodeMalformedException
- Constructor. Creates the expression
- 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 outputparameters
- The parameters of the optionsymbols
- All available symbolstimeOfOptionExecution
- The time how long the option is already activetimeOfStateExecution
- The time how long the state is already active
- Throws:
IntermediateCodeMalformedException
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in class EnumeratedExpression