original_string: protected function instantiateNode()
      {
          if (null === $this->values) {
              throw new \RuntimeException('You must call ->values() on enum nodes.');
          }
  
          return new EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator);
      }
code: protected function instantiateNode()
      {
          if (null === $this->values) {
              throw new \RuntimeException('You must call ->values() on enum nodes.');
          }
  
          return new EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator);
      }
code_tokens: protected function instantiateNode ( ) { if ( null === $ this -> values ) { throw new \ RuntimeException ( 'You must call ->values() on enum nodes.' ) ; } return new EnumNode ( $ this -> name , $ this -> parent , $ this -> values , $ this -> pathSeparator ) ; }
docstring: Instantiate a Node.
  
  @return EnumNode The node
  
  @throws \RuntimeException
docstring_tokens: Instantiate a Node .