passContext(node) {
        if (this.context) {
            if (node.context) {
                node.context = Object.assign(node.context, this.context);
            }
            else {
                node.context = this.context;
            }
        }
    }
/**
     * Passes context to the child node.
     *
     * @param node - Node to pass the context to.
     */
Passes context to the child node.
@param node - Node to pass the context to.
Passes context to the child node . @param node - Node to pass the context to .
passContext(node) {
        if (this.context) {
            if (node.context) {
                node.context = Object.assign(node.context, this.context);
            }
            else {
                node.context = this.context;
            }
        }
    }
passContext ( node ) { if ( this . context ) { if ( node . context ) { node . context = Object . assign ( node . context , this . context ) ; } else { node . context = this . context ; } } }
Passes context to the child node.
Passes context to the child node .