php-parser/internal/scanner/token.go
2020-07-03 00:20:32 +03:00

15 lines
258 B
Go

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