(state, n)
| 79 | } |
| 80 | |
| 81 | function currentScope(state, n) { |
| 82 | if (typeof(n) === "undefined") { n = 0; } |
| 83 | if (state.scopes.length <= n) { |
| 84 | return null; |
| 85 | } |
| 86 | return state.scopes[state.scopes.length - (n + 1)]; |
| 87 | } |
| 88 | |
| 89 | // tokenizers |
| 90 | function tokenBase(stream, state) { |