setDefinition

fun <R, D> ReferenceNode<R, D>.setDefinition(context: MutableContext, definition: D)

Registers the given definition as the definition associated with this reference within the document handled by context.

Parameters

context

context where the ResolvedReferenceProperty is stored

definition

the definition to associate with this reference

See also

for the assignment stage