function loc(start, end) {
  if (!yy.options.captureLocations) {
    return null;
  }

  return {
    startOffset: start.startOffset,
    endOffset: end.endOffset,
    startLine: start.startLine,
    endLine: end.endLine,
    startColumn: start.startColumn,
    endColumn: end.endColumn,
  };
}
function loc(start, end) {
  if (!yy.options.captureLocations) {
    return null;
  }

  return {
    startOffset: start.startOffset,
    endOffset: end.endOffset,
    startLine: start.startLine,
    endLine: end.endLine,
    startColumn: start.startColumn,
    endColumn: end.endColumn,
  };
}
function loc ( start , end ) { if ( ! yy . options . captureLocations ) { return null ; } return { startOffset : start . startOffset , endOffset : end . endOffset , startLine : start . startLine , endLine : end . endLine , startColumn : start . startColumn , endColumn : end . endColumn , } ; }
Creates location node.
Creates location node .