forked from se-edu/addressbook-level3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DG: Tweak the 'Logic component' section
Main changes: * Break the class diagram into two by extracting out the classes related to parsing. * Tweak explanations to match.
- Loading branch information
damithc
committed
Jul 31, 2021
1 parent
ff572e9
commit b8eccd5
Showing
5 changed files
with
59 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@startuml | ||
!include style.puml | ||
skinparam arrowThickness 1.1 | ||
skinparam arrowColor LOGIC_COLOR_T4 | ||
skinparam classBackgroundColor LOGIC_COLOR | ||
|
||
Class "{abstract}\nCommand" as Command | ||
Class XYZCommand | ||
|
||
package "Parser classes"{ | ||
Interface Parser <<Interface>> | ||
Class AddressBookParser | ||
Class XYZCommandParser | ||
Class CliSyntax | ||
Class ParserUtil | ||
Class ArgumentMultimap | ||
Class ArgumentTokenizer | ||
Class Prefix | ||
} | ||
|
||
Class HiddenOutside #FFFFFF | ||
HiddenOutside ..> AddressBookParser | ||
|
||
AddressBookParser .down.> XYZCommandParser: creates > | ||
|
||
XYZCommandParser ..> XYZCommand : creates > | ||
AddressBookParser ..> Command : returns > | ||
XYZCommandParser .up.|> Parser | ||
XYZCommandParser ..> ArgumentMultimap | ||
XYZCommandParser ..> ArgumentTokenizer | ||
ArgumentTokenizer .left.> ArgumentMultimap | ||
XYZCommandParser ..> CliSyntax | ||
CliSyntax ..> Prefix | ||
XYZCommandParser ..> ParserUtil | ||
ParserUtil .down.> Prefix | ||
ArgumentTokenizer .down.> Prefix | ||
XYZCommand -up-|> Command | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.