libdonut 2.3.6
Application framework for cross-platform game development in C++20
|
Implementation of ValueVisitor that skips over the parsed value and discards the result. More...
#include <donut/json.hpp>
Public Member Functions | |
void | visitNull (const SourceLocation &source, Null value) override |
Callback for values of type Null. | |
void | visitBoolean (const SourceLocation &source, Boolean value) override |
Callback for values of type Boolean. | |
void | visitString (const SourceLocation &source, String &&value) override |
Callback for values of type String. | |
void | visitNumber (const SourceLocation &source, Number value) override |
Callback for values of type Number. | |
void | visitObject (const SourceLocation &source, Parser &parser) override |
Callback for objects. | |
void | visitArray (const SourceLocation &source, Parser &parser) override |
Callback for arrays. | |
Additional Inherited Members | |
![]() | |
~ValueVisitor ()=default | |
Implementation of ValueVisitor that skips over the parsed value and discards the result.
|
inlineoverridevirtual |
Callback for values of type Null.
source | location of the parsed value. |
value | parsed value. |
json::Error | on invalid input. |
any | exception thrown by the concrete implementation. |
Reimplemented from donut::json::Parser< It >::ValueVisitor.
|
inlineoverridevirtual |
Callback for values of type Boolean.
source | location of the parsed value. |
value | parsed value. |
json::Error | on invalid input. |
any | exception thrown by the concrete implementation. |
Reimplemented from donut::json::Parser< It >::ValueVisitor.
|
inlineoverridevirtual |
Callback for values of type String.
source | location of the parsed value. |
value | parsed value. |
json::Error | on invalid input. |
any | exception thrown by the concrete implementation. |
Reimplemented from donut::json::Parser< It >::ValueVisitor.
|
inlineoverridevirtual |
Callback for values of type Number.
source | location of the parsed value. |
value | parsed value. |
json::Error | on invalid input. |
any | exception thrown by the concrete implementation. |
Reimplemented from donut::json::Parser< It >::ValueVisitor.
|
inlineoverridevirtual |
Callback for objects.
source | location of the beginning of the encountered object. |
parser | parser that should be used to parse the object. |
json::Error | on invalid input. |
any | exception thrown by the concrete implementation. |
Reimplemented from donut::json::Parser< It >::ValueVisitor.
|
inlineoverridevirtual |
Callback for arrays.
source | location of the beginning of the encountered array. |
parser | parser that should be used to parse the array. |
json::Error | on invalid input. |
any | exception thrown by the concrete implementation. |
Reimplemented from donut::json::Parser< It >::ValueVisitor.