# HG changeset patch # User Stefan Vogel # Date 1362786661 -3600 # Node ID 03907685ddff5a4b6977cf12566f5e1332c57426 # Parent 73d6e6a457c0e4e12771e1194152090b1a26f0c1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites diff -r 73d6e6a457c0 -r 03907685ddff stx_goodies_petitparser.st --- a/stx_goodies_petitparser.st Sat Feb 02 01:23:42 2013 +0100 +++ b/stx_goodies_petitparser.st Sat Mar 09 00:51:01 2013 +0100 @@ -10,7 +10,7 @@ !stx_goodies_petitparser class methodsFor:'documentation'! extensionsVersion_SVN - ^ '$Id: stx_goodies_petitparser.st,v 1.5 2012-12-01 12:49:51 cg Exp $' + ^ '$Id: stx_goodies_petitparser.st,v 1.6 2013-03-08 23:51:01 stefan Exp $' ! ! !stx_goodies_petitparser class methodsFor:'accessing'! @@ -33,18 +33,31 @@ ) ! -preRequisites - "list all required packages. +mandatoryPreRequisites + "list all required mandatory packages. + Packages are mandatory, if they contain superclasses of the package's classes + or classes which are extended by this package. This list can be maintained manually or (better) generated and - updated by scanning the superclass hierarchies and looking for - global variable accesses. (the browser has a menu function for that) - Howevery, often too much is found, and you may want to explicitely - exclude individual packages in the #excludedFromPrerequisites method." + updated by scanning the superclass hierarchies + (the browser has a menu function for that) + However, often too much is found, and you may want to explicitely + exclude individual packages in the #excludedFromPreRequisites method." ^ #( - #'stx:goodies/sunit' "TestCase - superclass of PPTokenTest " - #'stx:libbasic' "Object - superclass of PPFailure " - #'stx:libbasic2' "Text" + #'stx:libbasic' "PositionableStream - extended " + #'stx:libbasic2' "Text - extended " + ) +! + +referencedPreRequisites + "list all packages containing classes referenced by the packages's members. + This list can be maintained manually or (better) generated and + updated by looking for global variable accesses + (the browser has a menu function for that) + However, often too much is found, and you may want to explicitely + exclude individual packages in the #excludedFromPreRequisites method." + + ^ #( ) ! @@ -74,60 +87,58 @@ Attributes are: #autoload or # where os is one of win32, unix,..." ^ #( - " or ( 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 + " or ( 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 ) - - "Modified: / 04-05-2012 / 23:17:17 / Jan Vrany " ! extensionMethodNames @@ -135,24 +146,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 ) ! ! @@ -224,13 +235,14 @@ !stx_goodies_petitparser class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.5 2012-12-01 12:49:51 cg Exp $' + ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.6 2013-03-08 23:51:01 stefan Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.5 2012-12-01 12:49:51 cg Exp $' + ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.6 2013-03-08 23:51:01 stefan Exp $' ! version_SVN ^ '§Id: squeak_petitparser.st 7 2012-03-12 19:06:12Z vranyj1 §' ! ! +