diff options
Diffstat (limited to 'vendor/github.com/tdewolff/parse/css/parse.go')
-rw-r--r-- | vendor/github.com/tdewolff/parse/css/parse.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/tdewolff/parse/css/parse.go b/vendor/github.com/tdewolff/parse/css/parse.go index e48cd66..cedd237 100644 --- a/vendor/github.com/tdewolff/parse/css/parse.go +++ b/vendor/github.com/tdewolff/parse/css/parse.go @@ -70,6 +70,10 @@ type Token struct { Data []byte } +func (t Token) String() string { + return t.TokenType.String() + "('" + string(t.Data) + "')" +} + // Parser is the state for the parser. type Parser struct { l *Lexer |