MCStReader.st
changeset 796 730e50b519a0
parent 684 cb9dc3c18a9e
child 880 c3bd562c4050
--- a/MCStReader.st	Wed May 15 14:03:46 2013 +0200
+++ b/MCStReader.st	Wed May 15 14:03:47 2013 +0200
@@ -7,6 +7,25 @@
 	category:'SCM-Monticello-Chunk Format'
 !
 
+!MCStReader class methodsFor:'documentation'!
+
+documentation
+"
+    I read Category/Classes/Methodes/.... definitions from Monticello source.st file format.
+
+    See also MCStWriter.
+
+    Example:
+
+    |source|
+    source := String streamContents: [:aStream| |writer|
+        writer := MCStWriter on: aStream.
+        writer writeDefinitions: {True asClassDefinition. False asClassDefinition}.
+    ].
+
+    (MCStReader on: source readStream) definitions explore.
+"
+! !
 
 !MCStReader class methodsFor:'as yet unclassified'!
 
@@ -229,13 +248,14 @@
 !MCStReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCStReader.st,v 1.6 2012-09-11 21:29:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCStReader.st,v 1.7 2013-05-15 12:03:47 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCStReader.st,v 1.6 2012-09-11 21:29:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCStReader.st,v 1.7 2013-05-15 12:03:47 cg Exp $'
 !
 
 version_SVN
-    ^ '§Id: MCStReader.st 17 2010-10-13 12:07:52Z vranyj1 §'
+    ^ '$Id: MCStReader.st,v 1.7 2013-05-15 12:03:47 cg Exp $'
 ! !
+