visitor pattern usage c hacking the mono c compiler codeproject