-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The result of ReMethodSourceCleaner clean (spaces in source code)
- Loading branch information
Sven Van Caekenberghe
committed
Feb 17, 2023
1 parent
89c7e59
commit 747f140
Showing
245 changed files
with
511 additions
and
511 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
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Boolean.extension/instance/stonContainSubObjects.st
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,3 +1,3 @@ | ||
*STON-Core | ||
stonContainSubObjects | ||
stonContainSubObjects | ||
^ false |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/ByteArray.extension/class/fromSton..st
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 @@ | ||
*STON-Core | ||
fromSton: stonReader | ||
"Use a hex representation" | ||
|
||
^ self readHexFrom: stonReader parseListSingleton |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/ByteArray.extension/instance/stonContainSubObjects.st
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,3 +1,3 @@ | ||
*STON-Core | ||
stonContainSubObjects | ||
stonContainSubObjects | ||
^ false |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/ByteArray.extension/instance/stonOn..st
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 @@ | ||
*STON-Core | ||
stonOn: stonWriter | ||
"Use a hex representation" | ||
|
||
stonWriter writeObject: self listSingleton: self hex |
4 changes: 2 additions & 2 deletions
4
repository/STON-Core.package/Class.extension/instance/stonOn..st
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 @@ | ||
*STON-Core | ||
stonOn: stonWriter | ||
stonWriter | ||
writeObject: self | ||
stonWriter | ||
writeObject: self | ||
listSingleton: self name asSymbol |
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
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Date.extension/instance/stonContainSubObjects.st
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,3 +1,3 @@ | ||
*STON-Core | ||
stonContainSubObjects | ||
stonContainSubObjects | ||
^ false |
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
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/DateAndTime.extension/instance/stonContainSubObjects.st
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,3 +1,3 @@ | ||
*STON-Core | ||
stonContainSubObjects | ||
stonContainSubObjects | ||
^ false |
4 changes: 2 additions & 2 deletions
4
repository/STON-Core.package/DateAndTime.extension/instance/stonOn..st
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,7 +1,7 @@ | ||
*STON-Core | ||
stonOn: stonWriter | ||
"Use an ISO representation with all details YYYY-MM-DDTHH:MM:SS.N+TZ (with optional nanoseconds and timezone offset)" | ||
stonWriter writeObject: self listSingleton: | ||
|
||
stonWriter writeObject: self listSingleton: | ||
(String streamContents: [ :stream | | ||
self printOn: stream withLeadingSpace: false ]) |
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
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Interval.extension/class/fromSton..st
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,7 +1,7 @@ | ||
*STON-Core | ||
fromSton: stonReader | ||
"Overwritten to get back the standard object behavior" | ||
|
||
^ self new | ||
fromSton: stonReader; | ||
yourself |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Interval.extension/instance/fromSton..st
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 @@ | ||
*STON-Core | ||
fromSton: stonReader | ||
"Overwritten to get back the standard object behavior" | ||
|
||
stonReader parseNamedInstVarsFor: self |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Metaclass.extension/instance/stonOn..st
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 @@ | ||
*STON-Core | ||
stonOn: stonWriter | ||
stonWriter | ||
writeObject: self | ||
writeObject: self | ||
listSingleton: self instanceSide name asSymbol |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Number.extension/instance/stonContainSubObjects.st
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,3 +1,3 @@ | ||
*STON-Core | ||
stonContainSubObjects | ||
stonContainSubObjects | ||
^ false |
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
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/Object.extension/class/stonAllInstVarNames.st
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 @@ | ||
*STON-Core | ||
stonAllInstVarNames | ||
"Override to encode my instances using a custom set of instance variables or to define their order." | ||
|
||
^ self allInstVarNames |
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
4 changes: 2 additions & 2 deletions
4
repository/STON-Core.package/Object.extension/instance/stonShouldWriteNilInstVars.st
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,6 +1,6 @@ | ||
*STON-Core | ||
stonShouldWriteNilInstVars | ||
"Return true if my instance variables that are nil should be written out, | ||
"Return true if my instance variables that are nil should be written out, | ||
false otherwise. Overwrite when necessary. By default, return false." | ||
|
||
^ false |
2 changes: 1 addition & 1 deletion
2
repository/STON-Core.package/OrderedDictionary.extension/class/fromSton..st
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
16 changes: 8 additions & 8 deletions
16
repository/STON-Core.package/OrderedDictionary.extension/instance/stonOn..st
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,12 +1,12 @@ | ||
*STON-Core | ||
stonOn: stonWriter | ||
"I store my instances as maps. When in JSON mode, | ||
"I store my instances as maps. When in JSON mode, | ||
encode me directly, without a class tag, keeping the order." | ||
stonWriter jsonMode | ||
ifTrue: [ | ||
stonWriter encodeMap: self ] | ||
ifFalse: [ | ||
stonWriter | ||
writeObject: self | ||
|
||
stonWriter jsonMode | ||
ifTrue: [ | ||
stonWriter encodeMap: self ] | ||
ifFalse: [ | ||
stonWriter | ||
writeObject: self | ||
do: [ stonWriter encodeMap: self ] ] |
6 changes: 3 additions & 3 deletions
6
repository/STON-Core.package/Path.extension/instance/stonOn..st
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,6 +1,6 @@ | ||
*STON-Core | ||
stonOn: stonWriter | ||
stonWriter | ||
writeObject: self | ||
streamShortList: [ :listWriter | | ||
stonWriter | ||
writeObject: self | ||
streamShortList: [ :listWriter | | ||
self do: [ :each | listWriter add: each ] ] |
6 changes: 3 additions & 3 deletions
6
repository/STON-Core.package/STON.class/class/classNameKey.st
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,9 +1,9 @@ | ||
accessing | ||
classNameKey | ||
"Return the key that will be used to add a property with the class name | ||
"Return the key that will be used to add a property with the class name | ||
when an unknown class is read and the option STONReader>>#acceptUnknownClasses: is true, | ||
by default #className. Such unknown classes are returned as generic maps." | ||
|
||
"((STON reader acceptUnknownClasses: true; on: 'FooBarBaz { #foo : 100 }' readStream; next) at: STON classNameKey) >>> #FooBarBaz" | ||
|
||
^ #className |
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,7 +1,7 @@ | ||
convencience | ||
fromString: string | ||
"Parse and materialize the STON representation in string" | ||
|
||
"(STON fromString: 'Point[1,2]') >>> (1@2)" | ||
|
||
^ self fromStream: string readStream |
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
Oops, something went wrong.