#include "comment-list.h"
Public Types | |
enum | comment_type { unknown, block, end_of_line, doc_string, copyright } |
Public Member Functions | |
octave_comment_elt (const std::string &s=std::string(), comment_type t=unknown) | |
octave_comment_elt (const octave_comment_elt &oc) | |
~octave_comment_elt (void) | |
octave_comment_elt & | operator= (const octave_comment_elt &oc) |
std::string | text (void) const |
comment_type | type (void) const |
Private Attributes | |
std::string | txt |
comment_type | typ |
Definition at line 36 of file comment-list.h.
Definition at line 41 of file comment-list.h.
octave_comment_elt::octave_comment_elt | ( | const std::string & | s = std::string () , |
|
comment_type | t = unknown | |||
) | [inline] |
Definition at line 50 of file comment-list.h.
octave_comment_elt::octave_comment_elt | ( | const octave_comment_elt & | oc | ) | [inline] |
Definition at line 54 of file comment-list.h.
octave_comment_elt::~octave_comment_elt | ( | void | ) | [inline] |
Definition at line 72 of file comment-list.h.
octave_comment_elt& octave_comment_elt::operator= | ( | const octave_comment_elt & | oc | ) | [inline] |
Definition at line 57 of file comment-list.h.
std::string octave_comment_elt::text | ( | void | ) | const [inline] |
Definition at line 68 of file comment-list.h.
Referenced by tree_print_code::print_comment_elt().
comment_type octave_comment_elt::type | ( | void | ) | const [inline] |
Definition at line 70 of file comment-list.h.
std::string octave_comment_elt::txt [private] |
Definition at line 77 of file comment-list.h.
Referenced by operator=().
comment_type octave_comment_elt::typ [private] |
Definition at line 80 of file comment-list.h.
Referenced by operator=().