Walk result Start from root |
Walk in: &{%!s(parser.BlockState=2) <nil> []} |
In first child |
Walk in: &{{%!s(parser.BlockState=2) %!s(*parser.heading=&{}) [%!s(*parser.headLine=&{first blog})]} %!s(int=3)} Walk out. |
In second child |
Walk in: &{%!s(parser.BlockState=2) %!s(*parser.paragraph=&{}) [%!s(*main.line=&{Hello Blog H})]} Walk out. |
Out root |
Walk out.
|
Program exited.
|
Next example: Fsm.