26 #if ! defined (octave_comment_list_h)
27 #define octave_comment_list_h 1
29 #include "octave-config.h"
58 : m_text (s), m_type (t), m_uses_hash_char (uses_hash_char) { }
61 : m_text (oc.m_text), m_type (oc.m_type), m_uses_hash_char (oc.m_uses_hash_char)
70 m_uses_hash_char = oc.m_uses_hash_char;
76 bool empty ()
const {
return m_text.empty (); }
78 std::string
text ()
const {
return m_text; }
82 bool is_block ()
const {
return m_type == block; }
92 m_uses_hash_char =
false;
107 bool m_uses_hash_char;
115 OCTAVE_DEFAULT_CONSTRUCT_COPY_MOVE_DELETE (
comment_list)
122 bool uses_hash_char =
false)
131 for (
const auto& elt : *
this)
134 if (! elt.is_copyright ())
143 return find_doc_comment().text ();
147 OCTAVE_END_NAMESPACE(
octave)
void append(const elt_type &s)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn