|
|
| version 1.21, 2001/03/10 16:34:34 | version 1.23, 2001/03/12 12:00:04 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| Parser | Parser |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> | Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) |
| $Id$ | $Id$ |
| */ | */ |
| Line 70 public: | Line 70 public: |
| Item *get(int index) const; | Item *get(int index) const; |
| void put(int index, Item *item); | void put(int index, Item *item); |
| const char *get_cstr(int index) const { | |
| return static_cast<const char *>(get(index)); | |
| } | |
| const String *get_string(int index) const { | const String *get_string(int index) const { |
| return static_cast<const String *>(get(index)); | return static_cast<const String *>(get(index)); |
| } | } |