July 2019
Intermediate to advanced
416 pages
10h 6m
English
Now that we know what the visitor pattern is, let's take a look at how we are going to apply it to our code:
interface IVisitor { Visit(token : ParseElement, markdownDocument : IMarkdownDocument) : void;}interface IVisitable { Accept(visitor : IVisitor, token : ParseElement, markdownDocument : IMarkdownDocument) : void;}
Read now
Unlock full access