|
|
| version 1.26, 2007/04/23 10:30:10 | version 1.29, 2009/08/08 13:30:21 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b dnode methods class - MDnode class decl. | Parser: @b dnode methods class - MDnode class decl. |
| Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| Line 14 class MXnode: public Methoded { | Line 14 class MXnode: public Methoded { |
| public: // Value | public: // Value |
| /// MXnode: +$const | /// MXnode: +$const |
| Value* get_element(const String& aname, Value& aself, bool looking_up) { | Value* get_element(const String& aname) { |
| // $method | // $method |
| if(Value* result=Methoded::get_element(aname, aself, looking_up)) | if(Value* result=Methoded::get_element(aname)) |
| return result; | return result; |
| // $const | // $const |
| Line 28 public: // Value | Line 28 public: // Value |
| public: // VStateless_class | public: // VStateless_class |
| Value* create_new_value(Pool&, HashStringValue&) { | Value* create_new_value(Pool&) { |
| throw Exception(PARSER_RUNTIME, | throw Exception(PARSER_RUNTIME, |
| 0, | 0, |
| "no constructors available, use CreateXXX DOM methods to create nodes instead"); | "no constructors available, use CreateXXX DOM methods to create nodes instead"); |