src/parser.js
function parseSwitchTypeCase(lex) {
    var start = lex.assert('case');
    var type = parseType(lex);
    lex.assert('{');

    var body = parseStatements(lex, '}', false);

    var end = lex.assert('}');
    return new nodes.SwitchTypeCaseNode(type, body, start.start, end.end);
}
function parseSwitchTypeCase(lex) {
    var start = lex.assert('case');
    var type = parseType(lex);
    lex.assert('{');

    var body = parseStatements(lex, '}', false);

    var end = lex.assert('}');
    return new nodes.SwitchTypeCaseNode(type, body, start.start, end.end);
}
function parseSwitchTypeCase ( lex ) { var start = lex . assert ( 'case' ) ; var type = parseType ( lex ) ; lex . assert ( '{' ) ; var body = parseStatements ( lex , '}' , false ) ; var end = lex . assert ( '}' ) ; return new nodes . SwitchTypeCaseNode ( type , body , start . start , end . end ) ; }
Parses a SwitchType's case statement
@param  {Lexer}
@return {SwitchTypeCase}
Parses a SwitchType s case statement