| 1 | // Code generated by gocc; DO NOT EDIT. |
| 2 | |
| 3 | package tokenscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/rr/token`/ |
| 4 | |
| 5 | // Context allows user-defined data to be associated with the |
| 6 | // lexer/scanner to be associated with each token that lexer |
| 7 | // produces. |
| 8 | type Contextscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/rr/token`/Context# interface{} |
| 9 | |
| 10 | // Sourcer is a Context interface which presents a Source() method |
| 11 | // identifying e.g the filename for the current code. |
| 12 | type Sourcerscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/rr/token`/Sourcer# interface { |
| 13 | Sourcescip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/rr/token`/Sourcer#Source.() string |
| 14 | } |