|
|
| version 1.91, 2024/09/17 18:09:59 | version 1.94, 2024/11/04 03:53:25 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b reflection parser class. | Parser: @b reflection parser class. |
| Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) |
| Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| Line 197 static void _def(Request& r, MethodParam | Line 197 static void _def(Request& r, MethodParam |
| // can't use get_class because it will call @autouse[] if the class wasn't loaded | // can't use get_class because it will call @autouse[] if the class wasn't loaded |
| r.write(VBool::get(r.classes().get(name)!=0)); | r.write(VBool::get(r.classes().get(name)!=0)); |
| } else { | } else { |
| throw Exception(PARSER_RUNTIME, &type, "is invalid type, must be '%s'", def_class.cstr()); | throw Exception(PARSER_RUNTIME, &type, "is an invalid type, must be '%s'", def_class.cstr()); |
| } | } |
| } | } |
| Line 652 static void _stack(Request& r, MethodPar | Line 652 static void _stack(Request& r, MethodPar |
| } | } |
| } | } |
| result->put(format(index, 0), &vcurrent); | result->put(pa_uitoa(index), &vcurrent); |
| } | } |
| caller=caller->caller(); | caller=caller->caller(); |
| index++; | index++; |