-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
404c14d
commit ab0fa02
Showing
12 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`var := `var',#rhs:'',#isForMethod:false,#isDemoRule:false,#name:'RTRemoveAssigmentWithoutEffect'}ect'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`@receiver assert: `@arg equals: true',#rhs:'`@receiver assert: `@arg',#isForMethod:false,#isDemoRule:false,#name:'RTRemoveEqualsInAssert'}ert'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`@receiver ifNil: [ nil ] ifNotNil: `@arg',#rhs:'`@receiver ifNotNil: `@arg',#isForMethod:false,#isDemoRule:false,#name:'RTRemoveIfNil'}Nil'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`@receiver assert: `@arg isEmpty',#rhs:'`@receiver assertEmpty: `@arg',#isForMethod:false,#isDemoRule:false,#name:'RTReplaceAssertToAssertEmpty'}pty'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'Character tab asString',#rhs:'String tab',#isForMethod:false,#isDemoRule:false,#name:'RTReplaceCharacterTabWithStringTab'}Tab'} |
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 @@ | ||
RTRuleHolder{#inputCode:'(RBBrowserEnvironment default packages collect: #classes) flattened',#outputCode:'RBBrowserEnvironment default packages flatCollect: #classes',#lhs:'(`@receiver collect: `@arg) flattened',#rhs:'`@receiver flatCollect: `@arg',#isForMethod:false,#isDemoRule:false,#name:'RTReplaceCollectWithFlatCollect'}ect'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`@receiver deny: `@arg isEmpty',#rhs:'`@receiver denyEmpty: `@arg',#isForMethod:false,#isDemoRule:false,#name:'RTReplaceDenyToDenyEmpty'}pty'} |
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 @@ | ||
RTRuleHolder{#inputCode:'RBPackageEnvironment new packages select: [ :aPackage | \r\t(aPackage includesSubstring: \'Collection\') not ]',#outputCode:'RBPackageEnvironment new packages reject: [ :aPackage | \r\taPackage includesSubstring: \'Collection\' ]',#lhs:'`@receiver select: [ :`each | \r\t| `@temps |\r\t``@.Statements.\r\t``@object not ]',#rhs:'`@receiver reject: [ :`each | \r\t| `@temps |\r\t``@.Statements.\r\t``@object ]',#isForMethod:false,#isDemoRule:false,#name:'RTReplaceSelectToReject'}ect'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`@receiver ifEmpty: [ true ] ifNotEmpty: [ false ]',#rhs:'`@receiver isEmpty',#isForMethod:false,#isDemoRule:false,#name:'RTSimplifyConditionalToIsEmpty'}pty'} |
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 @@ | ||
RTRuleHolder{#inputCode:'',#outputCode:'',#lhs:'`@receiver isEmpty ifTrue: `@arg ifFalse: `@arg2',#rhs:'`@receiver ifEmpty: `@arg ifNotEmpty: `@arg2',#isForMethod:false,#isDemoRule:false,#name:'RTSimplifyToIfEmptyIfNotEmpty'}pty'} |
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 @@ | ||
RTRuleHolder{#inputCode:'aCollection isNil\r\tifTrue: [ aCollection := OrderedCollection new ]\r\tifFalse: [ aCollection select: #isDigit ]',#outputCode:'aCollection\r\tifNil: [ aCollection := OrderedCollection new ]\r\tifNotNil: [ aCollection select: #isDigit ]',#lhs:'`@receiver isNil\r\tifTrue: `@arg\r\tifFalse: `@arg2',#rhs:'`@receiver ifNil: `@arg ifNotNil: `@arg2',#isForMethod:false,#isDemoRule:false,#name:'RTSimplifyToIfNilIfNotNil'}Nil'} |