lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Go to the documentation of this file. 1 #ifndef LIB_RUBY_PARSER_DECODER_HPP
2 #define LIB_RUBY_PARSER_DECODER_HPP
116 #endif // LIB_RUBY_PARSER_DECODER_HPP
MaybeDecoder(Decoder decoder)
uint8_t bytes[sizeof(DecoderResult)]
Definition: decoder.hpp:80
ByteList byte_list_from_byte_list_blob(ByteListBlob blob)
Definition: decoder.hpp:53
Definition: decoder.hpp:101
Decoder decoder
Definition: decoder.hpp:104
Definition: decoder.hpp:92
DecoderResultBlob decoder_result_to_blob(DecoderResult decoder_result)
InputError err
Definition: decoder.hpp:56
DecoderResult & operator=(DecoderResult &&)=default
Value & operator=(Value &&)
Definition: string.hpp:37
DecoderFunction f
Definition: decoder.hpp:95
Definition: decoder.hpp:78
static MaybeDecoder Some(Decoder decoder)
Decoder(DecoderFunction f, void *state)
Definition: decoder.hpp:45
static MaybeDecoder None()
Definition: string.hpp:13
void * state
Definition: decoder.hpp:96
Value as
Definition: decoder.hpp:65
static DecoderResult Ok(ByteList decoded)
Tag
Definition: decoder.hpp:47
String string_from_string_blob(StringBlob blob)
static DecoderResult Err(InputError err)
DecoderResultBlob(* DecoderFunction)(void *, StringBlob, ByteListBlob)
Definition: decoder.hpp:90
ByteList ok
Definition: decoder.hpp:55
Tag tag
Definition: decoder.hpp:64
DecoderResult(Tag tag, Value as)