protected function generateSame(
        string $same,
        ?NodeInterface $parent
    ): NodeInterface{
        $node = new SameNode($this, $parent, null);

        $node->setSame($same);

        return $node;
    }