code: function getState(options) {
          var result = '',
              syntax = options && options.syntax || 'object';
  
          switch (syntax) {
              case 'object': // see note above
                  result = this.toJSON();
                  break;
              case 'JSON': // see note above
                  result = JSON.stringify(this, null, options && options.space) || '';
                  break;
              case 'SQL':
                  result = this.getSyntax(this.root.conditionals);
          }
  
          return result;
      }
docs: For `'object'` and `'JSON'` note that the subtree's version of `getState` will not call this leaf version of `getState` because the former uses `unstrungify()` and `JSON.stringify()`, respectively, both of which recurse and call `toJSON()` on their own.
  
  @param {object} [options='object'] - See the subtree version of {@link FilterTree#getState|getState} for more info.
  
  @memberOf FilterLeaf#