()
| 1942 | // Return true if the next token is an assignment operator |
| 1943 | |
| 1944 | function matchAssign() { |
| 1945 | var op; |
| 1946 | |
| 1947 | if (lookahead.type !== Token.Punctuator) { |
| 1948 | return false; |
| 1949 | } |
| 1950 | op = lookahead.value; |
| 1951 | return op === '=' || |
| 1952 | op === '*=' || |
| 1953 | op === '/=' || |
| 1954 | op === '%=' || |
| 1955 | op === '+=' || |
| 1956 | op === '-=' || |
| 1957 | op === '<<=' || |
| 1958 | op === '>>=' || |
| 1959 | op === '>>>=' || |
| 1960 | op === '&=' || |
| 1961 | op === '^=' || |
| 1962 | op === '|='; |
| 1963 | } |
| 1964 | |
| 1965 | function consumeSemicolon() { |
| 1966 | var line, oldIndex = index, oldLineNumber = lineNumber, |
no outgoing calls
no test coverage detected