github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/internal/durgaform/node_value.go (about)

     1  package durgaform
     2  
     3  // graphNodeTemporaryValue is implemented by nodes that may represent temporary
     4  // values, which are those not saved to the state file. This includes locals,
     5  // variables, and non-root outputs.
     6  // A boolean return value allows a node which may need to be saved to
     7  // conditionally do so.
     8  type graphNodeTemporaryValue interface {
     9  	temporaryValue() bool
    10  }