mirror of
https://github.com/taigrr/wtf
synced 2026-04-01 01:28:44 -07:00
Update dependencies to latest versions
This commit is contained in:
8
vendor/github.com/alecthomas/chroma/lexer.go
generated
vendored
8
vendor/github.com/alecthomas/chroma/lexer.go
generated
vendored
@@ -66,12 +66,12 @@ type Token struct {
|
||||
func (t *Token) String() string { return t.Value }
|
||||
func (t *Token) GoString() string { return fmt.Sprintf("&Token{%s, %q}", t.Type, t.Value) }
|
||||
|
||||
func (t *Token) Clone() *Token {
|
||||
clone := &Token{}
|
||||
*clone = *t
|
||||
return clone
|
||||
func (t *Token) Clone() Token {
|
||||
return *t
|
||||
}
|
||||
|
||||
var EOF Token
|
||||
|
||||
type TokeniseOptions struct {
|
||||
// State to start tokenisation in. Defaults to "root".
|
||||
State string
|
||||
|
||||
Reference in New Issue
Block a user