time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

utils.js (302B)


      1 export function locationContains(location, offset) {
      2     return location.start.offset <= offset && location.end.offset >= offset;
      3 }
      4 export function isBindingStatement(statement) {
      5     return (statement.type === "LetStatement" || statement.type === "DefunStatement");
      6 }
      7 //# sourceMappingURL=utils.js.map