public function replaceTableTokens(TableNode $input) {
    $table = $input->getTable();
    foreach ($table as $row => $values) {
      foreach ($values as $idx => $value) {
        $table[$row][$idx] = $this->replaceTokens($value);
      }
    }
    return new TableNode($table);
  }