| 98 | } |
| 99 | |
| 100 | type assembler struct { |
| 101 | stoptok token // token to stop scanning at |
| 102 | scanner *scanner |
| 103 | off int |
| 104 | tok token |
| 105 | lit string |
| 106 | |
| 107 | items []interface{} |
| 108 | buf bytes.Buffer // current item |
| 109 | } |
| 110 | |
| 111 | func (a *assembler) next() token { |
| 112 | a.off, a.tok, a.lit = a.scanner.scan() |
nothing calls this directly
no outgoing calls
no test coverage detected