lib-ruby-parser (C++ bindings)  4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
lib_ruby_parser::SharedByteList Class Reference

#include <shared_byte_list.hpp>

Public Member Functions

 SharedByteList ()=delete
 
 SharedByteList (const char *ptr, size_t len)
 

Public Attributes

const char * ptr
 
size_t len
 

Detailed Description

Equivalent of &[u8] in Rust. Holds a constant pointer + length.

Constructor & Destructor Documentation

◆ SharedByteList() [1/2]

lib_ruby_parser::SharedByteList::SharedByteList ( )
delete

◆ SharedByteList() [2/2]

lib_ruby_parser::SharedByteList::SharedByteList ( const char *  ptr,
size_t  len 
)

Member Data Documentation

◆ len

size_t lib_ruby_parser::SharedByteList::len

◆ ptr

const char* lib_ruby_parser::SharedByteList::ptr

The documentation for this class was generated from the following file: