author | Claus Gittinger <cg@exept.de> |
Tue, 04 Mar 2014 17:00:11 +0100 | |
changeset 237 | 90891caa9eef |
parent 122 | 5ea40d035e02 |
permissions | -rw-r--r-- |
86 | 1 |
"{ Package: 'stx:goodies/petitparser/devtools' }" |
2 |
||
3 |
LibraryDefinition subclass:#stx_goodies_petitparser_devtools |
|
4 |
instanceVariableNames:'' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
11 |
!stx_goodies_petitparser_devtools class methodsFor:'description'! |
|
12 |
||
13 |
excludedFromPreRequisites |
|
14 |
"list all packages which should be ignored in the automatic |
|
15 |
preRequisites scan. See #preRequisites for more." |
|
16 |
||
17 |
^ #( |
|
18 |
) |
|
19 |
! |
|
20 |
||
21 |
preRequisites |
|
22 |
"list all required packages. |
|
23 |
This list can be maintained manually or (better) generated and |
|
24 |
updated by scanning the superclass hierarchies and looking for |
|
25 |
global variable accesses. (the browser has a menu function for that) |
|
26 |
Howevery, often too much is found, and you may want to explicitely |
|
27 |
exclude individual packages in the #excludedFromPrerequisites method." |
|
28 |
||
29 |
^ #( |
|
117 | 30 |
#'jv:dart/compiler' "Dart::Parser - referenced by PPCompositeParserGenerator>>generate " |
86 | 31 |
#'stx:goodies/petitparser' "PPParser - superclass of PPDebuggingParser " |
117 | 32 |
#'stx:goodies/xml/vw' "XML::XMLParser - referenced by XBGFParser>>parse: " |
33 |
#'stx:libbasic' "Object - superclass of PPDebuggingParser " |
|
34 |
#'stx:libbasic3' "ChangeSet - referenced by PPCompositeParserGenerator>>generate " |
|
86 | 35 |
) |
36 |
! ! |
|
37 |
||
38 |
!stx_goodies_petitparser_devtools class methodsFor:'description - contents'! |
|
39 |
||
40 |
classNamesAndAttributes |
|
41 |
"lists the classes which are to be included in the project. |
|
42 |
Each entry in the list may be: a single class-name (symbol), |
|
43 |
or an array-literal consisting of class name and attributes. |
|
44 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
45 |
||
46 |
^ #( |
|
47 |
"<className> or (<className> attributes...) in load order" |
|
48 |
PPDebugger |
|
49 |
PPDebuggingParser |
|
50 |
#'stx_goodies_petitparser_devtools' |
|
102
9c38fe06d9a7
Added PPCompositeParserGenerator & PPParserVisitor
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
86
diff
changeset
|
51 |
XBGFParser |
117 | 52 |
(PPCompositeParserGenerator autoload) |
53 |
(PPParserVisitor autoload) |
|
86 | 54 |
) |
55 |
! |
|
56 |
||
57 |
extensionMethodNames |
|
58 |
"lists the extension methods which are to be included in the project. |
|
59 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
60 |
||
61 |
^ #( |
|
117 | 62 |
PPActionParser acceptVisitor: |
63 |
PPAndParser acceptVisitor: |
|
64 |
PPArithmeticParser acceptVisitor: |
|
65 |
PPChoiceParser acceptVisitor: |
|
66 |
PPCompositeParser acceptVisitor: |
|
67 |
PPDelegateParser acceptVisitor: |
|
68 |
PPEndOfInputParser acceptVisitor: |
|
69 |
PPEpsilonParser acceptVisitor: |
|
70 |
PPExpressionParser acceptVisitor: |
|
71 |
PPFailingParser acceptVisitor: |
|
72 |
PPFlattenParser acceptVisitor: |
|
73 |
PPLambdaParser acceptVisitor: |
|
74 |
PPListParser acceptVisitor: |
|
75 |
PPLiteralObjectParser acceptVisitor: |
|
76 |
PPLiteralParser acceptVisitor: |
|
77 |
PPLiteralSequenceParser acceptVisitor: |
|
78 |
PPMemoizedParser acceptVisitor: |
|
79 |
PPNotParser acceptVisitor: |
|
80 |
PPOptionalParser acceptVisitor: |
|
81 |
PPParser acceptVisitor: |
|
82 |
PPPluggableParser acceptVisitor: |
|
83 |
PPPredicateObjectParser acceptVisitor: |
|
84 |
PPPredicateParser acceptVisitor: |
|
85 |
PPPredicateSequenceParser acceptVisitor: |
|
86 |
PPRepeatingParser acceptVisitor: |
|
87 |
PPSequenceParser acceptVisitor: |
|
88 |
PPTokenParser acceptVisitor: |
|
89 |
PPTrimmingParser acceptVisitor: |
|
90 |
PPUnresolvedParser acceptVisitor: |
|
91 |
PPWrappingParser acceptVisitor: |
|
86 | 92 |
) |
93 |
! ! |
|
94 |
||
95 |
!stx_goodies_petitparser_devtools class methodsFor:'description - project information'! |
|
96 |
||
97 |
applicationIconFileName |
|
98 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
99 |
||
100 |
^ nil |
|
101 |
"/ ^ self applicationName |
|
102 |
! |
|
103 |
||
104 |
companyName |
|
105 |
"Return a companyname which will appear in <lib>.rc" |
|
106 |
||
107 |
^ 'eXept Software AG' |
|
108 |
! |
|
109 |
||
110 |
description |
|
111 |
"Return a description string which will appear in vc.def / bc.def" |
|
112 |
||
113 |
^ 'Smalltalk/X Class library' |
|
114 |
! |
|
115 |
||
116 |
legalCopyright |
|
117 |
"Return a copyright string which will appear in <lib>.rc" |
|
118 |
||
119 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
|
120 |
! |
|
121 |
||
122 |
productInstallDirBaseName |
|
123 |
"Returns a default installDir which will appear in <app>.nsi. |
|
124 |
This is usually not the one you want to keep" |
|
125 |
||
126 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last |
|
127 |
! |
|
128 |
||
129 |
productName |
|
130 |
"Return a product name which will appear in <lib>.rc" |
|
131 |
||
132 |
^ 'Smalltalk/X' |
|
133 |
! ! |
|
134 |
||
135 |
!stx_goodies_petitparser_devtools class methodsFor:'documentation'! |
|
136 |
||
137 |
version |
|
122 | 138 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/stx_goodies_petitparser_devtools.st,v 1.4 2013-01-10 13:26:48 vrany Exp $' |
86 | 139 |
! |
140 |
||
141 |
version_CVS |
|
122 | 142 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/stx_goodies_petitparser_devtools.st,v 1.4 2013-01-10 13:26:48 vrany Exp $' |
86 | 143 |
! ! |