Implement delegate.ptr and delegate.funcptr as new ast classes instead of using casting and pointer arithmetic
Merge pull request #3181 from yebblies/dgfuncptr

Implement delegate.ptr and delegate.funcptr as new ast classes instead of using casting and pointer arithmetic