getConstantValue

Gets the constant value to emit for an expression representing an enum.