class: Method
authorClaus Gittinger <cg@exept.de>
Thu, 28 May 2015 18:32:00 +0200
changeset 18417 ae2934928225
parent 18416 f246b0e42278
child 18418 a1b089286b67
child 18419 0b0564c6352d
class: Method comment/format in: #documentation
Method.st
--- a/Method.st	Thu May 28 17:08:02 2015 +0200
+++ b/Method.st	Thu May 28 18:32:00 2015 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
               All Rights Reserved
@@ -69,15 +67,16 @@
     Compiled methods have a non-nil code field, while interpreted methods have
     a nil code field and non-nil byteCode field.
     If there are both non-nil code and bytecode fields, the VM will execute
-    the machine-code of a method. If both are nil when executed, a noByteCode
-    message is sent by the VM to the method where a signal is raised.
-
-    The methods sourcecode is represented by source and sourcePosition:
+    the machine-code of a method. If both are nil when executed, a #noByteCode
+    message is sent (by the VM) to the method, where a signal is raised.
+    (or, a user defined interpreter can be invoked on the smalltalk level)
+
+    The method's sourcecode is represented by source and sourcePosition:
     - if sourcePosition is a Number, the source-field is the fileName and
       sourcePosition is the character offset of the source-chunk in this source file.
-    - If sourcePosition is nil, the source is the string in the source field.
+    - If sourcePosition is nil, the source fields holds the source string.
     (an old version used ExternalString instances here, but that lead to
-     10000 additional little objects ...)
+     10000's of additional little objects ...)
 
     The flags field defines things like the number of method-locals,
     method arguments and stack requirements (for interpreted methods).
@@ -3910,11 +3909,11 @@
 !Method class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.461 2015-05-27 14:28:15 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.462 2015-05-28 16:32:00 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.461 2015-05-27 14:28:15 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.462 2015-05-28 16:32:00 cg Exp $'
 !
 
 version_SVN