pulumi/pkg/pack/ast
joeduffy d334ea322b Add custom decoding for MuPack metadata
This adds basic custom decoding for the MuPack metadata section of
the incoming JSON/YAML.  Because of the type discriminated union nature
of the incoming payload, we cannot rely on the simple built-in JSON/YAML
unmarshaling behavior.  Note that for the metadata section -- what is
in this checkin -- we could have, but the IL AST nodes are problematic.
(To know what kind of structure to creat requires inspecting the "kind"
field of the IL.)  We will use a reflection-driven walk of the target
structure plus a weakly typed deserialized map[string]interface{}, as
is fairly customary in Go for scenarios like this (though good libaries
seem to be lacking in this area...).
2017-01-14 07:40:13 -08:00
..
definitions.go Add custom decoding for MuPack metadata 2017-01-14 07:40:13 -08:00
expressions.go Create MuPack and MuIL packages in our Go toolset 2017-01-13 14:32:10 -08:00
nodes.go Create MuPack and MuIL packages in our Go toolset 2017-01-13 14:32:10 -08:00
source.go Create MuPack and MuIL packages in our Go toolset 2017-01-13 14:32:10 -08:00
statements.go Create MuPack and MuIL packages in our Go toolset 2017-01-13 14:32:10 -08:00