de.xabsl.jxabsl.expression.enumerated
Class EnumeratedOutputSymbolRef

java.lang.Object
  extended by de.xabsl.jxabsl.expression.enumerated.EnumeratedExpression
      extended by de.xabsl.jxabsl.expression.enumerated.EnumeratedOutputSymbolRef

public class EnumeratedOutputSymbolRef
extends EnumeratedExpression

Represents a reference to a enumerated input symbol.


Field Summary
 
Fields inherited from class de.xabsl.jxabsl.expression.enumerated.EnumeratedExpression
debug, enumeration
 
Constructor Summary
EnumeratedOutputSymbolRef(Enumeration enumeration, InputSource input, DebugMessages debug, Symbols symbols)
          Constructor.
 
Method Summary
 Enumeration getEnumeration()
           
 java.lang.Object getValue()
           
 
Methods inherited from class de.xabsl.jxabsl.expression.enumerated.EnumeratedExpression
create, elementFromIntermediateCode, enumerationFromIntermediateCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumeratedOutputSymbolRef

public EnumeratedOutputSymbolRef(Enumeration enumeration,
                                 InputSource input,
                                 DebugMessages debug,
                                 Symbols symbols)
Constructor. Creates the function call depending on the input.

Parameters:
enumeration - A reference to the enumeration which is the domain of this expression
input - An input source for the intermediate code. It must be opened and read until A position where the function reference starts.
debug - For debugging output
symbols - All available symbols
Method Detail

getValue

public java.lang.Object getValue()
Specified by:
getValue in class EnumeratedExpression

getEnumeration

public Enumeration getEnumeration()
Overrides:
getEnumeration in class EnumeratedExpression
Returns:
The expression that is the domain of the enumeration