-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding InputFileFinder (without tests yes Yasser you will do them).
Refactor the API fo ReferenceChecker (would be good to have some tests to validate the new layering).
- Loading branch information
Showing
6 changed files
with
63 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Class { | ||
#name : 'MicInputFileFinder', | ||
#superclass : 'MicrodownVisitor', | ||
#instVars : [ | ||
'allFiles' | ||
], | ||
#category : 'Microdown-BookTester', | ||
#package : 'Microdown-BookTester' | ||
} | ||
|
||
{ #category : 'accessing' } | ||
MicInputFileFinder >> allFiles [ | ||
^ allFiles | ||
] | ||
|
||
{ #category : 'initialization' } | ||
MicInputFileFinder >> initialize [ | ||
|
||
super initialize. | ||
allFiles := OrderedCollection new. | ||
] | ||
|
||
{ #category : 'initialization' } | ||
MicInputFileFinder >> visitInputFile: anInputFile [ | ||
|
||
allFiles add: anInputFile | ||
] |
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
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