php-parser/internal/scanner/token.go

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
Hidden []token.Token
Position position.Position
}