code: function() {
  			var out = [];
  			if (this.parent) {
  				// add current range if it is not root node
  				out.push(this.range);
  			}
  
  			this.children.forEach(function(child) {
  				out = out.concat(child.allRanges());
  			});
  
  			return out;
  		}
docs: Returns current and all nested sections ranges
  @return {Array}