(Re)set the parent of this Namespace context.

The context must either have been freshly constructed, or must have been cleared.

Parameters:

  • context: parent Namespace context object.

Property definitions

sax $ Context :: parent=
	# (Re)set the parent of this Namespace context.
	#
	# The context must either have been freshly constructed,
	# or must have been cleared.
	#
	# Parameters:
	#
	# * `context`: parent Namespace context object.
	fun parent=(parent: Context) do
		p_parent = parent
		declarations = null
		prefix_table = parent.prefix_table
		element_name_table = parent.element_name_table
		attribute_name_table = parent.attribute_name_table
		default_ns = parent.default_ns
		decl_seen = false
		decls_ok = true
	end
lib/sax/helpers/namespace_support.nit:431,2--448,4