GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "lex.h"
Public Member Functions | |
token_cache (size_t sz_arg=std::numeric_limits< size_t >::max()) | |
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 |
void | pop (void) |
void | push (token *tok) |
size_t | size (void) const |
Private Member Functions | |
token_cache (const token_cache &) | |
token_cache & | operator= (const token_cache &) |
Private Attributes | |
std::deque< token * > | buffer |
size_t | sz |
|
private |
|
inline |
|
inline |
Definition at line 237 of file lex.h.
Referenced by lexical_feedback::reset(), and lexical_feedback::~lexical_feedback().
|
inline |
|
inline |
Definition at line 212 of file lex.h.
Referenced by lexical_feedback::mark_previous_token_trailing_space(), lexical_feedback::maybe_mark_previous_token_as_variable(), lexical_feedback::previous_token_is_keyword(), lexical_feedback::previous_token_may_be_command(), lexical_feedback::previous_token_value(), lexical_feedback::previous_token_value_is(), and lexical_feedback::space_follows_previous_token().
|
inline |
|
private |
|
inline |
Definition at line 183 of file lex.h.
Referenced by octave_base_lexer::push_token().
|
inline |
|
private |