()
| 2338 | } |
| 2339 | |
| 2340 | private AstNode block() throws IOException { |
| 2341 | if (currentToken != Token.LC) codeBug(); |
| 2342 | consumeToken(); |
| 2343 | int pos = ts.tokenBeg; |
| 2344 | Scope block = new Scope(pos); |
| 2345 | block.setLineColumnNumber(lineNumber(), columnNumber()); |
| 2346 | pushScope(block); |
| 2347 | try { |
| 2348 | statements(block); |
| 2349 | mustMatchToken(Token.RC, "msg.no.brace.block", true); |
| 2350 | block.setLength(ts.tokenEnd - pos); |
| 2351 | return block; |
| 2352 | } finally { |
| 2353 | popScope(); |
| 2354 | } |
| 2355 | } |
| 2356 | |
| 2357 | private AstNode defaultXmlNamespace() throws IOException { |
| 2358 | if (currentToken != Token.DEFAULT) codeBug(); |
no test coverage detected