github.com/prometheus/common/expfmt.TextParser.currentByte (field)
44 uses
github.com/prometheus/common/expfmt (current package)
text_parse.go#L56: currentByte byte // The most recent byte read.
text_parse.go#L150: switch p.currentByte {
text_parse.go#L165: if p.currentByte == '\n' {
text_parse.go#L173: if p.currentByte == '\n' {
text_parse.go#L179: for p.currentByte != '\n' {
text_parse.go#L180: if p.currentByte, p.err = p.buf.ReadByte(); p.err != nil {
text_parse.go#L193: if p.currentByte == '\n' {
text_parse.go#L198: if !isBlankOrTab(p.currentByte) {
text_parse.go#L206: if p.currentByte == '\n' {
text_parse.go#L259: if p.currentByte != '{' {
text_parse.go#L271: if p.currentByte == '}' {
text_parse.go#L298: if p.currentByte != '=' {
text_parse.go#L299: p.parseError(fmt.Sprintf("expected '=' after label name, found %q", p.currentByte))
text_parse.go#L311: if p.currentByte != '"' {
text_parse.go#L312: p.parseError(fmt.Sprintf("expected '\"' at start of label value, found %q", p.currentByte))
text_parse.go#L352: switch p.currentByte {
text_parse.go#L449: if p.currentByte == '\n' {
text_parse.go#L529: if p.currentByte, p.err = p.buf.ReadByte(); p.err != nil || !isBlankOrTab(p.currentByte) {
text_parse.go#L538: if isBlankOrTab(p.currentByte) {
text_parse.go#L549: for p.err == nil && !isBlankOrTab(p.currentByte) && p.currentByte != '\n' {
text_parse.go#L550: p.currentToken.WriteByte(p.currentByte)
text_parse.go#L551: p.currentByte, p.err = p.buf.ReadByte()
text_parse.go#L566: switch p.currentByte {
text_parse.go#L568: p.currentToken.WriteByte(p.currentByte)
text_parse.go#L572: p.parseError(fmt.Sprintf("invalid escape sequence '\\%c'", p.currentByte))
text_parse.go#L577: switch p.currentByte {
text_parse.go#L583: p.currentToken.WriteByte(p.currentByte)
text_parse.go#L586: p.currentByte, p.err = p.buf.ReadByte()
text_parse.go#L596: if !isValidMetricNameStart(p.currentByte) {
text_parse.go#L600: p.currentToken.WriteByte(p.currentByte)
text_parse.go#L601: p.currentByte, p.err = p.buf.ReadByte()
text_parse.go#L602: if p.err != nil || !isValidMetricNameContinuation(p.currentByte) {
text_parse.go#L614: if !isValidLabelNameStart(p.currentByte) {
text_parse.go#L618: p.currentToken.WriteByte(p.currentByte)
text_parse.go#L619: p.currentByte, p.err = p.buf.ReadByte()
text_parse.go#L620: if p.err != nil || !isValidLabelNameContinuation(p.currentByte) {
text_parse.go#L635: if p.currentByte, p.err = p.buf.ReadByte(); p.err != nil {
text_parse.go#L639: switch p.currentByte {
text_parse.go#L641: p.currentToken.WriteByte(p.currentByte)
text_parse.go#L645: p.parseError(fmt.Sprintf("invalid escape sequence '\\%c'", p.currentByte))
text_parse.go#L651: switch p.currentByte {
text_parse.go#L660: p.currentToken.WriteByte(p.currentByte)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |