go-jsonnet/internal/parser
Thomas Neidhart c8d95b9a6f
Gracefully handle encountered regular expression when running jsonnetfmt (#724)
* Gracefully handle encountered regular expression when running jsonnetfmt, adding tests.

* Do not validate verbatim strings.

* Also do not validate string blocks.

* Change golden prefix for formatter tests to fmt.golden to be consistant with cpp version.
2024-06-09 15:32:29 +01:00
..
BUILD.bazel Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
context.go memory align structs (#635) 2022-10-19 06:19:15 +01:00
lexer_test.go Add 'importbin' statement 2022-03-03 22:49:02 +00:00
lexer.go memory align structs (#635) 2022-10-19 06:19:15 +01:00
literalfield_set.go Make parser package internal 2019-09-03 17:28:33 +02:00
parser_test.go Add 'importbin' statement 2022-03-03 22:49:02 +00:00
parser.go Gracefully handle encountered regular expression when running jsonnetfmt (#724) 2024-06-09 15:32:29 +01:00
string_util.go Equivalent change to https://github.com/google/jsonnet/pull/898 2021-12-21 14:01:05 +00:00