{"modulePath":"github.com/expr-lang/expr","version":"v1.18.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package file\n\n## Types\n\n```go\ntype Error struct {\n\tLocation\n\tLine    int    `json:\"line\"`\n\tColumn  int    `json:\"column\"`\n\tMessage string `json:\"message\"`\n\tSnippet string `json:\"snippet\"`\n\tPrev    error  `json:\"prev\"`\n}\n```\n\n```go\nfunc (e *Error) Bind(source Source) *Error\n```\n\n```go\nfunc (e *Error) Error() string\n```\n\n```go\nfunc (e *Error) Unwrap() error\n```\n\n```go\nfunc (e *Error) Wrap(err error)\n```\n\n```go\ntype Location struct {\n\tFrom int `json:\"from\"`\n\tTo   int `json:\"to\"`\n}\n```\n\n```go\ntype Source struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewSource(contents string) Source\n```\n\n```go\nfunc (s Source) Snippet(line int) (string, bool)\n```\n\n```go\nfunc (s Source) String() string\n```\n\n","path":"github.com/expr-lang/expr/file","name":"file","synopsis":"","isRedistributable":true}
