php-parser/internal/scanner/token.go

17 lines
248 B
Go
Raw Normal View History

2020-05-12 21:16:36 +00:00
package scanner
import (
"github.com/z7zmey/php-parser/pkg/token"
)
// Token value returned by lexer
type Token struct {
2020-05-17 19:56:32 +00:00
ID TokenID
2020-05-12 21:16:36 +00:00
Value []byte
Tokens []token.Token
StartLine int
EndLine int
StartPos int
EndPos int
}