protected function buildGlobalCode() {
        $result = '';
        foreach ($this->globalCodes as $code) {
            /* @var $code \ManiaScript\Builder\Code */
            $result .= $code->getCode() . PHP_EOL;
        }
        return $result;
    }