function parseStatementList() {
        var list = [],
            statement;

        while (index < length) {