()
| 108 | } |
| 109 | |
| 110 | function readValue() { |
| 111 | if (s[i] === '-') { |
| 112 | // the beginning and end of arbitrary values are marked with - |
| 113 | while (i < s.length && s[i] !== ' ') { |
| 114 | i++; |
| 115 | if (s[i] === '-') { |
| 116 | i++; |
| 117 | break; |
| 118 | } |
| 119 | } |
| 120 | } else { |
| 121 | while (i < s.length) { |
| 122 | if (s[i] === '_') { |
| 123 | i++; |
| 124 | } else { |
| 125 | i++; |
| 126 | break; |
| 127 | } |
| 128 | } |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | return properties; |
| 133 | } |