#include "comment-list.h"
Public Types | |
enum | comment_type { unknown , block , full_line , end_of_line , doc_string , copyright } |
Public Member Functions | |
comment_elt (const comment_elt &oc) | |
comment_elt (const std::string &s="", comment_type t=unknown) | |
~comment_elt (void)=default | |
bool | is_block (void) const |
bool | is_copyright (void) const |
bool | is_doc_string (void) const |
bool | is_end_of_line (void) const |
bool | is_full_line (void) const |
comment_elt & | operator= (const comment_elt &oc) |
std::string | text (void) const |
comment_type | type (void) const |
Private Attributes | |
std::string | m_text |
comment_type | m_type |
Definition at line 43 of file comment-list.h.
Enumerator | |
---|---|
unknown | |
block | |
full_line | |
end_of_line | |
doc_string | |
copyright |
Definition at line 48 of file comment-list.h.
|
inline |
Definition at line 58 of file comment-list.h.
|
inline |
Definition at line 61 of file comment-list.h.
|
default |
|
inline |
Definition at line 79 of file comment-list.h.
Referenced by octave::check_for_doc_string().
|
inline |
Definition at line 83 of file comment-list.h.
|
inline |
Definition at line 82 of file comment-list.h.
|
inline |
Definition at line 81 of file comment-list.h.
Referenced by octave::base_parser::make_classdef_properties_block(), and octave_push_parse().
|
inline |
Definition at line 80 of file comment-list.h.
Referenced by octave::check_for_doc_string().
|
inline |
Definition at line 64 of file comment-list.h.
|
inline |
Definition at line 75 of file comment-list.h.
Referenced by octave::check_for_doc_string(), octave::tree_classdef_body::get_doc_string(), octave::base_parser::make_classdef_properties_block(), octave_push_parse(), and octave::tree_print_code::print_comment_elt().
|
inline |
Definition at line 77 of file comment-list.h.
|
private |
Definition at line 90 of file comment-list.h.
Referenced by operator=().
|
private |
Definition at line 93 of file comment-list.h.
Referenced by operator=().