code: private function parseDirectiveLocation()
      {
          $start = $this->lexer->token;
          $name  = $this->parseName();
          if (DirectiveLocation::has($name->value)) {
              return $name;
          }
  
          throw $this->unexpected($start);
      }
docs: @return NameNode
  
  @throws SyntaxError