nl_tokens: Represents a route
pl_tokens: function Route ( spec ) { var <mask> ; if ( this ) { // constructor called with new route = this ; } else { // constructor called as a function route = Object . create ( Route . prototype ) ; } if ( typeof spec === 'undefined' ) { throw new Error ( 'A route spec is required' ) ; } route . spec = spec ; route . ast = Parser . parse ( spec ) ; return route ; }