github.com/opentofu/opentofu@v1.7.1/internal/lang/globalref/doc.go (about)

     1  // Copyright (c) The OpenTofu Authors
     2  // SPDX-License-Identifier: MPL-2.0
     3  // Copyright (c) 2023 HashiCorp, Inc.
     4  // SPDX-License-Identifier: MPL-2.0
     5  
     6  // Package globalref is home to some analysis algorithms that aim to answer
     7  // questions about references between objects and object attributes across
     8  // an entire configuration.
     9  //
    10  // This is a different problem than references within a single module, which
    11  // we handle using some relatively simpler functions in the "lang" package
    12  // in the parent directory. The globalref algorithms are often implemented
    13  // in terms of those module-local reference-checking functions.
    14  package globalref