UNPKG

llparse

Version:

[![Build Status](https://secure.travis-ci.org/indutny/llparse.svg)](http://travis-ci.org/indutny/llparse) [![NPM version](https://badge.fury.io/js/llparse.svg)](https://badge.fury.io/js/llparse)

16 lines (12 loc) 268 B
'use strict'; const Case = require('./').Case; class Otherwise extends Case { constructor(next, skip = false) { super('otherwise', next); this.skip = skip; } linearize() { throw new Error('Should not be called'); } } module.exports = Otherwise;