(data, states)
| 85 | } |
| 86 | |
| 87 | function Rule(data, states) { |
| 88 | if (data.next || data.push) ensureState(states, data.next || data.push); |
| 89 | this.regex = toRegex(data.regex); |
| 90 | this.token = asToken(data.token); |
| 91 | this.data = data; |
| 92 | } |
| 93 | |
| 94 | function tokenFunction(states, config) { |
| 95 | return function(stream, state) { |
nothing calls this directly
no test coverage detected