2020-05-12 21:16:36 +00:00
|
|
|
package scanner
|
|
|
|
|
|
|
|
import (
|
2020-05-17 20:50:23 +00:00
|
|
|
"github.com/z7zmey/php-parser/pkg/position"
|
2020-05-12 21:16:36 +00:00
|
|
|
"github.com/z7zmey/php-parser/pkg/token"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Token value returned by lexer
|
|
|
|
type Token struct {
|
2020-05-17 20:50:23 +00:00
|
|
|
ID TokenID
|
|
|
|
Value []byte
|
2020-07-02 21:20:32 +00:00
|
|
|
Tokens []token.Token
|
2020-05-17 20:50:23 +00:00
|
|
|
Position position.Position
|
2020-05-12 21:16:36 +00:00
|
|
|
}
|