|
|
| version 1.12, 2002/02/08 07:27:45 | version 1.14, 2002/03/18 15:29:46 |
|---|---|
| Line 2 | Line 2 |
| Parser: stack class decl. | Parser: stack class decl. |
| Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| $Id$ | $Id$ |
| */ | */ |
| Line 32 public: | Line 32 public: |
| } | } |
| int top_index() { return ftop-1; } | int top_index() { return ftop-1; } |
| void top_index(int top_index) { ftop=top_index+1; } | |
| Item *top_value() { return get(top_index()); } | Item *top_value() { return get(top_index()); } |
| private: | private: |