26 #if defined (HAVE_CONFIG_H)
38 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
39 m_end_pos (end_pos), m_tok_val (tv), m_type_tag (generic_token),
40 m_tok_info (), m_orig_text ()
45 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
46 m_end_pos (end_pos), m_tok_val (tv),
47 m_type_tag (is_kw ? keyword_token : generic_token), m_tok_info (),
53 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
54 m_end_pos (end_pos), m_tok_val (tv), m_type_tag (string_token),
55 m_tok_info (s), m_orig_text ()
60 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
61 m_end_pos (end_pos), m_tok_val (tv), m_type_tag (string_token),
62 m_tok_info (s), m_orig_text ()
67 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
68 m_end_pos (end_pos), m_tok_val (tv), m_type_tag (numeric_token),
69 m_tok_info (val), m_orig_text (s)
74 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
75 m_end_pos (end_pos), m_tok_val (tv), m_type_tag (ettype_token),
76 m_tok_info (t), m_orig_text ()
79 token::token (
int tv,
const std::string& meth,
const std::string& cls,
81 : m_maybe_cmd (false), m_tspc (false), m_beg_pos (beg_pos),
82 m_end_pos (end_pos), m_tok_val (tv), m_type_tag (scls_name_token),
83 m_tok_info (meth, cls), m_orig_text ()
89 delete m_tok_info.m_str;
91 delete m_tok_info.m_num;
93 delete m_tok_info.m_superclass_info;
100 return *m_tok_info.m_str;
107 return *m_tok_info.m_num;
120 return m_tok_info.m_et;
127 return m_tok_info.m_superclass_info->m_method_name;
134 return m_tok_info.m_superclass_info->m_class_name;
143 OCTAVE_END_NAMESPACE(
octave)
std::string text_rep() const
std::string superclass_class_name() const
end_tok_type ettype() const
token(int tv, const filepos &beg_pos, const filepos &end_pos)
std::string superclass_method_name() const
octave_value number() const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn