  public FunctionDeclaration(String raw, String result) {
    String base = raw.replace(".", "\\s*\\.\\s*");
    pattern = Pattern.compile(".*" + base + "\\s*\\(\\s*\\).*");
    function = raw + " = function() { " + result + " }";
  }

  public FunctionDeclaration(String raw, String result) {
    String base = raw.replace(".", "\\s*\\.\\s*");
    pattern = Pattern.compile(".*" + base + "\\s*\\(\\s*\\).*");
    function = raw + " = function() { " + result + " }; ";
  }
