go-jsonnet/internal/formatter
Charles Korn 7b9f5fd4b4
Expose "unparse", FormatNode and RawAST (#710)
* Export FormatNode so external users can pretty print an AST

Signed-off-by: Tom Wilkie <tom@grafana.com>

* Expose RawAST function.

Signed-off-by: Tom Wilkie <tom@grafana.com>

* Add comment

Signed-off-by: Tom Wilkie <tom@grafana.com>

---------

Signed-off-by: Tom Wilkie <tom@grafana.com>
Co-authored-by: Tom Wilkie <tom@grafana.com>
2023-06-14 19:56:49 +01:00
..
add_plus_object.go Put AddPlusObject behind an option, rename FixPlusObject 2021-04-29 22:55:07 +02:00
BUILD.bazel fix bazel rules for formatter (#563) 2021-09-08 11:18:01 +01:00
enforce_comment_style.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
enforce_max_blank_lines.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
enforce_string_style.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
fix_indentation.go Add 'importbin' statement 2022-03-03 22:49:02 +00:00
fix_newlines.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
fix_parens.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
fix_trailing_commas.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
jsonnetfmt.go Expose "unparse", FormatNode and RawAST (#710) 2023-06-14 19:56:49 +01:00
no_redundant_slice_colon.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
pretty_field_names.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
remove_plus_object.go Put AddPlusObject behind an option, rename FixPlusObject 2021-04-29 22:55:07 +02:00
sort_imports.go memory align structs (#635) 2022-10-19 06:19:15 +01:00
strip.go Add native golang formatter (#388) 2020-03-10 22:19:49 +00:00
unparser.go Add 'importbin' statement 2022-03-03 22:49:02 +00:00