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

Equivalent of lib_ruby_parser::source::MagicComment More...

#include <magic_comment.hpp>

Public Member Functions

 MagicComment ()=delete
 
 MagicComment (MagicCommentKind kind, Loc key_l, Loc value_l)
 
 MagicComment (const MagicComment &)=default
 
MagicCommentoperator= (MagicComment const &)=default
 
 MagicComment (MagicComment &&)=default
 
MagicCommentoperator= (MagicComment &&)=default
 

Public Attributes

MagicCommentKind kind
 
Loc key_l
 
Loc value_l
 

Detailed Description

Equivalent of lib_ruby_parser::source::MagicComment

Constructor & Destructor Documentation

◆ MagicComment() [1/4]

lib_ruby_parser::MagicComment::MagicComment ( )
delete

◆ MagicComment() [2/4]

lib_ruby_parser::MagicComment::MagicComment ( MagicCommentKind  kind,
Loc  key_l,
Loc  value_l 
)

◆ MagicComment() [3/4]

lib_ruby_parser::MagicComment::MagicComment ( const MagicComment )
default

◆ MagicComment() [4/4]

lib_ruby_parser::MagicComment::MagicComment ( MagicComment &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

MagicComment& lib_ruby_parser::MagicComment::operator= ( MagicComment const &  )
default

Member Data Documentation

◆ key_l

Loc lib_ruby_parser::MagicComment::key_l

◆ kind

MagicCommentKind lib_ruby_parser::MagicComment::kind

◆ value_l

Loc lib_ruby_parser::MagicComment::value_l

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