()
| 88 | } |
| 89 | |
| 90 | function readValue() { |
| 91 | if (s[i] === '-') { |
| 92 | // the beginning and end of arbitrary values are marked with - |
| 93 | while (i < s.length && s[i] !== ' ') { |
| 94 | i++; |
| 95 | if (s[i] === '-') { |
| 96 | i++; |
| 97 | break; |
| 98 | } |
| 99 | } |
| 100 | } else { |
| 101 | while (i < s.length) { |
| 102 | if (s[i] === '_') { |
| 103 | i++; |
| 104 | } else { |
| 105 | i++; |
| 106 | break; |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | return properties; |
| 113 | } |