protected function buildDirectives() {
        $result = '';
        foreach ($this->directives as $directive) {
            /* @var $directive \ManiaScript\Builder\Directive\AbstractDirective */
            $result .= $directive->buildCode();
        }
        return $result;
    }