![]() |
Kea 1.5.0
|
A stack with random access from its top. More...
#include <parser.h>
Public Types | |
| typedef S::const_reverse_iterator | const_iterator |
| typedef S::reverse_iterator | iterator |
| typedef S::size_type | size_type |
Public Member Functions | |
| stack (size_type n=200) | |
| const_iterator | begin () const |
| void | clear () |
| const_iterator | end () const |
| T & | operator[] (int i) |
| Random access. | |
| const T & | operator[] (int i) const |
| Random access. | |
| T & | operator[] (size_type i) |
| Random access. | |
| const T & | operator[] (size_type i) const |
| Random access. | |
| void | pop (int n=1) |
| void | push (YY_MOVE_REF(T) t) |
| Steal the contents of t. | |
| size_type | size () const |
A stack with random access from its top.
| typedef S::const_reverse_iterator isc::eval::stack< T, S >::const_iterator |
| typedef S::reverse_iterator isc::eval::stack< T, S >::iterator |
| typedef S::size_type isc::eval::stack< T, S >::size_type |
|
inline |
|
inline |
|
inline |
Definition at line 236 of file parser.h.
Referenced by isc::eval::EvalParser::parse().
|
inline |
|
inline |
Random access.
Index 0 returns the topmost element.
Definition at line 195 of file parser.h.
References isc::eval::stack< T, S >::operator[]().
Here is the call graph for this function:
|
inline |
Random access.
Index 0 returns the topmost element.
Definition at line 213 of file parser.h.
References isc::eval::stack< T, S >::operator[]().
Here is the call graph for this function:
|
inline |
Random access.
Index 0 returns the topmost element.
Definition at line 186 of file parser.h.
References isc::eval::stack< T, S >::size().
Referenced by isc::eval::stack< T, S >::operator[](), and isc::eval::stack< T, S >::push().
Here is the call graph for this function:
|
inline |
Random access.
Index 0 returns the topmost element.
Definition at line 204 of file parser.h.
References isc::eval::stack< T, S >::size().
Here is the call graph for this function:
|
inline |
|
inline |
Steal the contents of t.
Close to move-semantics.
Definition at line 222 of file parser.h.
References isc::eval::stack< T, S >::operator[]().
Here is the call graph for this function:
|
inline |
Definition at line 242 of file parser.h.
Referenced by isc::eval::stack< T, S >::operator[](), and isc::eval::EvalParser::parse().