Set the local name of a specific attribute.

Parameters:

  • index: index of the attribute (zero-based).
  • local_name: attribute's local name, or the empty string for none.

Property definitions

sax $ AttributesImpl :: local_name=
	# Set the local name of a specific attribute.
	#
	# Parameters:
	#
	# * `index`: index of the attribute (zero-based).
	# * `local_name`: attribute's local name, or the empty string for none.
	fun local_name=(index: Int, local_name: String) do
		assert index_in_bounds: index >= 0 and index < length
		data[index * 5 + 1] = local_name
	end
lib/sax/helpers/attributes_impl.nit:378,2--387,4