()
| 79901 | } |
| 79902 | |
| 79903 | function maybe_name() { |
| 79904 | if(token.data === ',' && !(stmt.flags & DECL_ALLOW_COMMA)) { |
| 79905 | return state.shift() |
| 79906 | } |
| 79907 | |
| 79908 | if(token.data === '[') { |
| 79909 | // oh lord. |
| 79910 | state.unshift(quantifier()) |
| 79911 | return |
| 79912 | } |
| 79913 | |
| 79914 | if(token.data === ')') return state.shift() |
| 79915 | |
| 79916 | if(token.data === ';') { |
| 79917 | return stmt.stage + 3 |
| 79918 | } |
| 79919 | |
| 79920 | if(token.type !== 'ident') { |
| 79921 | console.log(token); |
| 79922 | return unexpected('expected identifier, got '+token.data) |
| 79923 | } |
| 79924 | |
| 79925 | stmt.collected_name = tokens.shift() |
| 79926 | return Advance |
| 79927 | } |
| 79928 | |
| 79929 | function maybe_lparen() { |
| 79930 | if(token.data === '(') { |
nothing calls this directly
no test coverage detected