active ) { throw new DOMException( 'INVALID_STATE_ERR' ); } $this->active = true; $result = call_user_func( $this->filter, $node ); $this->active = false; return $result; } }