Checkin from browser
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 04 May 2012 23:58:01 +0200
changeset 8 9bb6c46efe0f
parent 7 019b26bd21a8
child 9 730f53400c73
Checkin from browser
stx_goodies_petitparser.st
--- a/stx_goodies_petitparser.st	Fri Mar 16 10:02:16 2012 +0100
+++ b/stx_goodies_petitparser.st	Fri May 04 23:58:01 2012 +0200
@@ -7,6 +7,11 @@
 	category:'* Projects & Packages *'
 !
 
+!stx_goodies_petitparser class methodsFor:'documentation'!
+
+extensionsVersion_SVN
+    ^ '$Id: stx_goodies_petitparser.st,v 1.2 2012-05-04 21:58:01 vrany Exp $'
+! !
 
 !stx_goodies_petitparser class methodsFor:'accessing'!
 
@@ -37,9 +42,9 @@
      exclude individual packages in the #excludedFromPrerequisites method."
 
     ^ #(
-	#'stx:goodies/sunit'    "TestCase - superclass of PPTokenTest "
-	#'stx:libbasic'    "Object - superclass of PPFailure "
-	#'stx:libbasic2'    "Text"
+        #'stx:goodies/sunit'    "TestCase - superclass of PPTokenTest "
+        #'stx:libbasic'    "Object - superclass of PPFailure "
+        #'stx:libbasic2'    "Text"
     )
 ! !
 
@@ -61,57 +66,57 @@
      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
 
     ^ #(
-	"<className> or (<className> attributes...) in load order"
-	(PPAbstractParseTest autoload)
-	PPCharSetPredicate
-	PPFailure
-	PPMemento
-	PPParser
-	(PPParserResource autoload)
-	PPStream
-	PPToken
-	#'stx_goodies_petitparser'
-	(PPComposedTest autoload)
-	(PPCompositeParserTest autoload)
-	PPDelegateParser
-	PPEpsilonParser
-	(PPExtensionTest autoload)
-	PPFailingParser
-	PPListParser
-	PPLiteralParser
-	(PPMappingTest autoload)
-	(PPObjectTest autoload)
-	(PPParserTest autoload)
-	PPPluggableParser
-	PPPredicateParser
-	(PPPredicateTest autoload)
-	(PPScriptingTest autoload)
-	(PPTokenTest autoload)
-	PPUnresolvedParser
-	PPActionParser
-	PPAndParser
-	(PPArithmeticParserTest autoload)
-	PPChoiceParser
-	PPCompositeParser
-	PPEndOfInputParser
-	PPExpressionParser
-	PPFlattenParser
-	(PPLambdaParserTest autoload)
-	PPLiteralObjectParser
-	PPLiteralSequenceParser
-	PPMemoizedParser
-	PPNotParser
-	PPOptionalParser
-	PPPredicateObjectParser
-	PPPredicateSequenceParser
-	PPRepeatingParser
-	PPSequenceParser
-	PPTrimmingParser
-	PPArithmeticParser
-	(PPExpressionParserTest autoload)
-	PPLambdaParser
-	PPTokenParser
-	PPWrappingParser
+        "<className> or (<className> attributes...) in load order"
+        (PPAbstractParseTest autoload)
+        PPCharSetPredicate
+        PPFailure
+        PPMemento
+        PPParser
+        (PPParserResource autoload)
+        PPStream
+        PPToken
+        #'squeak_petitparser'
+        (PPComposedTest autoload)
+        (PPCompositeParserTest autoload)
+        PPDelegateParser
+        PPEpsilonParser
+        (PPExtensionTest autoload)
+        PPFailingParser
+        PPListParser
+        PPLiteralParser
+        (PPMappingTest autoload)
+        (PPObjectTest autoload)
+        (PPParserTest autoload)
+        PPPluggableParser
+        PPPredicateParser
+        (PPPredicateTest autoload)
+        (PPScriptingTest autoload)
+        (PPTokenTest autoload)
+        PPUnresolvedParser
+        PPActionParser
+        PPAndParser
+        (PPArithmeticParserTest autoload)
+        PPChoiceParser
+        PPCompositeParser
+        PPEndOfInputParser
+        PPExpressionParser
+        PPFlattenParser
+        (PPLambdaParserTest autoload)
+        PPLiteralObjectParser
+        PPLiteralSequenceParser
+        PPMemoizedParser
+        PPNotParser
+        PPOptionalParser
+        PPPredicateObjectParser
+        PPPredicateSequenceParser
+        PPRepeatingParser
+        PPSequenceParser
+        PPTrimmingParser
+        PPArithmeticParser
+        (PPExpressionParserTest autoload)
+        PPLambdaParser
+        PPTokenParser
+        PPWrappingParser
     )
 !
 
@@ -120,24 +125,24 @@
      Entries are 2-element array literals, consisting of class-name and selector."
 
     ^ #(
-	Block asParser
-	BlockContext asParser
-	Character #'-'
-	Character asParser
-	Character ppMinus:
-	Object asParser
-	Object isPetitFailure
-	Object isPetitParser
-	PositionableStream asPetitStream
-	SequenceableCollection asParser
-	SequenceableCollection asPetitStream
-	Set asParser
-	Stream asPetitStream
-	String asParser
-	Symbol asParser
-	Symbol value:
-	Text asPetitStream
-	UndefinedObject asParser
+        Block asParser
+        BlockContext asParser
+        Character #'-'
+        Character asParser
+        Character ppMinus:
+        Object asParser
+        Object isPetitFailure
+        Object isPetitParser
+        PositionableStream asPetitStream
+        SequenceableCollection asParser
+        SequenceableCollection asPetitStream
+        Set asParser
+        Stream asPetitStream
+        String asParser
+        Symbol asParser
+        Symbol value:
+        Text asPetitStream
+        UndefinedObject asParser
     )
 ! !
 
@@ -174,6 +179,13 @@
     "Modified: / 17-12-2010 / 19:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+productInstallDirBaseName
+    "Returns a default installDir which will appear in <app>.nsi.
+     This is usually not the one you want to keep"
+
+    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
+!
+
 productName
     "Return a product name which will appear in <lib>.rc"
 
@@ -184,23 +196,31 @@
 
 !stx_goodies_petitparser class methodsFor:'description - svn'!
 
+svnRepositoryUrlString
+    "Return a SVN repository URL of myself.
+     (Generated since 2011-04-08)
+    "        
+
+    ^ '$URL: https://vranyj1@swing.fit.cvut.cz/svn/squeak/petitparser/trunk/squeak_petitparser.st $'
+!
+
 svnRevisionNr
     "Return a SVN revision number of myself.
      This number is updated after a commit"
 
-    ^ "$SVN-Revision:"'5M'"$"
+    ^ "$SVN-Revision:"'11              '"$"
 ! !
 
 !stx_goodies_petitparser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.1 2012-01-13 11:24:08 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.2 2012-05-04 21:58:01 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.1 2012-01-13 11:24:08 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.2 2012-05-04 21:58:01 vrany Exp $'
 !
 
 version_SVN
-    ^ '§Id: stx_goodies_petitparser.st,v 1.1 2011/08/18 18:56:17 cg Exp §'
+    ^ '§Id: squeak_petitparser.st 7 2012-03-12 19:06:12Z vranyj1 §'
 ! !