public function addTerm($term, $filename, $line_number)
    {
        if (!isset($this[$term])) {
            $this[$term] = array();
        }
        if (!isset($this[$term][$filename])) {
            $this[$term][$filename] = array();
        }

        $this[$term][$filename][] = $line_number;
    }