code: public void intern() {
          symbol = symbol.intern();
          if (children != null) {
              for (NaryTree node : children) {
                  node.intern();
              }
          }
      }
docs: Intern all the strings.