26 #if ! defined (octave_token_h)
27 #define octave_token_h 1
29 #include "octave-config.h"
91 token (
int tv,
const std::string& mth,
const std::string& cls,
126 OCTAVE_DEPRECATED (5,
"use 'octave::iskeyword' instead")
137 std::string
text (
void)
const;
139 double number (
void)
const;
178 tok_info (
const std::string& meth,
const std::string& cls)
201 const std::string& cls)
std::string superclass_class_name(void) const
end_tok_type ettype(void) const
token_type ttype(void) const
bool token_value_is(int tv) const
void beg_pos(const filepos &pos)
token(int tv, const filepos &beg_pos, const filepos &end_pos)
void mark_trailing_space(void)
std::string superclass_method_name(void) const
token(const token &)=delete
token & operator=(const token &)=delete
bool space_follows_token(void) const
std::string text(void) const
bool iskeyword(void) const
bool is_symbol(void) const
double number(void) const
void mark_may_be_command(void)
bool may_be_command(void) const
void end_pos(const filepos &pos)
int token_value(void) const
filepos beg_pos(void) const
std::string symbol_name(void) const
symbol_record sym_rec(void) const
bool is_keyword(void) const
filepos end_pos(void) const
std::string text_rep(void) const
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
superclass_info(const superclass_info &)=delete
superclass_info & operator=(const superclass_info &)=delete
superclass_info(void)=delete
std::string m_method_name
superclass_info(const std::string &meth, const std::string &cls)
~superclass_info(void)=default
tok_info(const std::string &meth, const std::string &cls)
tok_info(end_tok_type et)
tok_info(const std::string &str)
tok_info & operator=(const tok_info &)=delete
tok_info(const tok_info &)=delete
superclass_info * m_superclass_info
tok_info(const symbol_record &sr)