17 lines
248 B
Go
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
|
|
}
|