Debian Codegraph @

example/usercontext/token/context.go

raw symbols SCIP
1 // Code generated by gocc; DO NOT EDIT.
2
3 package 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 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 Sourcer interface {
13 Source() string
14 }