Documentation ¶
Index ¶
Constants ¶
View Source
const ( InitNotStarted = iota InitDone InitPending )
Static initialization phase. These values are stored in two bits in Node.flags.
Variables ¶
This section is empty.
Functions ¶
func MakeInit ¶ added in go1.18
func MakeInit()
MakeInit creates a synthetic init function to handle any package-scope initialization statements.
TODO(mdempsky): Move into noder, so that the types2-based frontends can use Info.InitOrder instead.
Types ¶
Click to show internal directories.
Click to hide internal directories.