Skip to content

Commit

Permalink
Refactor visitor pattern classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenphuc22 committed Mar 26, 2024
1 parent 226ecda commit e45c3b9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
41 changes: 19 additions & 22 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Writerside/topics/Visitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ classDiagram
<<interface>>
+accept(Visitor)
}
class Text : DocumentElement {
class Text {
+accept(Visitor)
}
class Table : DocumentElement {
class Table {
+accept(Visitor)
}
class Image : DocumentElement {
class Image {
+accept(Visitor)
}
class Visitor {
Expand Down

0 comments on commit e45c3b9

Please sign in to comment.