For the NewSyntaxConverter and VisualGST we will need to provide this method for the tools to work.
2013-08-18 Holger Hans Peter Freyther <hol...@moiji-mobile.com> * STLoaderObjs.st: Add LoadedMethod>>#methodRecompilationSourceString. --- packages/stinst/parser/ChangeLog | 4 ++++ packages/stinst/parser/STLoaderObjs.st | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/packages/stinst/parser/ChangeLog b/packages/stinst/parser/ChangeLog index 9c73d6f..d1a5106 100644 --- a/packages/stinst/parser/ChangeLog +++ b/packages/stinst/parser/ChangeLog @@ -1,3 +1,7 @@ +2013-08-18 Holger Hans Peter Freyther <hol...@moiji-mobile.com> + + * STLoaderObjs.st: Add LoadedMethod>>#methodRecompilationSourceString. + 2013-08-10 Gwenael Casaccio <gwenael.casac...@gmail.com> * RBParser.st: Fix RBScanner>>#scanNumberValue. diff --git a/packages/stinst/parser/STLoaderObjs.st b/packages/stinst/parser/STLoaderObjs.st index 9bbb0ea..1f54155 100644 --- a/packages/stinst/parser/STLoaderObjs.st +++ b/packages/stinst/parser/STLoaderObjs.st @@ -1280,6 +1280,12 @@ methodSourceCode ^node source asSourceCode ! +methodRecompilationSourceString + ^self isOldSyntax + ifTrue: [ self methodFormattedSourceString ] + ifFalse: [ self methodSourceString trimSeparators ]. +! + selector ^node selector asSymbol ! -- 1.8.3.2 _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org https://lists.gnu.org/mailman/listinfo/help-smalltalk