php-parser/internal/scanner/token.go

16 lines
229 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 {
Value []byte
Tokens []token.Token
StartLine int
EndLine int
StartPos int
EndPos int
}