-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
Empty file.
4 changes: 4 additions & 0 deletions
4
...ry/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/group.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
group | ||
|
||
^ 'Grease Portability' |
7 changes: 7 additions & 0 deletions
7
...ease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/initialize.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self matchesAny: #( | ||
'`@receiver canPerform: `@selector' | ||
'`@receiver canUnderstand: `@selector' ) |
4 changes: 4 additions & 0 deletions
4
...ory/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/name.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
name | ||
|
||
^ 'Sends #canPerform: or #canUnderstand:' |
4 changes: 4 additions & 0 deletions
4
...rease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/instance/rationale.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
rationale | ||
|
||
^ '#canPerform: or #canUnderstand: are not portable.' |
11 changes: 11 additions & 0 deletions
11
...tory/Grease-Pharo110-Slime.package/GRUsesCanPerformOrUnderstandRule.class/properties.json
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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "GRReSlimeParseTreeLintRule", | ||
"category" : "Grease-Pharo110-Slime", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "GRUsesCanPerformOrUnderstandRule", | ||
"type" : "normal" | ||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
...ease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/afterCheck.mappings..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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
hooks | ||
afterCheck: aNode mappings: mappingDict | ||
|
||
^ aNode methodNode selector = #hash |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/group.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
group | ||
|
||
^ 'Grease Portability' |
5 changes: 5 additions & 0 deletions
5
repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/initialize.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
initialization | ||
initialize | ||
|
||
super initialize. | ||
self matches: '`@receiver class hash' |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/name.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
name | ||
|
||
^ 'Uses its class for hash' |
4 changes: 4 additions & 0 deletions
4
repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/instance/rationale.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
rationale | ||
|
||
^ 'The hash of an object should not depend on the hash of its class as some Smalltalk have non-constant class hashes.' |
11 changes: 11 additions & 0 deletions
11
repository/Grease-Pharo110-Slime.package/GRUsesClassForHashRule.class/properties.json
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,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "GRReSlimeParseTreeLintRule", | ||
"category" : "Grease-Pharo110-Slime", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "GRUsesClassForHashRule", | ||
"type" : "normal" | ||
} |
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