code: function Session(editor) {
          this.editor = editor;
          this.path = editor.document.file.fullPath;
          this.ternHints = [];
          this.ternGuesses = null;
          this.fnType = null;
          this.builtins = null;
      }
docs: Session objects encapsulate state associated with a hinting session
  and provide methods for updating and querying the session.
  
  @constructor
  @param {Editor} editor - the editor context for the session