hcl/hcl
Martin Atkins 368a3f81c0 hcl: SourceRange.PartitionAround
This is a convenience wrapper around SourceRange.Overlap that also
calculates the ranges in the receiver that _aren't_ overlapping with the
given range.

This is useful when, for example, partitioning a portion of source code
to insert markers to highlight the location of an error, as we do when
printing code snippets as part of diagnostic output.
2018-01-14 11:51:05 -08:00
..
hclsyntax hcl: ExprList function 2018-01-12 23:30:41 -08:00
integrationtest integrationtest: exercise some features Terraform uses 2018-01-13 00:58:50 -08:00
json hcl/json: detect variable references in string values 2018-01-12 23:35:58 -08:00
diagnostic.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
diagnostic_text.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
diagnostic_text_test.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
didyoumean.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
doc.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
eval_context.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
expr_list.go hcl: ExprList function 2018-01-12 23:30:41 -08:00
merged.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
merged_test.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
ops.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
pos.go hcl: SourceRange.PartitionAround 2018-01-14 11:51:05 -08:00
pos_scanner.go hcl: RangeScanner helper 2018-01-14 11:24:19 -08:00
pos_scanner_test.go hcl: RangeScanner helper 2018-01-14 11:24:19 -08:00
pos_test.go hcl: SourceRange.PartitionAround 2018-01-14 11:51:05 -08:00
schema.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
spec.md specs: zcl -> HCL 2017-09-11 16:49:35 -07:00
static_expr.go hcl: StaticExpr function for making synthetic expressions 2017-09-20 16:22:05 -07:00
structure.go More miscellaneous renaming of ZCL to HCL. 2017-09-11 18:36:56 -07:00
traversal.go hcl: Export the source range for a Traversal 2018-01-13 23:01:11 -08:00
traversal_for_expr.go hcl: AbsTraversalForExpr and RelTraversalForExpr 2018-01-12 22:58:55 -08:00
traversal_for_expr_test.go hcl: AbsTraversalForExpr and RelTraversalForExpr 2018-01-12 22:58:55 -08:00