public function AddConstant(
        \Peg\Lib\Definitions\Element\Constant $constant, 
        $namespace = "\\"
    )
    {
        $this->CreateNamespace($namespace);
        
        $constant->header =& $this;
        $constant->namespace =& $this->namespaces[$namespace];

        $this->namespaces[$namespace]->constants[$constant->name] = $constant;
    }