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_String_HPP
2 #define LIB_RUBY_PARSER_String_HPP
72 #endif // LIB_RUBY_PARSER_String_HPP
size_t capacity
Definition: string.hpp:17
bool is_none() const
Returns true if pointer is None
uint8_t bytes[sizeof(String)]
Definition: string.hpp:39
MaybeString & operator=(MaybeString const &)=delete
char * ptr
Definition: string.hpp:16
String & operator=(String const &)=delete
Definition: string.hpp:37
Definition: string.hpp:49
String string
Definition: string.hpp:52
static String Copied(const char *s)
Definition: string.hpp:13
static String Owned(char *s, size_t len)
size_t len
Definition: string.hpp:18
bool is_some() const
Returns true if pointer is Some(String)