()
| 9470 | } |
| 9471 | |
| 9472 | function parseTypeAlias() { |
| 9473 | var id, marker = markerCreate(), typeParameters = null, right; |
| 9474 | expectContextualKeyword('type'); |
| 9475 | id = parseVariableIdentifier(); |
| 9476 | if (match('<')) { |
| 9477 | typeParameters = parseTypeParameterDeclaration(); |
| 9478 | } |
| 9479 | expect('='); |
| 9480 | right = parseType(); |
| 9481 | consumeSemicolon(); |
| 9482 | return markerApply(marker, delegate.createTypeAlias(id, typeParameters, right)); |
| 9483 | } |
| 9484 | |
| 9485 | function parseInterfaceExtends() { |
| 9486 | var marker = markerCreate(), id, typeParameters = null; |
no test coverage detected