(serializedValue: string, strict: boolean)
| 183 | } |
| 184 | |
| 185 | private static _deserializeValue(serializedValue: string, strict: boolean): any { |
| 186 | serializedValue = serializedValue.trim(); |
| 187 | |
| 188 | if (serializedValue === 'true') { |
| 189 | return true; |
| 190 | } |
| 191 | |
| 192 | if (serializedValue === 'false') { |
| 193 | return false; |
| 194 | } |
| 195 | |
| 196 | let m = /^'([^']*)'$/.exec(serializedValue); |
| 197 | if (m) { |
| 198 | return m[1].trim(); |
| 199 | } |
| 200 | |
| 201 | return serializedValue; |
| 202 | } |
| 203 | |
| 204 | private static _deserializeRegexValue(serializedValue: string, strict: boolean): RegExp | null { |
| 205 |
nothing calls this directly
no outgoing calls
no test coverage detected