![]() |
Flutter Engine
The Flutter Engine
|
#include <SkSLErrorReporter.h>
Public Member Functions | |
void | handleError (std::string_view msg, Position pos) override |
![]() | |
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 () |
Additional Inherited Members | |
virtual void | handleError (std::string_view msg, Position position)=0 |
Error reporter for tests that need an SkSL context; aborts immediately if an error is reported.
Definition at line 58 of file SkSLErrorReporter.h.
|
overridevirtual |
Called when an error is reported.
Implements SkSL::ErrorReporter.
Definition at line 25 of file SkSLErrorReporter.cpp.