author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 02 Jun 2015 00:16:55 +0100 | |
changeset 479 | 6316a98b7150 |
parent 459 | 4751c407bb40 |
permissions | -rw-r--r-- |
225 | 1 |
"{ Package: 'stx:goodies/petitparser/analyzer' }" |
2 |
||
459
4751c407bb40
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
3 |
"{ NameSpace: Smalltalk }" |
4751c407bb40
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
4 |
|
225 | 5 |
LibraryDefinition subclass:#stx_goodies_petitparser_analyzer |
6 |
instanceVariableNames:'' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'* Projects & Packages *' |
|
10 |
! |
|
11 |
||
12 |
||
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
13 |
!stx_goodies_petitparser_analyzer class methodsFor:'accessing - monticello'! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
14 |
|
378
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
15 |
monticelloLastMergedVersionInfo |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
16 |
"The last merged version is: " |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
17 |
|
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
18 |
^ ' |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
19 |
Name: PetitAnalyzer-DiegoLont.46 |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
20 |
Author: DiegoLont |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
21 |
Time: 02-09-2013, 12:37:58 PM |
382
1825151d6455
Added target `mcz` to export .mcz package out of Smalltalk/X package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
381
diff
changeset
|
22 |
UUID: 89f155fa-89b4-4bb7-b76e-0f8485be4a56 |
378
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
23 |
Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
24 |
' |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
25 |
|
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
26 |
"Created: / 03-10-2014 / 02:40:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
27 |
! |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
28 |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
29 |
monticelloName |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
30 |
"Return name of the package for Monticello. This is used when package is exported" |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
31 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
32 |
^ 'PetitAnalyzer' |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
33 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
34 |
"Created: / 03-10-2014 / 01:48:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
35 |
! ! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
36 |
|
384
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
37 |
!stx_goodies_petitparser_analyzer class methodsFor:'accessing - tests'! |
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
38 |
|
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
39 |
testSuite |
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
40 |
"generate and return a testSuite containing all of my test-classes" |
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
41 |
|
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
42 |
Smalltalk loadPackage: 'stx:goodies/petitparser/analyzer/tests'. |
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
43 |
^ 'stx:goodies/petitparser/analyzer/tests' asPackageId projectDefinitionClass testSuite |
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
44 |
|
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
45 |
! ! |
a613ecf5d2a1
Fixed stx_goodies_petitparser_analyzer class>>testSuite
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
46 |
|
225 | 47 |
!stx_goodies_petitparser_analyzer class methodsFor:'description'! |
48 |
||
49 |
excludedFromPreRequisites |
|
50 |
"list all packages which should be ignored in the automatic |
|
51 |
preRequisites scan. See #preRequisites for more." |
|
52 |
||
53 |
^ #( |
|
54 |
) |
|
55 |
! |
|
56 |
||
57 |
mandatoryPreRequisites |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
58 |
"list packages which are mandatory as a prerequisite. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
59 |
This are packages containing superclasses of my classes and classes which |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
60 |
are extended by myself. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
61 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
62 |
This method is generated automatically, |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
63 |
by searching along the inheritance chain of all of my classes." |
225 | 64 |
|
65 |
^ #( |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
66 |
#'stx:goodies/petitparser' "PPActionParser - extended" |
405
0470a5e6e712
Merged PetitParser and PetitTests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
384
diff
changeset
|
67 |
#'stx:libbasic' "LibraryDefinition - superclass of stx_goodies_petitparser_analyzer" |
225 | 68 |
) |
69 |
! |
|
70 |
||
71 |
referencedPreRequisites |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
72 |
"list packages which are a prerequisite, because they contain |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
73 |
classes which are referenced by my classes. |
459
4751c407bb40
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
74 |
We do not need these packages as a prerequisite for compiling or loading, |
4751c407bb40
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
75 |
however, a class from it may be referenced during execution and having it |
4751c407bb40
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
76 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
4751c407bb40
Merged with PetitCompiler-JanKurs.20150510144201, PetitCompiler-Tests-JanKurs.20150510144201, PetitCompiler-Extras-Tests-JanKurs.20150510144201, PetitCompiler-Benchmarks-JanKurs.20150510144201
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
405
diff
changeset
|
77 |
includes explicit checks for the package being present. |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
78 |
This method is generated automatically, |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
79 |
by searching all classes (and their packages) which are referenced by my classes." |
225 | 80 |
|
81 |
^ #( |
|
82 |
) |
|
83 |
! |
|
84 |
||
85 |
subProjects |
|
86 |
"list packages which are known as subprojects. |
|
87 |
The generated makefile will enter those and make there as well. |
|
88 |
However: they are not forced to be loaded when a package is loaded; |
|
89 |
for those, redefine requiredPrerequisites" |
|
90 |
||
91 |
^ #( |
|
92 |
) |
|
93 |
! ! |
|
94 |
||
95 |
!stx_goodies_petitparser_analyzer class methodsFor:'description - contents'! |
|
96 |
||
97 |
classNamesAndAttributes |
|
98 |
"lists the classes which are to be included in the project. |
|
99 |
Each entry in the list may be: a single class-name (symbol), |
|
100 |
or an array-literal consisting of class name and attributes. |
|
101 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
102 |
||
103 |
^ #( |
|
104 |
"<className> or (<className> attributes...) in load order" |
|
105 |
PPPattern |
|
106 |
PPProcessor |
|
107 |
PPRule |
|
108 |
PPSentinel |
|
109 |
#'stx_goodies_petitparser_analyzer' |
|
110 |
PPListPattern |
|
111 |
PPReplaceRule |
|
112 |
PPRewriter |
|
113 |
PPSearchRule |
|
114 |
PPSearcher |
|
115 |
PPBlockReplaceRule |
|
116 |
PPParserReplaceRule |
|
117 |
) |
|
118 |
! |
|
119 |
||
120 |
extensionMethodNames |
|
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
121 |
"list class/selector pairs of extensions. |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
122 |
A correponding method with real names must be present in my concrete subclasses" |
225 | 123 |
|
124 |
^ #( |
|
277 | 125 |
PPActionParser match:inContext:seen: |
126 |
PPDelegateParser replace:with: |
|
127 |
PPEpsilonParser isNullable |
|
128 |
PPFailingParser match:inContext:seen: |
|
129 |
PPLimitedRepeatingParser replace:with: |
|
130 |
PPListParser copyInContext:seen: |
|
131 |
PPListParser replace:with: |
|
132 |
PPLiteralParser match:inContext:seen: |
|
133 |
PPOptionalParser isNullable |
|
134 |
PPParser allNamedParsers |
|
135 |
PPParser allNamedParsersDo: |
|
136 |
PPParser copyInContext: |
|
137 |
PPParser copyInContext:seen: |
|
138 |
PPParser cycleSet |
|
139 |
PPParser cycleSet: |
|
140 |
PPParser cycleSet:firstSets:into: |
|
141 |
PPParser firstSet |
|
142 |
PPParser firstSets:into: |
|
143 |
PPParser followSet |
|
144 |
PPParser followSets |
|
145 |
PPParser followSets:firstSets:into: |
|
146 |
PPParser innerChildren |
|
147 |
PPParser innerChildrenDo: |
|
148 |
PPParser innerChildrenDo:seen: |
|
149 |
PPParser isNullable |
|
150 |
PPParser isTerminal |
|
151 |
PPParser match:inContext: |
|
152 |
PPParser match:inContext:seen: |
|
153 |
PPParser matchList:against:inContext:seen: |
|
154 |
PPParser matchList:index:against:index:inContext:seen: |
|
155 |
PPParser namedChildren |
|
156 |
PPParser namedChildrenDo: |
|
157 |
PPParser namedChildrenDo:seen: |
|
158 |
PPParser replace:with: |
|
159 |
PPParser transform: |
|
160 |
PPPluggableParser match:inContext:seen: |
|
161 |
PPPredicateParser match:inContext:seen: |
|
162 |
PPPredicateSequenceParser match:inContext:seen: |
|
163 |
PPRepeatingParser isNullable |
|
164 |
PPRepeatingParser match:inContext:seen: |
|
165 |
PPSequenceParser cycleSet: |
|
166 |
PPSequenceParser firstSets:into: |
|
167 |
PPSequenceParser followSets:firstSets:into: |
|
168 |
PPTokenParser match:inContext:seen: |
|
378
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
169 |
PPNotParser firstSets:into: |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
170 |
PPNotParser isFirstSetTerminal |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
171 |
PPParser firstSets |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
172 |
PPParser isFirstSetTerminal |
53d66ecfeb1b
Merged in latest version from Moose repository
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
173 |
PPRepeatingParser followSets:firstSets:into: |
225 | 174 |
) |
175 |
! ! |
|
176 |
||
177 |
!stx_goodies_petitparser_analyzer class methodsFor:'description - project information'! |
|
178 |
||
179 |
companyName |
|
180 |
"Return a companyname which will appear in <lib>.rc" |
|
181 |
||
182 |
^ 'eXept Software AG' |
|
183 |
! |
|
184 |
||
185 |
description |
|
186 |
"Return a description string which will appear in vc.def / bc.def" |
|
187 |
||
188 |
^ 'Smalltalk/X Class library' |
|
189 |
! |
|
190 |
||
191 |
legalCopyright |
|
192 |
"Return a copyright string which will appear in <lib>.rc" |
|
193 |
||
194 |
^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014' |
|
195 |
! |
|
196 |
||
197 |
productName |
|
198 |
"Return a product name which will appear in <lib>.rc" |
|
199 |
||
200 |
^ 'Smalltalk/X' |
|
201 |
! ! |
|
202 |
||
203 |
!stx_goodies_petitparser_analyzer class methodsFor:'documentation'! |
|
204 |
||
205 |
version |
|
308 | 206 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/analyzer/stx_goodies_petitparser_analyzer.st,v 1.6 2014-03-04 20:29:43 cg Exp $' |
225 | 207 |
! |
208 |
||
209 |
version_CVS |
|
308 | 210 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/analyzer/stx_goodies_petitparser_analyzer.st,v 1.6 2014-03-04 20:29:43 cg Exp $' |
225 | 211 |
! |
212 |
||
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
213 |
version_HG |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
214 |
^ '$Changeset: <not expanded> $' |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
215 |
! |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
308
diff
changeset
|
216 |
|
225 | 217 |
version_MC |
218 |
^ '$PetitAnalyzer-lr.41 608069e1-dadc-4435-abd6-995adf7519e2 2013-03-16T21:52:20 lr$' |
|
219 |
! ! |
|
220 |