|
|
| version 1.199, 2010/09/16 23:34:26 | version 1.201, 2012/03/16 09:24:10 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: string class decl. | Parser: string class decl. |
| Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| #ifndef PA_STRING_H | #ifndef PA_STRING_H |
| #define PA_STRING_H | #define PA_STRING_H |
| static const char * const IDENT_STRING_H="$Date$"; | #define IDENT_PA_STRING_H "$Id$" |
| // includes | // includes |
| #include "pa_types.h" | #include "pa_types.h" |
| Line 108 public: | Line 108 public: |
| L_REGEX='R', ///< RegExp | L_REGEX='R', ///< RegExp |
| L_JSON='S', ///< JSON code | L_JSON='S', ///< JSON code |
| L_HTTP_COOKIE='C', ///< cookies encoded as %uXXXX for compartibility with js functions encode/decode | L_HTTP_COOKIE='C', ///< cookies encoded as %uXXXX for compartibility with js functions encode/decode |
| L_FILE_POST='f', ///< temporary escaping zero-char | |
| L_PARSER_CODE='p', ///< ^process body | L_PARSER_CODE='p', ///< ^process body |
| // READ WARNING ABOVE BEFORE ADDING ANYTHING | // READ WARNING ABOVE BEFORE ADDING ANYTHING |
| L_OPTIMIZE_BIT = 0x80 ///< flag, requiring cstr whitespace optimization | L_OPTIMIZE_BIT = 0x80 ///< flag, requiring cstr whitespace optimization |