• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "src/parsing/import-assertions.h"
6 
7 #include "src/ast/ast-value-factory.h"
8 
9 namespace v8 {
10 namespace internal {
11 
operator ()(const AstRawString * lhs,const AstRawString * rhs) const12 bool ImportAssertionsKeyComparer::operator()(const AstRawString* lhs,
13                                              const AstRawString* rhs) const {
14   return AstRawString::Compare(lhs, rhs) < 0;
15 }
16 
17 }  // namespace internal
18 }  // namespace v8
19