(input io.ReaderAt)
| 180 | } |
| 181 | |
| 182 | func Lex(input io.ReaderAt) (*lexer, chan LexItem) { |
| 183 | l := &lexer{ |
| 184 | input: input, |
| 185 | items: make(chan LexItem, 2000000), |
| 186 | } |
| 187 | |
| 188 | return l, l.items |
| 189 | } |
| 190 | |
| 191 | func LexSection(input io.ReaderAt, off, n int64) (*lexer, chan LexItem) { |
| 192 | l := &lexer{ |
no outgoing calls