Example for Dot operator overloading

Does anyone knows how to overload the dot operator?

https://docs.julialang.org/en/stable/manual/interfaces/#man-interfaces-broadcasting-1

2 Likes

I guess you (EDIT: @Sighoya) meant something like this: EzXML.jl/node.jl at 3751fbe3c70b2783c19f05925375de74b7faf107 · JuliaIO/EzXML.jl · GitHub.

2 Likes

Thanks for both answers.

Can broadcasting achieve the same as get/set property overloading?

No, broadcasting and properties are unrelated.