--- a/ProgrammingLanguage.st Mon Oct 05 21:43:05 2009 +0200
+++ b/ProgrammingLanguage.st Mon Oct 05 21:43:07 2009 +0200
@@ -293,6 +293,18 @@
!ProgrammingLanguage methodsFor:'testing'!
+isRuby
+ "true iff this is the ruby language"
+
+ ^ false
+!
+
+isSTXJavaScript
+ "true iff this is the ST/X-javascript language"
+
+ ^ false
+!
+
isSmalltalk
"true iff this is the smalltalk language"
@@ -319,6 +331,12 @@
!ProgrammingLanguage methodsFor:'utilities - source code'!
+methodTemplate
+ "return a method definition template string (or nil)"
+
+ ^ nil
+!
+
writeComment:aStringOrStringCollection on:aStream
"Utility method - writes a comment to a stream,
using proper syntax"
@@ -333,11 +351,11 @@
!ProgrammingLanguage class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.7 2009-10-02 14:22:00 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.8 2009-10-05 19:43:07 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.7 2009-10-02 14:22:00 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ProgrammingLanguage.st,v 1.8 2009-10-05 19:43:07 cg Exp $'
!
version_SVN