Files
marqdo/public/structure/09-inherit.mq.md
T

414 B

markup, title, description
markup title description
occlusion Object inheritance # Child = > Parent; methods walk the base chain

Greeter

hello

+ `who`

msg = "Hello, who!" msg

Loud = > Greeter

hello

+ `who`

msg = "HELLO, who!" msg

main

g = > Greeter m = > g.hello who="world"

print text=m l = > Loud m2 = > l.hello who="world" print text=m2