code: function RouterState(root, snapshot) {
          _super.call(this, root);
          this.snapshot = snapshot;
          setRouterStateSnapshot(this, root);
      }
docs: \@internal
  @param {?} root
  @param {?} snapshot