()
| 2182 | // Return true if the next token is an assignment operator |
| 2183 | |
| 2184 | function matchAssign() { |
| 2185 | var op; |
| 2186 | |
| 2187 | if (lookahead.type !== Token.Punctuator) { |
| 2188 | return false; |
| 2189 | } |
| 2190 | op = lookahead.value; |
| 2191 | return op === '=' || |
| 2192 | op === '*=' || |
| 2193 | op === '/=' || |
| 2194 | op === '%=' || |
| 2195 | op === '+=' || |
| 2196 | op === '-=' || |
| 2197 | op === '<<=' || |
| 2198 | op === '>>=' || |
| 2199 | op === '>>>=' || |
| 2200 | op === '&=' || |
| 2201 | op === '^=' || |
| 2202 | op === '|='; |
| 2203 | } |
| 2204 | |
| 2205 | function consumeSemicolon() { |
| 2206 | // Catch the very common case first: immediately a semicolon (U+003B). |
no outgoing calls
no test coverage detected