Flutter Engine
The Flutter Engine
third_party
skia
src
sksl
analysis
SkSLNoOpErrorReporter.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkSLNoOpErrorReporter_DEFINED
9
#define SkSLNoOpErrorReporter_DEFINED
10
11
#include "
src/sksl/SkSLErrorReporter.h
"
12
#include "
src/sksl/SkSLPosition.h
"
13
14
namespace
SkSL
{
15
16
// We can use a no-op error reporter to silently ignore errors.
17
class
NoOpErrorReporter
:
public
ErrorReporter
{
18
public
:
19
void
handleError
(std::string_view,
Position
)
override
{}
20
};
21
22
}
// namespace SkSL
23
24
#endif
SkSLErrorReporter.h
SkSLPosition.h
SkSL::ErrorReporter
Definition:
SkSLErrorReporter.h:22
SkSL::NoOpErrorReporter
Definition:
SkSLNoOpErrorReporter.h:17
SkSL::NoOpErrorReporter::handleError
void handleError(std::string_view, Position) override
Definition:
SkSLNoOpErrorReporter.h:19
SkSL::Position
Definition:
SkSLPosition.h:18
SkSL
Definition:
SkCapabilities.h:15
Generated on Sun Jun 23 2024 21:56:33 for Flutter Engine by
1.9.4