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

Equivalent of lib_ruby_parser::source::Comment More...

#include <comment.hpp>

Public Member Functions

 Comment ()=delete
 
 Comment (Loc location, CommentType kind)
 
 Comment (const Comment &)=default
 
Commentoperator= (Comment const &)=default
 
 Comment (Comment &&)=default
 
Commentoperator= (Comment &&)=default
 

Public Attributes

Loc location
 Location of the comment. More...
 
CommentType kind
 Kind of the comment (inline/document/unknown) More...
 

Detailed Description

Equivalent of lib_ruby_parser::source::Comment

Constructor & Destructor Documentation

◆ Comment() [1/4]

lib_ruby_parser::Comment::Comment ( )
delete

◆ Comment() [2/4]

lib_ruby_parser::Comment::Comment ( Loc  location,
CommentType  kind 
)

◆ Comment() [3/4]

lib_ruby_parser::Comment::Comment ( const Comment )
default

◆ Comment() [4/4]

lib_ruby_parser::Comment::Comment ( Comment &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ kind

CommentType lib_ruby_parser::Comment::kind

Kind of the comment (inline/document/unknown)

◆ location

Loc lib_ruby_parser::Comment::location

Location of the comment.


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