php-parser/internal/scanner/token.go
2020-05-17 22:56:32 +03:00

17 lines
248 B
Go

package scanner
import (
"github.com/z7zmey/php-parser/pkg/token"
)
// Token value returned by lexer
type Token struct {
ID TokenID
Value []byte
Tokens []token.Token
StartLine int
EndLine int
StartPos int
EndPos int
}