-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from OpenSmock/better_materialization
Better materialization
- Loading branch information
Showing
6 changed files
with
51 additions
and
11 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,15 @@ | ||
Extension { #name : #BlSvgPath } | ||
|
||
{ #category : #'*Bloc-Serialization-Stash' } | ||
BlSvgPath >> stashAccessors [ | ||
|
||
<stashAccessors> | ||
| accessors | | ||
accessors := OrderedCollection new. | ||
fillRule = EvenOdd ifTrue: [ | ||
accessors add: (#useEvenOddFillRule -> self) onlySetOnStash ]. | ||
accessors add: | ||
([ :e | 'pathString: (<1p>)' expandMacrosWith: pathString ] -> self) | ||
onlySetOnStash. | ||
^ accessors | ||
] |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Class { | ||
#name : #BlocMaterializationError, | ||
#superclass : #BlocSerializerError, | ||
#category : #'Bloc-Serialization-Exception' | ||
#category : #'Bloc-Serialization-Core' | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Class { | ||
#name : #BlocSerializationError, | ||
#superclass : #BlocSerializerError, | ||
#category : #'Bloc-Serialization-Exception' | ||
#category : #'Bloc-Serialization-Core' | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Class { | ||
#name : #BlocSerializerError, | ||
#superclass : #Error, | ||
#category : #'Bloc-Serialization-Exception' | ||
#category : #'Bloc-Serialization-Core' | ||
} |