Flutter Engine
The Flutter Engine
|
#include <SkSLErrorReporter.h>
Public Member Functions | |
ErrorReporter () | |
virtual | ~ErrorReporter () |
void | error (Position position, std::string_view msg) |
std::string_view | source () const |
void | setSource (std::string_view source) |
int | errorCount () const |
void | resetErrorCount () |
Protected Member Functions | |
virtual void | handleError (std::string_view msg, Position position)=0 |
Class which is notified in the event of an error.
Definition at line 22 of file SkSLErrorReporter.h.
|
inline |
Definition at line 24 of file SkSLErrorReporter.h.
|
inlinevirtual |
Definition at line 26 of file SkSLErrorReporter.h.
void SkSL::ErrorReporter::error | ( | Position | position, |
std::string_view | msg | ||
) |
Definition at line 16 of file SkSLErrorReporter.cpp.
|
inline |
Definition at line 34 of file SkSLErrorReporter.h.
|
protectedpure virtual |
Called when an error is reported.
Implemented in SkSL::TestingOnly_AbortErrorReporter, and SkSL::NoOpErrorReporter.
|
inline |
Definition at line 38 of file SkSLErrorReporter.h.
|
inline |
Definition at line 32 of file SkSLErrorReporter.h.
|
inline |
Definition at line 30 of file SkSLErrorReporter.h.