func (t Token) RawString() string {
	return string(t.raw)
}
RawString returns the read value in string.
package text
import (
	"bytes"
	"fmt"
	"math"
	"strconv"
	"strings"
	"google.golang.org/protobuf/internal/flags"
)
type Kind uint8
const (
	Invalid Kind = iota
	EOF
	Name    
	Scalar  
	MessageOpen
	MessageClose
	ListOpen
	ListClose
	comma
	semicolon
	bof = Invalid
)
func (t Kind) String() string {
	switch t {
	case Invalid:
		return "<invalid>"
	case EOF:
		return "eof"
	case Scalar:
		return "scalar"
	case Name:
		return "name"
	case MessageOpen:
		return "{"
	case MessageClose:
		return "}"
	case ListOpen:
		return "["
	case ListClose:
		return "]"
	case comma:
		return ","
	case semicolon:
		return ";"
	default:
		return fmt.Sprintf("<invalid:%v>", uint8(t))
	}
}
type NameKind uint8
const (
	IdentName NameKind = iota + 1
	TypeName
	FieldNumber
)
func (t NameKind) String() string {
	switch t {
	case IdentName:
		return "IdentName"
	case TypeName:
		return "TypeName"
	case FieldNumber:
		return "FieldNumber"
	default:
		return fmt.Sprintf("<invalid:%v>", uint8(t))
	}
}
const hasSeparator = 1 << 7
const (
	numberValue = iota + 1
	stringValue
	literalValue
)
const isNegative = 1 << 7
type Token struct {
	kind Kind
	attrs uint8
	numAttrs uint8
	pos int
	raw []byte
	str string
}
func (t Token) Kind() Kind {
	return t.kind
}