Added ProgrammingLanguage>>compilerClassForInteractiveTools
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 05 Aug 2014 17:01:16 +0200
changeset 16817 2b450fc3f12e
parent 16816 5f6a55330ef5
child 16818 2f2ff0820cef
Added ProgrammingLanguage>>compilerClassForInteractiveTools
ProgrammingLanguage.st
--- a/ProgrammingLanguage.st	Mon Aug 04 15:45:04 2014 +0200
+++ b/ProgrammingLanguage.st	Tue Aug 05 17:01:16 2014 +0200
@@ -270,6 +270,16 @@
     "Created: / 21-08-2009 / 13:00:50 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
+compilerClassForInteractiveTools
+    "Answer a compiler class suitable for usage in interactive tools. 
+     Such class may better integrate into the IDE and register for undo/redo
+     and/or do more checks and so on. Defaults to #compilerClass"
+
+    ^ self compilerClass
+
+    "Created: / 05-08-2014 / 16:00:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 compilerWithBreakpointSupportClass
     "Answer a class suitable for compiling a source code with breakpoints
      in 'my' language. If there is non, return nil."
@@ -555,11 +565,11 @@
 !ProgrammingLanguage class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.31 2014-05-29 14:25:36 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.32 2014-08-05 15:01:16 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.31 2014-05-29 14:25:36 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.32 2014-08-05 15:01:16 vrany Exp $'
 !
 
 version_SVN