setMeta<T> method
void
setMeta<T>(
- T value
inherited
Sets the metadata of type T to the specified value.
Nodes can have arbitrary annotations on them set via setMeta and
obtained via meta. This mechanism is used to, for instance, attach
variable scopes to a subtree.
Implementation
void setMeta<T>(T value) {
_metadata[T] = value;
}