(l *Lexer)
| 116 | } |
| 117 | |
| 118 | func dot(l *Lexer) stateFn { |
| 119 | l.next() |
| 120 | if l.accept("0123456789") { |
| 121 | l.backup() |
| 122 | return number |
| 123 | } |
| 124 | l.accept(".") |
| 125 | l.emit(Operator) |
| 126 | return root |
| 127 | } |
| 128 | |
| 129 | func identifier(l *Lexer) stateFn { |
| 130 | loop: |