Debian Codegraph @

example/usercontext/token/context.go

raw symbols SCIP
1 // Code generated by gocc; DO NOT EDIT.
2
3 package tokenscip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/usercontext/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/usercontext/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/usercontext/token`/Sourcer# interface {
13 Sourcescip-go gomod github.com/goccmack/gocc . `github.com/goccmack/gocc/example/usercontext/token`/Sourcer#Source.() string
14 }