pulumi/pkg/codegen/hcl2/model
Pat Gavlin 33258326e0
[codegen/hcl2] Add a conversion insertion pass. (#4594)
Add a rewriter that reifies implicit conversions into a call to the
`__convert` intrinsic. Code generators can recognize this intrinsic and
use it to generate appropriate conversion code.

Part of this work involves redesigning the type annotations system.
Annotations are now only applicable to opaque and object types. Instead
of inspecting annotations directly, code generators should use
`hcl2.GetSchemaForType` to extract the `schema.Type` for a `model.Type`.
2020-05-11 11:17:36 -07:00
..
format Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
attribute.go HCL2: support for tolerating missing variables. (#4430) 2020-04-17 08:24:44 -07:00
binder_expression.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
binder_expression_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
block.go HCL2: support for tolerating missing variables. (#4430) 2020-04-17 08:24:44 -07:00
body.go HCL2: support for tolerating missing variables. (#4430) 2020-04-17 08:24:44 -07:00
diagnostics.go Fix a misspelling 2020-05-01 11:04:44 -07:00
expression.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
functions.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
printer.go [codegen/hcl] Fix binop printing. (#4537) 2020-04-30 13:44:05 -07:00
scope.go Various codegen updates. (#4424) 2020-04-16 16:44:34 -07:00
spec.md Add an HCL2 static typechecker and semantic model. (#4087) 2020-03-18 09:28:57 -07:00
traversable.go [codegen/hcl2] Separate binding and typechecking. (#4483) 2020-04-24 08:52:52 -07:00
type.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_collection.go HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
type_eventuals.go [hcl2/model] Propagate annotations in InputType. (#4535) 2020-04-30 14:16:43 -07:00
type_list.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_map.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_none.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_object.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_opaque.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_output.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_promise.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_scope.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
type_set.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_test.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_tuple.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
type_union.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
utilities.go [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
visitor.go Fix Python input property names. 2020-04-21 13:55:33 -07:00