stx_goodies_petitparser.st
changeset 244 c9c5df552e30
parent 233 896c872b5da9
child 315 9142aa159c02
equal deleted inserted replaced
243:53ad57f67369 244:c9c5df552e30
    32     "list all required mandatory packages.
    32     "list all required mandatory packages.
    33      Packages are mandatory, if they contain superclasses of the package's classes
    33      Packages are mandatory, if they contain superclasses of the package's classes
    34      or classes which are extended by this package.
    34      or classes which are extended by this package.
    35      This list can be maintained manually or (better) generated and
    35      This list can be maintained manually or (better) generated and
    36      updated by scanning the superclass hierarchies
    36      updated by scanning the superclass hierarchies
    37      (the browser has a menu function for that)
    37      (the browser has a menu function for that)"
    38      However, often too much is found, and you may want to explicitely
    38 
    39      exclude individual packages in the #excludedFromPreRequisites method."
    39     ^ #(
    40 
    40         #'stx:goodies/sunit'    "TestAsserter - superclass of PPAbstractParseTest "
    41     ^ #(
    41         #'stx:libbasic'    "ArrayedCollection - extended "
    42 	#'stx:libbasic'    "PositionableStream - extended "
    42         #'stx:libbasic2'    "Text - extended "
    43 	#'stx:libbasic2'    "Text - extended "
       
    44     )
    43     )
    45 !
    44 !
    46 
    45 
    47 referencedPreRequisites
    46 referencedPreRequisites
    48     "list all packages containing classes referenced by the packages's members.
    47     "list all packages containing classes referenced by the packages's members.
    51      (the browser has a menu function for that)
    50      (the browser has a menu function for that)
    52      However, often too much is found, and you may want to explicitely
    51      However, often too much is found, and you may want to explicitely
    53      exclude individual packages in the #excludedFromPreRequisites method."
    52      exclude individual packages in the #excludedFromPreRequisites method."
    54 
    53 
    55     ^ #(
    54     ^ #(
       
    55         #'stx:goodies/petitparser/analyzer'    "PPListPattern - referenced by PPParser>>matchList:index:against:index:inContext:seen: "
    56     )
    56     )
    57 !
    57 !
    58 
    58 
    59 stcOptimizationOptions
    59 stcOptimizationOptions
    60     "do not inline the not operation here - it is overwritten"
    60     "do not inline the not operation here - it is overwritten"
    61 
    61 
    62     ^ '+optspace3 -inlinenot'
    62     ^ '+optspace3 -inlinenot'
    63 
    63 
    64     "Created: / 23-08-2006 / 01:27:22 / cg"
    64     "Created: / 23-08-2006 / 01:27:22 / cg"
       
    65 !
       
    66 
       
    67 subProjects
       
    68     "list packages which are known as subprojects.
       
    69      The generated makefile will enter those and make there as well.
       
    70      However: they are not forced to be loaded when a package is loaded;
       
    71      for those, redefine requiredPrerequisites"
       
    72 
       
    73     ^ #(
       
    74         #'stx:goodies/petitparser/analyzer'
       
    75         #'stx:goodies/petitparser/tests'
       
    76     )
    65 ! !
    77 ! !
    66 
    78 
    67 !stx_goodies_petitparser class methodsFor:'description - actions'!
    79 !stx_goodies_petitparser class methodsFor:'description - actions'!
    68 
    80 
    69 postLoadAction
    81 postLoadAction
    80      Each entry in the list may be: a single class-name (symbol),
    92      Each entry in the list may be: a single class-name (symbol),
    81      or an array-literal consisting of class name and attributes.
    93      or an array-literal consisting of class name and attributes.
    82      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
    94      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
    83 
    95 
    84     ^ #(
    96     ^ #(
    85 	"<className> or (<className> attributes...) in load order"
    97         "<className> or (<className> attributes...) in load order"
    86 	(PPAbstractParseTest autoload)
    98         (PPAbstractParseTest autoload)
    87 	PPCharSetPredicate
    99         (PPArithmeticParserTest autoload)
    88 	PPFailure
   100         PPCharSetPredicate
    89 	PPMemento
   101         (PPComposedTest autoload)
    90 	PPParser
   102         (PPExtensionTest autoload)
    91 	(PPParserResource autoload)
   103         PPFailure
    92 	PPStream
   104         (PPLambdaParserTest autoload)
    93 	PPToken
   105         PPMemento
    94 	#'stx_goodies_petitparser'
   106         (PPObjectTest autoload)
    95 	(PPComposedTest autoload)
   107         PPParser
    96 	(PPCompositeParserTest autoload)
   108         (PPParserResource autoload)
    97 	PPDelegateParser
   109         (PPParserTest autoload)
    98 	PPEpsilonParser
   110         (PPPredicateTest autoload)
    99 	(PPExtensionTest autoload)
   111         (PPScriptingTest autoload)
   100 	PPFailingParser
   112         PPStream
   101 	PPListParser
   113         PPToken
   102 	PPLiteralParser
   114         (PPTokenTest autoload)
   103 	(PPMappingTest autoload)
   115         #'stx_goodies_petitparser'
   104 	(PPObjectTest autoload)
   116         PPDelegateParser
   105 	(PPParserTest autoload)
   117         PPEpsilonParser
   106 	PPPluggableParser
   118         (PPExpressionParserTest autoload)
   107 	PPPredicateParser
   119         PPFailingParser
   108 	(PPPredicateTest autoload)
   120         PPListParser
   109 	(PPScriptingTest autoload)
   121         PPLiteralParser
   110 	(PPTokenTest autoload)
   122         (PPMappingTest autoload)
   111 	PPUnresolvedParser
   123         PPPluggableParser
   112 	PPActionParser
   124         PPPredicateParser
   113 	PPAndParser
   125         PPUnresolvedParser
   114 	(PPArithmeticParserTest autoload)
   126         PPActionParser
   115 	PPChoiceParser
   127         PPAndParser
   116 	PPCompositeParser
   128         PPChoiceParser
   117 	PPEndOfInputParser
   129         PPCompositeParser
   118 	PPExpressionParser
   130         PPEndOfInputParser
   119 	PPFlattenParser
   131         PPExpressionParser
   120 	(PPLambdaParserTest autoload)
   132         PPFlattenParser
   121 	PPLiteralObjectParser
   133         PPLiteralObjectParser
   122 	PPLiteralSequenceParser
   134         PPLiteralSequenceParser
   123 	PPMemoizedParser
   135         PPMemoizedParser
   124 	PPNotParser
   136         PPNotParser
   125 	PPOptionalParser
   137         PPOptionalParser
   126 	PPPredicateObjectParser
   138         PPPredicateObjectParser
   127 	PPPredicateSequenceParser
   139         PPPredicateSequenceParser
   128 	PPRepeatingParser
   140         PPRepeatingParser
   129 	PPSequenceParser
   141         PPSequenceParser
   130 	PPTrimmingParser
   142         PPTrimmingParser
   131 	PPArithmeticParser
   143         PPArithmeticParser
   132 	(PPExpressionParserTest autoload)
   144         PPLambdaParser
   133 	PPLambdaParser
   145         PPLimitedRepeatingParser
   134 	PPTokenParser
   146         PPPossessiveRepeatingParser
   135 	PPWrappingParser
   147         PPTokenParser
       
   148         PPWrappingParser
       
   149         PPGreedyRepeatingParser
       
   150         PPLazyRepeatingParser
   136     )
   151     )
   137 !
   152 !
   138 
   153 
   139 extensionMethodNames
   154 extensionMethodNames
   140     "lists the extension methods which are to be included in the project.
   155     "lists the extension methods which are to be included in the project.
   141      Entries are pairwise elements, consisting of class-name and selector."
   156      Entries are 2-element array literals, consisting of class-name and selector."
   142 
   157 
   143     ^ #(
   158     ^ #(
   144         Block asParser
   159         Block asParser
   145         BlockContext asParser
   160         BlockContext asParser
   146         Character asParser
   161         Character asParser
   162         Collection asChoiceParser
   177         Collection asChoiceParser
   163         Collection asSequenceParser
   178         Collection asSequenceParser
   164     )
   179     )
   165 ! !
   180 ! !
   166 
   181 
       
   182 !stx_goodies_petitparser class methodsFor:'description - monticello'!
       
   183 
       
   184 monticelloTimestamps
       
   185 
       
   186     ^#(
       
   187     )
       
   188 ! !
       
   189 
   167 !stx_goodies_petitparser class methodsFor:'description - project information'!
   190 !stx_goodies_petitparser class methodsFor:'description - project information'!
   168 
   191 
   169 applicationIconFileName
   192 applicationIconFileName
   170     "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
   193     "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
   171 
   194 
   230 ! !
   253 ! !
   231 
   254 
   232 !stx_goodies_petitparser class methodsFor:'documentation'!
   255 !stx_goodies_petitparser class methodsFor:'documentation'!
   233 
   256 
   234 version
   257 version
   235     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.13 2014-03-04 15:57:45 cg Exp $'
   258     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.14 2014-03-04 16:00:18 cg Exp $'
   236 !
   259 !
   237 
   260 
   238 version_CVS
   261 version_CVS
   239     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.13 2014-03-04 15:57:45 cg Exp $'
   262     ^ '$Header: /cvs/stx/stx/goodies/petitparser/stx_goodies_petitparser.st,v 1.14 2014-03-04 16:00:18 cg Exp $'
   240 !
   263 !
   241 
   264 
   242 version_MC
   265 version_MC
   243     ^ '$PetitParser-lr.231 a18ceb3c-e6d2-4b74-91c9-33f05d2e0514 2013-03-16T21:51:30 lr$'
   266     ^ '$PetitParser-lr.231 a18ceb3c-e6d2-4b74-91c9-33f05d2e0514 2013-03-16T21:51:30 lr$'
   244 !
   267 !
   245 
   268 
   246 version_SVN
   269 version_SVN
   247     ^ '$Id: stx_goodies_petitparser.st,v 1.13 2014-03-04 15:57:45 cg Exp $'
   270     ^ '$Id: stx_goodies_petitparser.st,v 1.14 2014-03-04 16:00:18 cg Exp $'
   248 ! !
   271 ! !
   249 
   272