public function resolveSnippet($name, array &$parameters)
    {
        $name = strtoupper($name);

        if (isset($this->clauses[$name])) {
            $snippet = $this->clauses[$name]->resolveClauses($parameters);
        } elseif (isset($this->snippets[$name])) {
            $snippet = $this->snippets[$name];
        } else {
            $snippet = '';
        }

        return $snippet;
    }