author | Claus Gittinger <cg@exept.de> |
Wed, 05 Feb 2014 19:56:13 +0100 | |
changeset 13804 | 6f311465b4cf |
parent 13772 | c33edfc1abcc |
child 14432 | a0629eb60ebf |
permissions | -rw-r--r-- |
9890 | 1 |
" |
2 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libtool' }" |
|
13 |
||
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
Object subclass:#Tag |
|
17 |
instanceVariableNames:'width label pattern lineNumber fileName className' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Interface-Tools-File-Tags' |
|
21 |
! |
|
22 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
23 |
Tag subclass:#TElement |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
24 |
instanceVariableNames:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
25 |
classVariableNames:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
26 |
poolDictionaries:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
27 |
privateIn:Tag |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
28 |
! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
29 |
|
13772 | 30 |
Tag subclass:#TCaseLabel |
31 |
instanceVariableNames:'' |
|
32 |
classVariableNames:'' |
|
33 |
poolDictionaries:'' |
|
34 |
privateIn:Tag |
|
35 |
! |
|
36 |
||
9890 | 37 |
Tag subclass:#TClass |
38 |
instanceVariableNames:'' |
|
39 |
classVariableNames:'' |
|
40 |
poolDictionaries:'' |
|
41 |
privateIn:Tag |
|
42 |
! |
|
43 |
||
9923 | 44 |
Tag subclass:#TDocumentation |
45 |
instanceVariableNames:'' |
|
46 |
classVariableNames:'' |
|
47 |
poolDictionaries:'' |
|
48 |
privateIn:Tag |
|
49 |
! |
|
50 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
51 |
Tag::TElement subclass:#TAnchorElement |
9890 | 52 |
instanceVariableNames:'' |
53 |
classVariableNames:'' |
|
54 |
poolDictionaries:'' |
|
55 |
privateIn:Tag |
|
56 |
! |
|
57 |
||
58 |
Tag subclass:#TEnum |
|
59 |
instanceVariableNames:'' |
|
60 |
classVariableNames:'' |
|
61 |
poolDictionaries:'' |
|
62 |
privateIn:Tag |
|
63 |
! |
|
64 |
||
65 |
Tag subclass:#TEnumMember |
|
66 |
instanceVariableNames:'' |
|
67 |
classVariableNames:'' |
|
68 |
poolDictionaries:'' |
|
69 |
privateIn:Tag |
|
70 |
! |
|
71 |
||
72 |
Tag subclass:#TField |
|
73 |
instanceVariableNames:'' |
|
74 |
classVariableNames:'' |
|
75 |
poolDictionaries:'' |
|
76 |
privateIn:Tag |
|
77 |
! |
|
78 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
79 |
Tag::TElement subclass:#TFormElement |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
80 |
instanceVariableNames:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
81 |
classVariableNames:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
82 |
poolDictionaries:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
83 |
privateIn:Tag |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
84 |
! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
85 |
|
9890 | 86 |
Tag subclass:#TFunction |
87 |
instanceVariableNames:'' |
|
88 |
classVariableNames:'' |
|
89 |
poolDictionaries:'' |
|
90 |
privateIn:Tag |
|
91 |
! |
|
92 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
93 |
Tag::TElement subclass:#THeaderElement |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
94 |
instanceVariableNames:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
95 |
classVariableNames:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
96 |
poolDictionaries:'' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
97 |
privateIn:Tag |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
98 |
! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
99 |
|
9890 | 100 |
Tag subclass:#TInterface |
101 |
instanceVariableNames:'' |
|
102 |
classVariableNames:'' |
|
103 |
poolDictionaries:'' |
|
104 |
privateIn:Tag |
|
105 |
! |
|
106 |
||
107 |
Tag subclass:#TLabel |
|
108 |
instanceVariableNames:'' |
|
109 |
classVariableNames:'' |
|
110 |
poolDictionaries:'' |
|
111 |
privateIn:Tag |
|
112 |
! |
|
113 |
||
114 |
Tag subclass:#TLispConstant |
|
115 |
instanceVariableNames:'' |
|
116 |
classVariableNames:'' |
|
117 |
poolDictionaries:'' |
|
118 |
privateIn:Tag |
|
119 |
! |
|
120 |
||
121 |
Tag subclass:#TLispEval |
|
122 |
instanceVariableNames:'' |
|
123 |
classVariableNames:'' |
|
124 |
poolDictionaries:'' |
|
125 |
privateIn:Tag |
|
126 |
! |
|
127 |
||
128 |
Tag subclass:#TLispMacro |
|
129 |
instanceVariableNames:'' |
|
130 |
classVariableNames:'' |
|
131 |
poolDictionaries:'' |
|
132 |
privateIn:Tag |
|
133 |
! |
|
134 |
||
135 |
Tag subclass:#TMacro |
|
136 |
instanceVariableNames:'' |
|
137 |
classVariableNames:'' |
|
138 |
poolDictionaries:'' |
|
139 |
privateIn:Tag |
|
140 |
! |
|
141 |
||
142 |
Tag subclass:#TMakeRule |
|
143 |
instanceVariableNames:'' |
|
144 |
classVariableNames:'' |
|
145 |
poolDictionaries:'' |
|
146 |
privateIn:Tag |
|
147 |
! |
|
148 |
||
149 |
Tag subclass:#TMakeTarget |
|
150 |
instanceVariableNames:'' |
|
151 |
classVariableNames:'' |
|
152 |
poolDictionaries:'' |
|
153 |
privateIn:Tag |
|
154 |
! |
|
155 |
||
156 |
Tag subclass:#TMember |
|
157 |
instanceVariableNames:'' |
|
158 |
classVariableNames:'' |
|
159 |
poolDictionaries:'' |
|
160 |
privateIn:Tag |
|
161 |
! |
|
162 |
||
163 |
Tag subclass:#TMethod |
|
13449 | 164 |
instanceVariableNames:'isMeta' |
9890 | 165 |
classVariableNames:'' |
166 |
poolDictionaries:'' |
|
167 |
privateIn:Tag |
|
168 |
! |
|
169 |
||
170 |
Tag subclass:#TPackage |
|
171 |
instanceVariableNames:'' |
|
172 |
classVariableNames:'' |
|
173 |
poolDictionaries:'' |
|
174 |
privateIn:Tag |
|
175 |
! |
|
176 |
||
177 |
Tag subclass:#TPrologClause |
|
178 |
instanceVariableNames:'' |
|
179 |
classVariableNames:'' |
|
180 |
poolDictionaries:'' |
|
181 |
privateIn:Tag |
|
182 |
! |
|
183 |
||
184 |
Tag subclass:#TStruct |
|
185 |
instanceVariableNames:'' |
|
186 |
classVariableNames:'' |
|
187 |
poolDictionaries:'' |
|
188 |
privateIn:Tag |
|
189 |
! |
|
190 |
||
191 |
Tag subclass:#TTypedef |
|
192 |
instanceVariableNames:'' |
|
193 |
classVariableNames:'' |
|
194 |
poolDictionaries:'' |
|
195 |
privateIn:Tag |
|
196 |
! |
|
197 |
||
198 |
Tag subclass:#TUnion |
|
199 |
instanceVariableNames:'' |
|
200 |
classVariableNames:'' |
|
201 |
poolDictionaries:'' |
|
202 |
privateIn:Tag |
|
203 |
! |
|
204 |
||
205 |
Tag subclass:#TVariable |
|
206 |
instanceVariableNames:'' |
|
207 |
classVariableNames:'' |
|
208 |
poolDictionaries:'' |
|
209 |
privateIn:Tag |
|
210 |
! |
|
211 |
||
212 |
!Tag class methodsFor:'documentation'! |
|
213 |
||
214 |
copyright |
|
215 |
" |
|
216 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
217 |
All Rights Reserved |
|
218 |
||
219 |
This software is furnished under a license and may be used |
|
220 |
only in accordance with the terms of that license and with the |
|
221 |
inclusion of the above copyright notice. This software may not |
|
222 |
be provided or otherwise made available to, or used by, any |
|
223 |
other person. No title to or ownership of the software is |
|
224 |
hereby transferred. |
|
225 |
||
226 |
||
227 |
" |
|
10052 | 228 |
! |
229 |
||
230 |
documentation |
|
231 |
" |
|
10053 | 232 |
keeps the info for a single tag (for the fileBrowser, for example); |
10052 | 233 |
either read from an external tool (ctags) or generated internally |
234 |
" |
|
9890 | 235 |
! ! |
236 |
||
237 |
!Tag class methodsFor:'instance creation'! |
|
238 |
||
239 |
label:aLabel pattern:aPattern |
|
240 |
^ self label:aLabel pattern:aPattern type:nil lineNumber:nil className:nil |
|
241 |
||
242 |
! |
|
243 |
||
244 |
label:aLabel pattern:aPattern type:tagTypeString |
|
245 |
||
246 |
^ self label:aLabel pattern:aPattern type:tagTypeString lineNumber:nil className:nil |
|
247 |
! |
|
248 |
||
249 |
label:aLabel pattern:aPattern type:tagTypeString lineNumber:aLineNumer |
|
250 |
||
251 |
^ self label:aLabel pattern:aPattern type:tagTypeString lineNumber:aLineNumer className:nil |
|
252 |
! |
|
253 |
||
254 |
label:aLabel pattern:aPattern type:tagTypeString lineNumber:aLineNumer className:cName |
|
255 |
|tid cls tag| |
|
256 |
||
257 |
((self == Tag) and:[tagTypeString size == 1]) ifTrue:[ |
|
258 |
tid := tagTypeString asString. |
|
259 |
cls := self subclasses detect:[:aClass| aClass typeIdentifier = tid ] |
|
260 |
ifNone:self. |
|
261 |
] ifFalse:[ |
|
262 |
cls := self |
|
263 |
]. |
|
264 |
tag := cls new. |
|
265 |
tag label:aLabel pattern:aPattern lineNumber:aLineNumer className:cName. |
|
266 |
^ tag |
|
267 |
||
268 |
"Modified: / 05-05-2011 / 15:42:45 / cg" |
|
269 |
! ! |
|
270 |
||
271 |
!Tag class methodsFor:'accessing'! |
|
272 |
||
273 |
typeIdentifier |
|
274 |
^ nil |
|
275 |
||
276 |
||
277 |
! ! |
|
278 |
||
279 |
!Tag methodsFor:'accessing'! |
|
280 |
||
281 |
fileName |
|
282 |
"returns the fileName (project tags only) |
|
283 |
" |
|
284 |
^ fileName |
|
285 |
||
286 |
||
287 |
! |
|
288 |
||
289 |
fileName:aFilename |
|
290 |
"set the fileName (project tags only) |
|
291 |
" |
|
292 |
fileName := aFilename |
|
293 |
||
294 |
! |
|
295 |
||
296 |
label |
|
297 |
^ label |
|
298 |
||
299 |
! |
|
300 |
||
301 |
lineNumber |
|
302 |
"returns the lineNumber computed at beginning |
|
303 |
" |
|
304 |
^ lineNumber ? 0 |
|
305 |
||
306 |
! |
|
307 |
||
308 |
lineNumber:aNumber |
|
309 |
"set the lineNumber computed at beginning |
|
310 |
" |
|
311 |
lineNumber := aNumber. |
|
312 |
||
313 |
! |
|
314 |
||
315 |
pattern |
|
316 |
"returns the pattern string, used to detect the line into a |
|
317 |
contents |
|
318 |
" |
|
319 |
^ pattern |
|
320 |
||
321 |
! |
|
322 |
||
323 |
typeIdentifierInList |
|
324 |
^ self class typeIdentifier |
|
325 |
! |
|
326 |
||
327 |
typeString |
|
328 |
^ '???' |
|
329 |
! ! |
|
330 |
||
331 |
!Tag methodsFor:'instance creation'! |
|
332 |
||
333 |
label:aLabel pattern:aPattern lineNumber:aLineNumer className:cName |
|
334 |
||
335 |
label := aLabel. |
|
336 |
pattern := aPattern. |
|
337 |
lineNumber := aLineNumer. |
|
338 |
||
339 |
cName size > 1 ifTrue:[ |
|
340 |
cName first isLetter ifFalse:[ |
|
341 |
className := cName copyFrom:2 |
|
342 |
] ifTrue:[ |
|
343 |
className := cName |
|
344 |
] |
|
345 |
] |
|
346 |
||
347 |
! ! |
|
348 |
||
349 |
!Tag methodsFor:'list interface'! |
|
350 |
||
351 |
explainString |
|
352 |
|s t| |
|
353 |
||
354 |
s := label , ' is a ' , self typeString. |
|
355 |
fileName notNil ifTrue:[ |
|
356 |
s := s , ' in ', fileName pathName. |
|
357 |
]. |
|
358 |
^ s |
|
359 |
||
360 |
||
361 |
! |
|
362 |
||
363 |
printString |
|
364 |
"returns the label used in a list |
|
365 |
" |
|
366 |
|l type| |
|
367 |
||
368 |
l := label. |
|
369 |
className notNil ifTrue:[ |
|
370 |
l := className , '::' , l |
|
371 |
]. |
|
372 |
"/ |
|
373 |
"/ type := self class typeIdentifier. |
|
374 |
"/ |
|
375 |
"/ type notNil ifTrue:[ |
|
376 |
"/ ^ type, ' ' , l |
|
377 |
"/ ]. |
|
378 |
^ l |
|
379 |
! |
|
380 |
||
381 |
printStringWithoutClass |
|
382 |
"returns a short label (used in a list when all labels are for the same class) |
|
383 |
" |
|
384 |
|l type| |
|
385 |
||
386 |
l := label. |
|
387 |
className notNil ifTrue:[ |
|
388 |
l := '::' , l |
|
389 |
]. |
|
390 |
"/ |
|
391 |
"/ type := self class typeIdentifier. |
|
392 |
"/ |
|
393 |
"/ type notNil ifTrue:[ |
|
394 |
"/ ^ type, ' ' , l |
|
395 |
"/ ]. |
|
396 |
^ l |
|
397 |
! ! |
|
398 |
||
399 |
!Tag methodsFor:'queries'! |
|
400 |
||
401 |
widthOn:aGC |
|
402 |
||
403 |
width isNil ifTrue:[ |
|
404 |
width := self printString widthOn:aGC |
|
405 |
]. |
|
406 |
^ width |
|
407 |
! ! |
|
408 |
||
409 |
!Tag methodsFor:'tag searching'! |
|
410 |
||
411 |
lineNumberIn:someText |
|
412 |
|pat lnr atStart atEnd| |
|
413 |
||
414 |
(lineNumber notNil and:[lineNumber ~~ 0]) ifTrue:[ |
|
415 |
^ lineNumber |
|
416 |
]. |
|
417 |
||
418 |
(pat := self pattern) isNil ifTrue:[ |
|
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
419 |
lineNumber := 1. |
9890 | 420 |
^ lineNumber |
421 |
]. |
|
422 |
||
423 |
(pat endsWith:';"') ifTrue:[ |
|
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
424 |
lnr := Integer readFrom:pat onError:nil. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
425 |
lnr notNil ifTrue:[ |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
426 |
^ lnr |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
427 |
] |
9890 | 428 |
]. |
429 |
lnr := 0. |
|
430 |
||
431 |
"/ (pat endsWith:'/;"') ifTrue:[ |
|
13804 | 432 |
"/ pat := pat copyButLast:3. |
9890 | 433 |
"/ ]. |
434 |
(pat startsWith:$^) ifTrue:[ |
|
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
435 |
pat := pat copyFrom:2. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
436 |
atStart := true. |
9890 | 437 |
]. |
438 |
(pat endsWith:$$) ifTrue:[ |
|
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
439 |
pat := pat copyButLast:1. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
440 |
atEnd := true. |
9890 | 441 |
]. |
442 |
atStart == true ifTrue:[ |
|
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
443 |
atEnd == true ifTrue:[ |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
444 |
lnr := someText findFirst:[:l| l = pat]. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
445 |
] ifFalse:[ |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
446 |
lnr := someText findFirst:[:l| l startsWith:pat]. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
447 |
] |
9890 | 448 |
] ifFalse:[ |
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
449 |
atEnd == true ifTrue:[ |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
450 |
lnr := someText findFirst:[:l| l endsWith:pat]. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
451 |
] ifFalse:[ |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
452 |
lnr := someText findFirst:[:l| l includesString:pat]. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
453 |
]. |
9890 | 454 |
]. |
455 |
||
456 |
lnr == 0 ifTrue:[ |
|
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
457 |
lnr := someText findFirst:[:l| l includesString:self label]. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
458 |
lnr == 0 ifTrue:[ |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
459 |
lnr := 1. |
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
460 |
]. |
9890 | 461 |
]. |
462 |
^ lnr |
|
463 |
! ! |
|
464 |
||
465 |
!Tag methodsFor:'testing'! |
|
466 |
||
467 |
isClassTag |
|
468 |
"return true, if this is a java class tag |
|
469 |
" |
|
470 |
^ false |
|
471 |
||
472 |
||
473 |
! |
|
474 |
||
9923 | 475 |
isDocumentationTag |
476 |
"return true, if this is a doc tag |
|
477 |
" |
|
478 |
^ false |
|
479 |
||
480 |
"Created: / 08-05-2011 / 10:06:11 / cg" |
|
481 |
! |
|
482 |
||
9890 | 483 |
isEnumMemberTag |
484 |
^ false |
|
485 |
||
486 |
"Created: / 05-05-2011 / 15:38:56 / cg" |
|
487 |
! |
|
488 |
||
489 |
isEnumTag |
|
490 |
^ false |
|
491 |
||
492 |
"Created: / 05-05-2011 / 15:37:23 / cg" |
|
493 |
! |
|
494 |
||
495 |
isFieldTag |
|
496 |
"return true, if this is a java field tag |
|
497 |
" |
|
498 |
^ false |
|
499 |
||
500 |
||
501 |
! |
|
502 |
||
503 |
isFunctionTag |
|
504 |
"return true, if this is a function tag |
|
505 |
" |
|
506 |
^ false |
|
507 |
||
508 |
||
509 |
! |
|
510 |
||
511 |
isInterfaceTag |
|
512 |
"return true, if this is a java interface tag |
|
513 |
" |
|
514 |
^ false |
|
515 |
||
516 |
||
517 |
! |
|
518 |
||
519 |
isLabelTag |
|
520 |
"return true, if this is a label tag |
|
521 |
" |
|
522 |
^ false |
|
523 |
||
524 |
||
525 |
! |
|
526 |
||
527 |
isLispConstantTag |
|
528 |
"return true, if this is a lisp constant tag |
|
529 |
" |
|
530 |
^ false |
|
531 |
||
532 |
||
533 |
! |
|
534 |
||
535 |
isLispEvalTag |
|
536 |
"return true, if this is a lisp eval tag |
|
537 |
" |
|
538 |
^ false |
|
539 |
! |
|
540 |
||
541 |
isLispMacroTag |
|
542 |
"return true, if this is a lisp macro tag |
|
543 |
" |
|
544 |
^ false |
|
545 |
! |
|
546 |
||
547 |
isMacroTag |
|
548 |
"return true, if this is a define macro tag |
|
549 |
" |
|
550 |
^ false |
|
551 |
||
552 |
||
553 |
! |
|
554 |
||
555 |
isMakeTargetTag |
|
556 |
"return true, if this is a make-target tag |
|
557 |
" |
|
558 |
^ false |
|
559 |
||
560 |
||
561 |
! |
|
562 |
||
563 |
isMemberTag |
|
564 |
"return true, if this is a struct/union member tag |
|
565 |
" |
|
566 |
^ false |
|
567 |
||
568 |
||
569 |
! |
|
570 |
||
571 |
isMethodTag |
|
572 |
"return true, if this is a java method tag |
|
573 |
" |
|
574 |
^ false |
|
575 |
||
576 |
||
577 |
! |
|
578 |
||
579 |
isPackageTag |
|
580 |
"return true, if this is a java package tag |
|
581 |
" |
|
582 |
^ false |
|
583 |
||
584 |
||
585 |
! |
|
586 |
||
587 |
isPrologClause |
|
588 |
"return true, if this is a prolog clause tag |
|
589 |
" |
|
590 |
^ false |
|
591 |
! |
|
592 |
||
593 |
isStructOrUnionTag |
|
594 |
"return true, if this is a union tag |
|
595 |
" |
|
596 |
^ false |
|
597 |
||
598 |
"Created: / 05-05-2011 / 15:07:33 / cg" |
|
599 |
! |
|
600 |
||
601 |
isStructTag |
|
602 |
"return true, if this is a struct tag |
|
603 |
" |
|
604 |
^ false |
|
605 |
||
606 |
||
607 |
! |
|
608 |
||
609 |
isTypedefTag |
|
610 |
"return true, if this is a typedef tag |
|
611 |
" |
|
612 |
^ false |
|
613 |
||
614 |
||
615 |
! |
|
616 |
||
617 |
isUnionTag |
|
618 |
"return true, if this is a union tag |
|
619 |
" |
|
620 |
^ false |
|
621 |
||
622 |
"Created: / 05-05-2011 / 15:07:29 / cg" |
|
623 |
! |
|
624 |
||
625 |
isVariableTag |
|
626 |
"return true, if this is a variable tag |
|
627 |
" |
|
628 |
^ false |
|
629 |
||
630 |
||
631 |
! ! |
|
632 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
633 |
!Tag::TElement class methodsFor:'accessing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
634 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
635 |
typeIdentifier |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
636 |
^ 'e' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
637 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
638 |
"Created: / 20-04-2011 / 18:52:31 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
639 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
640 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
641 |
!Tag::TElement class methodsFor:'documentation'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
642 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
643 |
documentation |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
644 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
645 |
an element (as in HTML) |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
646 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
647 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
648 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
649 |
!Tag::TElement methodsFor:'accessing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
650 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
651 |
typeIdentifierInList |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
652 |
^ 'e' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
653 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
654 |
"Created: / 20-04-2011 / 18:53:49 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
655 |
! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
656 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
657 |
typeString |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
658 |
^ 'element' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
659 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
660 |
"Created: / 20-04-2011 / 18:53:29 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
661 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
662 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
663 |
!Tag::TElement methodsFor:'testing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
664 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
665 |
isElementTag |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
666 |
"return true, if this is an element tag |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
667 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
668 |
^ true |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
669 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
670 |
"Created: / 20-04-2011 / 18:53:16 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
671 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
672 |
|
13772 | 673 |
!Tag::TCaseLabel class methodsFor:'accessing'! |
674 |
||
675 |
typeIdentifier |
|
676 |
^ 'L' |
|
677 |
! ! |
|
678 |
||
679 |
!Tag::TCaseLabel methodsFor:'accessing'! |
|
680 |
||
681 |
typeString |
|
682 |
^ 'case label' |
|
683 |
! ! |
|
684 |
||
685 |
!Tag::TCaseLabel methodsFor:'testing'! |
|
686 |
||
687 |
isCaseLabelTag |
|
688 |
"return true, if this is a case label tag |
|
689 |
" |
|
690 |
^ true |
|
691 |
! |
|
692 |
||
693 |
isLabelTag |
|
694 |
"return true, if this is a label tag |
|
695 |
" |
|
696 |
^ true |
|
697 |
||
698 |
||
699 |
! ! |
|
700 |
||
9890 | 701 |
!Tag::TClass class methodsFor:'accessing'! |
702 |
||
703 |
typeIdentifier |
|
704 |
^ 'C' |
|
705 |
||
706 |
"Modified: / 05-05-2011 / 15:40:47 / cg" |
|
707 |
! ! |
|
708 |
||
709 |
!Tag::TClass class methodsFor:'documentation'! |
|
710 |
||
711 |
documentation |
|
712 |
" |
|
713 |
a class-like object |
|
714 |
" |
|
715 |
! ! |
|
716 |
||
717 |
!Tag::TClass methodsFor:'accessing'! |
|
718 |
||
719 |
typeIdentifierInList |
|
720 |
^ 'C' |
|
721 |
||
722 |
! |
|
723 |
||
724 |
typeString |
|
725 |
^ 'class' |
|
726 |
||
727 |
! ! |
|
728 |
||
729 |
!Tag::TClass methodsFor:'testing'! |
|
730 |
||
731 |
isClassTag |
|
732 |
"return true, if this is a class tag |
|
733 |
" |
|
734 |
^ true |
|
735 |
||
736 |
||
737 |
! ! |
|
738 |
||
9923 | 739 |
!Tag::TDocumentation class methodsFor:'accessing'! |
740 |
||
741 |
typeIdentifier |
|
742 |
^ 'D' |
|
743 |
||
744 |
"Modified: / 08-05-2011 / 10:06:26 / cg" |
|
745 |
! ! |
|
746 |
||
747 |
!Tag::TDocumentation class methodsFor:'documentation'! |
|
748 |
||
749 |
documentation |
|
750 |
" |
|
751 |
this is a synthetic element, used to mark special |
|
752 |
documentation found in some languages: |
|
753 |
lisp: lines starting with ';;;' |
|
754 |
java (could detect @xxx javadoc or similar in the future) |
|
755 |
" |
|
756 |
! ! |
|
757 |
||
758 |
!Tag::TDocumentation methodsFor:'accessing'! |
|
759 |
||
760 |
typeString |
|
761 |
^ 'documentation' |
|
762 |
||
763 |
"Modified: / 08-05-2011 / 10:05:52 / cg" |
|
764 |
! ! |
|
765 |
||
766 |
!Tag::TDocumentation methodsFor:'testing'! |
|
767 |
||
768 |
isDocumentationTag |
|
769 |
"return true, if this is a doc tag |
|
770 |
" |
|
771 |
^ true |
|
772 |
||
773 |
"Created: / 08-05-2011 / 10:06:03 / cg" |
|
774 |
! ! |
|
775 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
776 |
!Tag::TAnchorElement class methodsFor:'accessing'! |
9890 | 777 |
|
778 |
typeIdentifier |
|
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
779 |
^ 'a' |
9890 | 780 |
|
781 |
"Created: / 20-04-2011 / 18:52:31 / cg" |
|
782 |
! ! |
|
783 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
784 |
!Tag::TAnchorElement class methodsFor:'documentation'! |
9890 | 785 |
|
786 |
documentation |
|
787 |
" |
|
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
788 |
an anchor element (in HTML) |
9890 | 789 |
" |
790 |
! ! |
|
791 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
792 |
!Tag::TAnchorElement methodsFor:'accessing'! |
9890 | 793 |
|
794 |
typeIdentifierInList |
|
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
795 |
^ 'a' |
9890 | 796 |
|
797 |
"Created: / 20-04-2011 / 18:53:49 / cg" |
|
798 |
! |
|
799 |
||
800 |
typeString |
|
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
801 |
^ 'anchor element' |
9890 | 802 |
|
803 |
"Created: / 20-04-2011 / 18:53:29 / cg" |
|
804 |
! ! |
|
805 |
||
806 |
!Tag::TEnum class methodsFor:'accessing'! |
|
807 |
||
808 |
typeIdentifier |
|
809 |
^ 'E' |
|
810 |
||
811 |
"Modified: / 05-05-2011 / 15:40:54 / cg" |
|
812 |
! ! |
|
813 |
||
814 |
!Tag::TEnum methodsFor:'accessing'! |
|
815 |
||
816 |
typeString |
|
817 |
^ 'enum' |
|
818 |
||
819 |
"Modified: / 05-05-2011 / 15:37:03 / cg" |
|
820 |
! ! |
|
821 |
||
822 |
!Tag::TEnum methodsFor:'testing'! |
|
823 |
||
824 |
isEnumTag |
|
825 |
^ true |
|
826 |
||
827 |
"Created: / 05-05-2011 / 15:37:15 / cg" |
|
828 |
! ! |
|
829 |
||
830 |
!Tag::TEnumMember class methodsFor:'accessing'! |
|
831 |
||
832 |
typeIdentifier |
|
833 |
^ 'e' |
|
834 |
||
835 |
"Modified: / 05-05-2011 / 15:40:57 / cg" |
|
836 |
! ! |
|
837 |
||
838 |
!Tag::TEnumMember methodsFor:'accessing'! |
|
839 |
||
840 |
typeString |
|
841 |
^ 'enum member' |
|
842 |
||
843 |
"Modified: / 05-05-2011 / 15:39:05 / cg" |
|
844 |
! ! |
|
845 |
||
846 |
!Tag::TEnumMember methodsFor:'testing'! |
|
847 |
||
848 |
isEnumMemberTag |
|
849 |
^ true |
|
850 |
||
851 |
"Created: / 05-05-2011 / 15:38:49 / cg" |
|
852 |
! ! |
|
853 |
||
854 |
!Tag::TField class methodsFor:'accessing'! |
|
855 |
||
856 |
typeIdentifier |
|
857 |
^ 'f' |
|
858 |
||
859 |
||
860 |
! ! |
|
861 |
||
862 |
!Tag::TField methodsFor:'accessing'! |
|
863 |
||
864 |
typeString |
|
865 |
^ 'field' |
|
866 |
||
867 |
! ! |
|
868 |
||
869 |
!Tag::TField methodsFor:'testing'! |
|
870 |
||
871 |
isFieldTag |
|
872 |
"return true, if this is a java field tag |
|
873 |
" |
|
874 |
^ true |
|
875 |
||
876 |
||
877 |
! ! |
|
878 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
879 |
!Tag::TFormElement class methodsFor:'accessing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
880 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
881 |
typeIdentifier |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
882 |
^ 'f' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
883 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
884 |
"Created: / 20-04-2011 / 18:52:31 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
885 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
886 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
887 |
!Tag::TFormElement class methodsFor:'documentation'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
888 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
889 |
documentation |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
890 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
891 |
a form element (in HTML) |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
892 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
893 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
894 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
895 |
!Tag::TFormElement methodsFor:'accessing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
896 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
897 |
typeIdentifierInList |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
898 |
^ 'f' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
899 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
900 |
"Created: / 20-04-2011 / 18:53:49 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
901 |
! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
902 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
903 |
typeString |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
904 |
^ 'form element' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
905 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
906 |
"Created: / 20-04-2011 / 18:53:29 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
907 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
908 |
|
9890 | 909 |
!Tag::TFunction class methodsFor:'accessing'! |
910 |
||
911 |
typeIdentifier |
|
912 |
^ 'F' |
|
913 |
||
914 |
"Modified: / 05-05-2011 / 15:41:04 / cg" |
|
915 |
! ! |
|
916 |
||
917 |
!Tag::TFunction methodsFor:'accessing'! |
|
918 |
||
919 |
typeIdentifierInList |
|
920 |
^ 'F' |
|
921 |
||
922 |
||
923 |
! |
|
924 |
||
925 |
typeString |
|
926 |
^ 'function' |
|
927 |
||
928 |
||
929 |
! ! |
|
930 |
||
931 |
!Tag::TFunction methodsFor:'testing'! |
|
932 |
||
933 |
isFunctionTag |
|
934 |
"return true, if this is a function tag |
|
935 |
" |
|
936 |
^ true |
|
937 |
||
938 |
||
939 |
! ! |
|
940 |
||
11803
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
941 |
!Tag::THeaderElement class methodsFor:'accessing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
942 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
943 |
typeIdentifier |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
944 |
^ 'h' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
945 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
946 |
"Created: / 20-04-2011 / 18:52:31 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
947 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
948 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
949 |
!Tag::THeaderElement class methodsFor:'documentation'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
950 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
951 |
documentation |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
952 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
953 |
a header element (in HTML) |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
954 |
" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
955 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
956 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
957 |
!Tag::THeaderElement methodsFor:'accessing'! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
958 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
959 |
typeIdentifierInList |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
960 |
^ 'h' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
961 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
962 |
"Created: / 20-04-2011 / 18:53:49 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
963 |
! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
964 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
965 |
typeString |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
966 |
^ 'header element' |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
967 |
|
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
968 |
"Created: / 20-04-2011 / 18:53:29 / cg" |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
969 |
! ! |
3025c4948991
better html tags (h-elements)
Claus Gittinger <cg@exept.de>
parents:
11438
diff
changeset
|
970 |
|
9890 | 971 |
!Tag::TInterface class methodsFor:'accessing'! |
972 |
||
973 |
typeIdentifier |
|
974 |
^ 'I' |
|
975 |
||
976 |
"Modified: / 05-05-2011 / 15:41:08 / cg" |
|
977 |
! ! |
|
978 |
||
979 |
!Tag::TInterface methodsFor:'accessing'! |
|
980 |
||
981 |
typeString |
|
982 |
^ 'interface' |
|
983 |
||
984 |
||
985 |
! ! |
|
986 |
||
987 |
!Tag::TInterface methodsFor:'testing'! |
|
988 |
||
989 |
isInterfaceTag |
|
990 |
"return true, if this is a java interface tag |
|
991 |
" |
|
992 |
^ true |
|
993 |
||
994 |
||
995 |
! ! |
|
996 |
||
997 |
!Tag::TLabel class methodsFor:'accessing'! |
|
998 |
||
999 |
typeIdentifier |
|
1000 |
^ 'l' |
|
1001 |
||
1002 |
||
1003 |
! ! |
|
1004 |
||
1005 |
!Tag::TLabel methodsFor:'accessing'! |
|
1006 |
||
1007 |
typeString |
|
1008 |
^ 'label' |
|
1009 |
||
1010 |
||
1011 |
! ! |
|
1012 |
||
1013 |
!Tag::TLabel methodsFor:'testing'! |
|
1014 |
||
1015 |
isLabelTag |
|
1016 |
"return true, if this is a label tag |
|
1017 |
" |
|
1018 |
^ true |
|
1019 |
||
1020 |
||
1021 |
! ! |
|
1022 |
||
1023 |
!Tag::TLispConstant class methodsFor:'accessing'! |
|
1024 |
||
1025 |
typeIdentifier |
|
1026 |
^ 'c' |
|
1027 |
||
1028 |
||
1029 |
! ! |
|
1030 |
||
1031 |
!Tag::TLispConstant methodsFor:'accessing'! |
|
1032 |
||
1033 |
typeString |
|
1034 |
^ 'const' |
|
1035 |
||
1036 |
||
1037 |
! ! |
|
1038 |
||
1039 |
!Tag::TLispConstant methodsFor:'testing'! |
|
1040 |
||
1041 |
isLispConstantTag |
|
1042 |
"return true, if this is a lisp constant tag |
|
1043 |
" |
|
1044 |
^ true |
|
1045 |
||
1046 |
||
1047 |
! ! |
|
1048 |
||
1049 |
!Tag::TLispEval class methodsFor:'accessing'! |
|
1050 |
||
1051 |
typeIdentifier |
|
1052 |
^ 'E' |
|
1053 |
||
1054 |
||
1055 |
! ! |
|
1056 |
||
1057 |
!Tag::TLispEval methodsFor:'accessing'! |
|
1058 |
||
1059 |
printString |
|
1060 |
^ "'eval '," super printString |
|
1061 |
! |
|
1062 |
||
1063 |
typeString |
|
1064 |
^ 'eval' |
|
1065 |
||
1066 |
||
1067 |
! ! |
|
1068 |
||
1069 |
!Tag::TLispEval methodsFor:'testing'! |
|
1070 |
||
1071 |
isLispEvalTag |
|
1072 |
"return true, if this is a lisp eval tag |
|
1073 |
" |
|
1074 |
^ true |
|
1075 |
||
1076 |
||
1077 |
! ! |
|
1078 |
||
1079 |
!Tag::TLispMacro class methodsFor:'accessing'! |
|
1080 |
||
1081 |
typeIdentifier |
|
1082 |
^ 'm' |
|
1083 |
||
1084 |
||
1085 |
! ! |
|
1086 |
||
1087 |
!Tag::TLispMacro methodsFor:'accessing'! |
|
1088 |
||
1089 |
typeString |
|
1090 |
^ 'macro' |
|
1091 |
||
1092 |
||
1093 |
! ! |
|
1094 |
||
1095 |
!Tag::TLispMacro methodsFor:'testing'! |
|
1096 |
||
1097 |
isLispMacroTag |
|
1098 |
"return true, if this is a define macro tag |
|
1099 |
" |
|
1100 |
^ true |
|
1101 |
||
1102 |
||
1103 |
! ! |
|
1104 |
||
1105 |
!Tag::TMacro class methodsFor:'accessing'! |
|
1106 |
||
1107 |
typeIdentifier |
|
1108 |
^ 'd' |
|
1109 |
||
1110 |
||
1111 |
! ! |
|
1112 |
||
1113 |
!Tag::TMacro methodsFor:'accessing'! |
|
1114 |
||
1115 |
typeString |
|
1116 |
^ 'macro' |
|
1117 |
||
1118 |
||
1119 |
! ! |
|
1120 |
||
1121 |
!Tag::TMacro methodsFor:'testing'! |
|
1122 |
||
1123 |
isMacroTag |
|
1124 |
"return true, if this is a define macro tag |
|
1125 |
" |
|
1126 |
^ true |
|
1127 |
||
1128 |
||
1129 |
! ! |
|
1130 |
||
1131 |
!Tag::TMakeRule class methodsFor:'accessing'! |
|
1132 |
||
1133 |
typeIdentifier |
|
1134 |
^ 'R' |
|
1135 |
! ! |
|
1136 |
||
1137 |
!Tag::TMakeRule methodsFor:'accessing'! |
|
1138 |
||
1139 |
typeString |
|
1140 |
^ 'rule' |
|
1141 |
! ! |
|
1142 |
||
1143 |
!Tag::TMakeRule methodsFor:'testing'! |
|
1144 |
||
1145 |
isMakeTargetTag |
|
1146 |
"return true, if this is a make-target tag |
|
1147 |
" |
|
1148 |
^ true |
|
1149 |
||
1150 |
||
1151 |
! ! |
|
1152 |
||
1153 |
!Tag::TMakeTarget class methodsFor:'accessing'! |
|
1154 |
||
1155 |
typeIdentifier |
|
1156 |
^ 'T' |
|
1157 |
||
1158 |
||
1159 |
! ! |
|
1160 |
||
1161 |
!Tag::TMakeTarget methodsFor:'accessing'! |
|
1162 |
||
1163 |
typeString |
|
1164 |
^ 'target' |
|
1165 |
||
1166 |
||
1167 |
! ! |
|
1168 |
||
1169 |
!Tag::TMakeTarget methodsFor:'testing'! |
|
1170 |
||
1171 |
isMakeTargetTag |
|
1172 |
"return true, if this is a make-target tag |
|
1173 |
" |
|
1174 |
^ true |
|
1175 |
||
1176 |
||
1177 |
! ! |
|
1178 |
||
1179 |
!Tag::TMember class methodsFor:'accessing'! |
|
1180 |
||
1181 |
typeIdentifier |
|
1182 |
^ 'm' |
|
1183 |
||
1184 |
||
1185 |
! ! |
|
1186 |
||
1187 |
!Tag::TMember methodsFor:'accessing'! |
|
1188 |
||
1189 |
typeString |
|
1190 |
^ 'struct/union member' |
|
1191 |
||
1192 |
||
1193 |
! ! |
|
1194 |
||
1195 |
!Tag::TMember methodsFor:'testing'! |
|
1196 |
||
1197 |
isMemberTag |
|
1198 |
"return true, if this is a struct/union member tag |
|
1199 |
" |
|
1200 |
^ true |
|
1201 |
||
1202 |
||
1203 |
! ! |
|
1204 |
||
1205 |
!Tag::TMethod class methodsFor:'accessing'! |
|
1206 |
||
1207 |
typeIdentifier |
|
1208 |
^ 'M' |
|
1209 |
||
1210 |
"Modified: / 05-05-2011 / 15:41:29 / cg" |
|
1211 |
! ! |
|
1212 |
||
1213 |
!Tag::TMethod methodsFor:'accessing'! |
|
1214 |
||
13449 | 1215 |
isMeta |
1216 |
^ isMeta |
|
1217 |
! |
|
1218 |
||
1219 |
isMeta:aBoolean |
|
1220 |
isMeta := aBoolean. |
|
1221 |
! |
|
1222 |
||
9890 | 1223 |
typeIdentifierInList |
13449 | 1224 |
^ isMeta ifTrue:['M'] ifFalse:['m'] |
9890 | 1225 |
! |
1226 |
||
1227 |
typeString |
|
1228 |
^ 'method' |
|
1229 |
||
1230 |
! ! |
|
1231 |
||
1232 |
!Tag::TMethod methodsFor:'testing'! |
|
1233 |
||
1234 |
isMethodTag |
|
1235 |
"return true, if this is a java method tag |
|
1236 |
" |
|
1237 |
^ true |
|
1238 |
||
1239 |
||
1240 |
! ! |
|
1241 |
||
1242 |
!Tag::TPackage class methodsFor:'accessing'! |
|
1243 |
||
1244 |
typeIdentifier |
|
1245 |
^ 'P' |
|
1246 |
||
1247 |
"Modified: / 05-05-2011 / 15:41:35 / cg" |
|
1248 |
! ! |
|
1249 |
||
1250 |
!Tag::TPackage methodsFor:'accessing'! |
|
1251 |
||
1252 |
typeString |
|
1253 |
^ 'package' |
|
1254 |
||
1255 |
||
1256 |
! ! |
|
1257 |
||
1258 |
!Tag::TPackage methodsFor:'testing'! |
|
1259 |
||
1260 |
isPackageTag |
|
1261 |
"return true, if this is a java package tag |
|
1262 |
" |
|
1263 |
^ true |
|
1264 |
||
1265 |
||
1266 |
! ! |
|
1267 |
||
1268 |
!Tag::TPrologClause class methodsFor:'accessing'! |
|
1269 |
||
1270 |
typeIdentifier |
|
1271 |
^ 'C' |
|
1272 |
||
1273 |
||
1274 |
! ! |
|
1275 |
||
1276 |
!Tag::TPrologClause methodsFor:'accessing'! |
|
1277 |
||
1278 |
typeString |
|
1279 |
^ 'clause' |
|
1280 |
||
1281 |
||
1282 |
! ! |
|
1283 |
||
1284 |
!Tag::TPrologClause methodsFor:'testing'! |
|
1285 |
||
1286 |
isPrologClause |
|
1287 |
"return true, if this is a prolog clause tag |
|
1288 |
" |
|
1289 |
^ true |
|
1290 |
||
1291 |
||
1292 |
! ! |
|
1293 |
||
1294 |
!Tag::TStruct class methodsFor:'accessing'! |
|
1295 |
||
1296 |
typeIdentifier |
|
1297 |
^ 'S' |
|
1298 |
||
1299 |
"Modified: / 05-05-2011 / 15:41:42 / cg" |
|
1300 |
! ! |
|
1301 |
||
1302 |
!Tag::TStruct methodsFor:'accessing'! |
|
1303 |
||
1304 |
typeString |
|
1305 |
^ 'struct' |
|
1306 |
||
1307 |
||
1308 |
! ! |
|
1309 |
||
1310 |
!Tag::TStruct methodsFor:'testing'! |
|
1311 |
||
1312 |
isStructOrUnionTag |
|
1313 |
^ true |
|
1314 |
||
1315 |
"Created: / 05-05-2011 / 15:07:51 / cg" |
|
1316 |
! |
|
1317 |
||
1318 |
isStructTag |
|
1319 |
"return true, if this is a struct tag |
|
1320 |
" |
|
1321 |
^ true |
|
1322 |
||
1323 |
||
1324 |
! ! |
|
1325 |
||
1326 |
!Tag::TTypedef class methodsFor:'accessing'! |
|
1327 |
||
1328 |
typeIdentifier |
|
1329 |
^ 'T' |
|
1330 |
||
1331 |
"Modified: / 05-05-2011 / 15:41:46 / cg" |
|
1332 |
! ! |
|
1333 |
||
1334 |
!Tag::TTypedef methodsFor:'accessing'! |
|
1335 |
||
1336 |
typeString |
|
1337 |
^ 'typedef' |
|
1338 |
||
1339 |
||
1340 |
! ! |
|
1341 |
||
1342 |
!Tag::TTypedef methodsFor:'testing'! |
|
1343 |
||
1344 |
isTypedefTag |
|
1345 |
"return true, if this is a typedef tag |
|
1346 |
" |
|
1347 |
^ true |
|
1348 |
||
1349 |
||
1350 |
! ! |
|
1351 |
||
1352 |
!Tag::TUnion class methodsFor:'accessing'! |
|
1353 |
||
1354 |
typeIdentifier |
|
1355 |
^ 'U' |
|
1356 |
||
1357 |
"Modified: / 05-05-2011 / 15:41:50 / cg" |
|
1358 |
! ! |
|
1359 |
||
1360 |
!Tag::TUnion methodsFor:'accessing'! |
|
1361 |
||
1362 |
typeString |
|
1363 |
^ 'union' |
|
1364 |
||
1365 |
"Modified: / 05-05-2011 / 15:07:12 / cg" |
|
1366 |
! ! |
|
1367 |
||
1368 |
!Tag::TUnion methodsFor:'testing'! |
|
1369 |
||
1370 |
isStructOrUnionTag |
|
1371 |
^ true |
|
1372 |
||
1373 |
"Created: / 05-05-2011 / 15:07:41 / cg" |
|
1374 |
! |
|
1375 |
||
1376 |
isUnionTag |
|
1377 |
"return true, if this is a union tag |
|
1378 |
" |
|
1379 |
^ true |
|
1380 |
||
1381 |
"Created: / 05-05-2011 / 15:07:00 / cg" |
|
1382 |
! ! |
|
1383 |
||
1384 |
!Tag::TVariable class methodsFor:'accessing'! |
|
1385 |
||
1386 |
typeIdentifier |
|
1387 |
^ 'v' |
|
1388 |
||
1389 |
||
1390 |
! ! |
|
1391 |
||
1392 |
!Tag::TVariable methodsFor:'accessing'! |
|
1393 |
||
1394 |
typeString |
|
1395 |
^ 'variable' |
|
1396 |
||
1397 |
||
1398 |
! ! |
|
1399 |
||
1400 |
!Tag::TVariable methodsFor:'testing'! |
|
1401 |
||
1402 |
isVariableTag |
|
1403 |
"return true, if this is a variable tag |
|
1404 |
" |
|
1405 |
^ true |
|
1406 |
||
1407 |
||
1408 |
! ! |
|
1409 |
||
1410 |
!Tag class methodsFor:'documentation'! |
|
1411 |
||
1412 |
version_CVS |
|
13804 | 1413 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Tag.st,v 1.10 2014-02-05 18:56:13 cg Exp $' |
10052 | 1414 |
! |
1415 |
||
1416 |
version_SVN |
|
13804 | 1417 |
^ '$Id: Tools__Tag.st,v 1.10 2014-02-05 18:56:13 cg Exp $' |
9890 | 1418 |
! ! |
12709
b6a7b058e665
Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents:
11803
diff
changeset
|
1419 |