MCPcopy Create free account
hub / github.com/pquerna/ffjson / String

Method String

fflib/v1/lexer.go:609–624  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

607}
608
609func (state FFParseState) String() string {
610 switch state {
611 case FFParse_map_start:
612 return "map:start"
613 case FFParse_want_key:
614 return "want_key"
615 case FFParse_want_colon:
616 return "want_colon"
617 case FFParse_want_value:
618 return "want_value"
619 case FFParse_after_value:
620 return "after_value"
621 }
622
623 panic(fmt.Sprintf("unknown parse state: %d", int(state)))
624}
625
626func (tok FFTok) String() string {
627 switch tok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected