#include "lex.h"
Public Member Functions | |
token_cache (const token_cache &)=delete | |
token_cache (void) | |
~token_cache (void) | |
token * | at (size_t n) |
const token * | at (size_t n) const |
token * | back (void) |
const token * | back (void) const |
void | clear (void) |
bool | empty (void) const |
token * | front (void) |
const token * | front (void) const |
token_cache & | operator= (const token_cache &)=delete |
void | pop (void) |
void | push (token *tok) |
size_t | size (void) const |
Private Attributes | |
std::deque< token * > | m_buffer |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 255 of file lex.h.
Referenced by octave::lexical_feedback::~lexical_feedback(), and octave::lexical_feedback::reset().
|
inline |
|
inline |
Definition at line 230 of file lex.h.
Referenced by octave::lexical_feedback::mark_previous_token_trailing_space(), octave::lexical_feedback::maybe_mark_previous_token_as_variable(), octave::lexical_feedback::previous_token_is_keyword(), octave::lexical_feedback::previous_token_may_be_command(), octave::lexical_feedback::previous_token_value(), octave::lexical_feedback::previous_token_value_is(), and octave::lexical_feedback::space_follows_previous_token().
|
inline |
|
delete |
|
inline |
|
inline |
Definition at line 204 of file lex.h.
Referenced by octave::base_lexer::push_token().
|
inline |
Definition at line 251 of file lex.h.
Referenced by octave::base_lexer::pending_token_count().
|
private |