api

handler.ch

Declarations in handler.ch

2 declarationsjson

Declarations

Public only
DebugJsonSaxHandler#
Publicstruct
struct DebugJsonSaxHandler { var stream : CommandLineStream }
make#
PublicfunctionConstructor
func make() : DebugJsonSaxHandler
write_view#
Publicfunction
func write_view(self : &DebugJsonSaxHandler, view : &string_view) : void
writeLine#
Publicfunction
func writeLine(self : &DebugJsonSaxHandler) : void
on_null#
Publicfunction
func on_null(self : &DebugJsonSaxHandler) : void
on_bool#
Publicfunction
func on_bool(self : &DebugJsonSaxHandler, value : bool) : void
on_number#
Publicfunction
func on_number(self : &DebugJsonSaxHandler, data : *char, len : size_t) : void
on_string#
Publicfunction
func on_string(self : &DebugJsonSaxHandler, data : *char, len : size_t) : void
on_object_begin#
Publicfunction
func on_object_begin(self : &DebugJsonSaxHandler) : void
on_object_end#
Publicfunction
func on_object_end(self : &DebugJsonSaxHandler) : void
on_array_begin#
Publicfunction
func on_array_begin(self : &DebugJsonSaxHandler) : void
on_array_end#
Publicfunction
func on_array_end(self : &DebugJsonSaxHandler) : void
on_key#
Publicfunction
func on_key(self : &DebugJsonSaxHandler, data : *char, len : size_t) : void
ASTJsonHandler#
Publicstruct
struct ASTJsonHandler { var stack : vector<JsonValue> var key_stack : vector<string> var root : JsonValue var have_root : bool }
make#
PublicfunctionConstructor
func make() : ASTJsonHandler
attach_value#
Publicfunction
func attach_value(self : &ASTJsonHandler, v : JsonValue) : void
delete#
function
func delete(self : *ASTJsonHandler) : void