github.com/jmespath/go-jmespath.SyntaxError.Offset (field)
7 uses
github.com/jmespath/go-jmespath (current package)
lexer.go#L35: Offset int // The location in the string where the error occurred
lexer.go#L48: return e.Expression + "\n" + strings.Repeat(" ", e.Offset) + "^"
lexer.go#L238: Offset: len(lexer.expression),
lexer.go#L279: Offset: len(lexer.expression),
lexer.go#L300: Offset: lexer.currentPos - 1,
parser.go#L590: Offset: p.lookaheadToken(0).position,
parser.go#L601: Offset: t.position,
![]() |
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. |