The developer typically elaborates the system design to some level of detail, then creates a first-pass implementation by applying model-to-code transformations, usually manually.
The first pull-up resistance unit supplies a supply voltage to the first node, thereby determining an initial pull-up code or a voltage level on the first node.
When your application executes the code that creates an instance of a switch for the first time, it checks the configuration file for trace-level information about the named switch.