summaryrefslogtreecommitdiff
path: root/chromium/v8/src/parsing/import-assertions.cc
blob: f294c60bb00c9a1bdcdd78509600a7a93cff451d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/parsing/import-assertions.h"

#include "src/ast/ast-value-factory.h"

namespace v8 {
namespace internal {

bool ImportAssertionsKeyComparer::operator()(const AstRawString* lhs,
                                             const AstRawString* rhs) const {
  return AstRawString::Compare(lhs, rhs) < 0;
}

}  // namespace internal
}  // namespace v8