tasks/client-side/class-properties.js
function referenceParentNode () {
            // If nodeName is an empty string, then reference the parent of the root child.
            if (isEmptyString(nodeName)) {
                nodeName = this.$parentName;

                // Even though super might be invoked in different constructors,
                // the same instance will always be referenced. rootName is used
                // to know if the chain has been broken.
                rootName = this.$name;

                // Prevent instance from having parent properties applied more than once.
                if (this.$applied) {
                    throwError(`Cannot invoke super more than once for ${this.$name} instance.`, 'SUPER');
                } else {
                    descriptor.value = true;

                    Object.defineProperty(this, '$applied', descriptor);
                }

            // Otherwise just move to next parent.
            } else {
                // Error out if chain is broken.
                if (this.$name !== rootName) {
                    throwError(`Chain started by ${rootName} instance is being broken by ${this.$name} instance.`, 'SUPER');
                }

                nodeName = CLASS[nodeName].prototype.$parentName;
            }
        }
function referenceParentNode () {
            // If nodeName is an empty string, then reference the parent of the root child.
            if (isEmptyString(nodeName)) {
                nodeName = this.$parentName;

                // Even though super might be invoked in different constructors,
                // the same instance will always be referenced. rootName is used
                // to know if the chain has been broken.
                rootName = this.$name;

                // Prevent instance from having parent properties applied more than once.
                if (this.$applied) {
                    throwError(`Cannot invoke super more than once for ${this.$name} instance.`, 'SUPER');
                } else {
                    descriptor.value = true;

                    Object.defineProperty(this, '$applied', descriptor);
                }

            // Otherwise just move to next parent.
            } else {
                // Error out if chain is broken.
                if (this.$name !== rootName) {
                    throwError(`Chain started by ${rootName} instance is being broken by ${this.$name} instance.`, 'SUPER');
                }

                nodeName = CLASS[nodeName].prototype.$parentName;
            }
        }
function referenceParentNode ( ) { // If nodeName is an empty string, then reference the parent of the root child. if ( isEmptyString ( nodeName ) ) { nodeName = this . $parentName ; // Even though super might be invoked in different constructors, // the same instance will always be referenced. rootName is used // to know if the chain has been broken. rootName = this . $name ; // Prevent instance from having parent properties applied more than once. if ( this . $applied ) { throwError ( ` ${ this . $name } ` , 'SUPER' ) ; } else { descriptor . value = true ; Object . defineProperty ( this , '$applied' , descriptor ) ; } // Otherwise just move to next parent. } else { // Error out if chain is broken. if ( this . $name !== rootName ) { throwError ( ` ${ rootName } ${ this . $name } ` , 'SUPER' ) ; } nodeName = CLASS [ nodeName ] . prototype . $parentName ; } }
Check in which node the super chain is at.

@function referenceParentNode
@api private
Check in which node the super chain is at .