6980c3f54770c87b1d51326a11bd35a991556ff4
Files Diff
- Added: 13
- Removed: 10
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type reader : Reader to reader : ICharacterReader in method public CharacterReader_SubReader(reader ICharacterReader) in class melnorme.lang.tooling.parser.lexer.CharacterReader_SubReader | From | To | |
Move Method | 3 | ||
Move Method public isHexDigit(ch int) : boolean from class melnorme.lang.tooling.parser.lexer.CommonLexingRule to public isHexDigit(ch int) : boolean from class melnorme.lang.tooling.parser.lexer.CharacterLexingRule | From | To | |
Move Method public getSource() : String from class melnorme.lang.tooling.parser.lexer.StringCharacterReader to public getSource() : String from class melnorme.lang.utils.parse.StringParseSource | From | To | |
Move Method public getOffset() : int from class melnorme.lang.utils.parse.StringParseSource to public getOffset() : int from class melnorme.lang.ide.core.text.BufferedRuleBasedScannerExt | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute protected NO_ESCAPE_CHAR : char from class melnorme.lang.ide.core.text.RuleBasedPartitionScannerExt to protected NO_ESCAPE_CHAR : char from class melnorme.lang.ide.core.text.LangPartitionScanner | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class melnorme.lang.utils.parse.ReaderParseSource moved and renamed to melnorme.lang.tooling.parser.lexer.CharacterReader_SubReader | From | To | |
Move And Rename Class melnorme.lang.utils.parse.ParseSource_Test.ReaderParseSource_Test moved and renamed to melnorme.lang.ide.core.text.CharacterScanner_ReaderHelper_Test.ReaderHelper_ParseSource_Test | From | To | |
Move Class | 3 | ||
Move Class melnorme.lang.ide.ui.text.coloring.AbstractLangScanner.LangWhitespaceDetector moved to melnorme.lang.ide.ui.text.AbstractLangScanner.LangWhitespaceDetector | From | To | |
Move Class melnorme.lang.ide.core.text.LexingRulePredicateRule moved to melnorme.lang.ide.core.text.LangPartitionScanner.LexingRulePredicateRule | From | To | |
Move Class melnorme.lang.ide.ui.text.coloring.AbstractLangScanner.JavaWordDetector moved to melnorme.lang.ide.ui.text.AbstractLangScanner.JavaWordDetector | From | To | |
Extract Variable | 1 | ||
Extract Variable charScanner : BufferedRuleBasedScannerExt in method protected createParseSource(source String) : ICharSource<?> from class melnorme.lang.ide.core.text.CharacterScanner_ReaderHelper_Test.ReaderHelper_ParseSource_Test | From | To | |
Change Variable Type | 1 | ||
Change Variable Type reader : StringCharacterReader to reader : StringParseSource in method protected testRule(rule CharacterLexingRule, source String, expectedMatchLength int) : void in class melnorme.lang.tooling.parser.lexer.CharacterLexingRule_Test | From | To | |
Rename Method | 3 | ||
Rename Method public evaluate(reader ICharacterReader) : boolean renamed to public doEvaluate(reader ICharacterReader) : boolean in class melnorme.lang.tooling.parser.lexer.ILexingRule | From | To | |
Rename Method protected addRules(rules ArrayList2<IPredicateRule>) : void renamed to protected initPredicateRules(rules ArrayList2<IPredicateRule>) : void in class com.googlecode.goclipse.core.text.GoPartitionScanner | From | To | |
Rename Method public evaluate(reader ICharacterReader) : boolean renamed to public doEvaluate(reader ICharacterReader) : boolean in class melnorme.lang.tooling.parser.lexer.CharacterLexingRule | From | To | |
Pull Up Method | 9 | ||
Pull Up Method public hasCharAhead() : boolean from class melnorme.lang.utils.parse.ICharSource to public hasCharAhead() : boolean from class melnorme.lang.utils.parse.IBasicCharSource | From | To | |
Pull Up Method public stringUntil(string String) : String from class melnorme.lang.utils.parse.ParseSource to public stringUntil(string String) : String from class melnorme.lang.utils.parse.ICharSource | From | To | |
Pull Up Method public consumeUntil(endString String, consumeEndString boolean) : String from class melnorme.lang.utils.parse.ParseSource to public consumeUntil(endString String, consumeEndString boolean) : String from class melnorme.lang.utils.parse.ICharSource | From | To | |
Pull Up Method public getOffset() : int from class melnorme.lang.utils.parse.StringParseSource to public getReadOffset() : int from class melnorme.lang.utils.parse.OffsetBasedCharacterReader | From | To | |
Pull Up Method public consumeAhead(string String) : void from class melnorme.lang.utils.parse.ParseSource to public consumeAhead(string String) : void from class melnorme.lang.utils.parse.ICharSource | From | To | |
Pull Up Method public lookaheadIsEOF() : boolean from class melnorme.lang.utils.parse.ParseSource to public lookaheadIsEOF() : boolean from class melnorme.lang.utils.parse.ICharSource | From | To | |
Pull Up Method public consumeUntil(string String) : String from class melnorme.lang.utils.parse.ParseSource to public consumeUntil(string String) : String from class melnorme.lang.utils.parse.ICharSource | From | To | |
Pull Up Method public consumeNonEOF() : char from class melnorme.lang.utils.parse.ICharSource to public nextChar() : char from class melnorme.lang.utils.parse.IBasicCharSource | From | To | |
Pull Up Method public lookaheadChar() : char from class melnorme.lang.utils.parse.ICharSource to public lookaheadChar() : char from class melnorme.lang.utils.parse.IBasicCharSource | From | To | |
Push Down Method | 1 | ||
Push Down Method protected addStandardRules(rules ArrayList2<IPredicateRule>, lineCommentId String, blockCommentId String, docLineCommentId String, docBlockCommentId String, stringId String) : void from class melnorme.lang.ide.core.text.RuleBasedPartitionScannerExt to protected addStandardRules(rules ArrayList2<IPredicateRule>, lineCommentId String, blockCommentId String, docLineCommentId String, docBlockCommentId String, stringId String) : void from class melnorme.lang.ide.core.text.LangPartitionScanner | From | To | |
Change Return Type | 3 | ||
Change Return Type ParseSource<?> to ICharSource<?> in method protected createParseSource(source String) : ICharSource<?> in class melnorme.lang.ide.core.text.CharacterScanner_ReaderHelper_Test.ReaderHelper_ParseSource_Test | From | To | |
Change Return Type ParseSource<?> to ICharSource<?> in method protected abstract createParseSource(source String) : ICharSource<?> in class melnorme.lang.utils.parse.ParseSource_Test | From | To | |
Change Return Type ParseSource<?> to ICharSource<?> in method protected createParseSource(source String) : ICharSource<?> in class melnorme.lang.utils.parse.ParseSource_Test.StringParseSource_Test | From | To | |
Extract Superclass | 4 | ||
Extract Superclass melnorme.lang.utils.parse.OffsetBasedCharacterReader from classes [melnorme.lang.tooling.parser.lexer.CharacterReader_SubReader, melnorme.lang.utils.parse.StringParseSource] | From | To | |
Extract Superclass melnorme.lang.ide.core.text.LangPartitionScanner from classes [com.googlecode.goclipse.core.text.GoPartitionScanner] | From | To | |
Extract Superclass melnorme.lang.tooling.parser.lexer.LexingUtils from classes [melnorme.lang.tooling.parser.lexer.CharacterLexingRule] | From | To | |
Extract Superclass melnorme.lang.ide.core.text.BufferedRuleBasedScannerExt from classes [melnorme.lang.ide.core.text.RuleBasedPartitionScannerExt] | From | To | |
Extract Interface | 2 | ||
Extract Interface melnorme.lang.utils.parse.IBasicCharSource from classes [melnorme.lang.utils.parse.ICharSource] | From | To | |
Extract Interface melnorme.lang.utils.parse.ICharacterReader from classes [melnorme.lang.tooling.parser.lexer.CharacterReader_SubReader, melnorme.lang.utils.parse.StringParseSource] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type parseSource : ParseSource<?> to parseSource : ICharSource<?> in class melnorme.lang.utils.parse.ParseSource_Test | From | To | |
Change Attribute Type reader : Reader to reader : ICharacterReader in class melnorme.lang.tooling.parser.lexer.CharacterReader_SubReader | From | To | |
Rename Parameter | 1 | ||
Rename Parameter n : int to offset : int in method public lookahead(offset int) : int in class melnorme.lang.tooling.parser.lexer.CharacterReader_SubReader | From | To |