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

#include <decoder.hpp>

Classes

union  Value
 

Public Types

enum  Tag { Tag::UNSUPPORTED_ENCODING, Tag::DECODING_ERROR }
 

Public Member Functions

 InputError (Tag tag, Value as)
 
 InputError (InputError &&)=default
 
 ~InputError ()
 
InputErroroperator= (InputError &&)=default
 

Static Public Member Functions

static InputError UnsupportedEncoding (String unsupported_encoding)
 
static InputError DecodingError (String decoding_error)
 

Public Attributes

Tag tag
 
Value as
 

Member Enumeration Documentation

◆ Tag

Enumerator
UNSUPPORTED_ENCODING 
DECODING_ERROR 

Constructor & Destructor Documentation

◆ InputError() [1/2]

lib_ruby_parser::InputError::InputError ( Tag  tag,
Value  as 
)

◆ InputError() [2/2]

lib_ruby_parser::InputError::InputError ( InputError &&  )
default

◆ ~InputError()

lib_ruby_parser::InputError::~InputError ( )

Member Function Documentation

◆ DecodingError()

static InputError lib_ruby_parser::InputError::DecodingError ( String  decoding_error)
static

◆ operator=()

InputError& lib_ruby_parser::InputError::operator= ( InputError &&  )
default

◆ UnsupportedEncoding()

static InputError lib_ruby_parser::InputError::UnsupportedEncoding ( String  unsupported_encoding)
static

Member Data Documentation

◆ as

Value lib_ruby_parser::InputError::as

◆ tag

Tag lib_ruby_parser::InputError::tag

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