author | Claus Gittinger <cg@exept.de> |
Thu, 24 Nov 2011 13:02:05 +0100 | |
changeset 2330 | b189800c0d92 |
parent 2306 | 4c57a9474d2b |
child 2353 | fa7400d022a0 |
permissions | -rw-r--r-- |
454 | 1 |
" |
2151 | 2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
454 | 3 |
|
4 |
This software is furnished under a license and may be used |
|
5 |
only in accordance with the terms of that license and with the |
|
6 |
inclusion of the above copyright notice. This software may not |
|
7 |
be provided or otherwise made available to, or used by, any |
|
8 |
other person. No title to or ownership of the software is |
|
9 |
hereby transferred. |
|
2151 | 10 |
" |
713 | 11 |
"{ Package: 'stx:libjava' }" |
12 |
||
49 | 13 |
Object subclass:#JavaLocalVariableTableEntry |
14 |
instanceVariableNames:'startPC length name signature slot' |
|
15 |
classVariableNames:'' |
|
16 |
poolDictionaries:'' |
|
713 | 17 |
category:'Languages-Java-Support' |
49 | 18 |
! |
19 |
||
454 | 20 |
!JavaLocalVariableTableEntry class methodsFor:'documentation'! |
21 |
||
22 |
copyright |
|
23 |
" |
|
2151 | 24 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
454 | 25 |
|
26 |
This software is furnished under a license and may be used |
|
27 |
only in accordance with the terms of that license and with the |
|
28 |
inclusion of the above copyright notice. This software may not |
|
29 |
be provided or otherwise made available to, or used by, any |
|
30 |
other person. No title to or ownership of the software is |
|
31 |
hereby transferred. |
|
2151 | 32 |
" |
454 | 33 |
! ! |
49 | 34 |
|
255 | 35 |
!JavaLocalVariableTableEntry methodsFor:'accessing'! |
36 |
||
37 |
endPC |
|
38 |
^ startPC + length - 1 |
|
39 |
||
40 |
"Created: / 8.1.1998 / 18:40:56 / cg" |
|
41 |
! |
|
42 |
||
43 |
name |
|
44 |
^ name |
|
45 |
||
46 |
"Created: / 8.1.1998 / 18:41:03 / cg" |
|
47 |
! |
|
48 |
||
49 |
slot |
|
50 |
^ slot |
|
51 |
||
52 |
"Created: / 8.1.1998 / 18:40:45 / cg" |
|
53 |
! |
|
54 |
||
55 |
startPC |
|
56 |
^ startPC |
|
57 |
||
58 |
"Created: / 8.1.1998 / 18:40:27 / cg" |
|
59 |
! ! |
|
60 |
||
61 |
!JavaLocalVariableTableEntry methodsFor:'printing'! |
|
62 |
||
63 |
displayString |
|
64 |
^ '[slot: ' , slot displayString |
|
65 |
, ' name: ', name |
|
66 |
, ' from: ' , startPC printString |
|
67 |
, ' to:' , (startPC+length-1) printString |
|
68 |
, ']' |
|
69 |
||
70 |
"Created: / 8.1.1998 / 18:32:30 / cg" |
|
2151 | 71 |
! |
72 |
||
73 |
printOn: aStream |
|
74 |
||
75 |
aStream nextPutAll: self displayString |
|
76 |
||
77 |
"Created: / 23-11-2010 / 19:45:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
255 | 78 |
! ! |
79 |
||
49 | 80 |
!JavaLocalVariableTableEntry methodsFor:'private accessing'! |
81 |
||
82 |
startPC:start_pc length:l name:nm signature:sig slot:sl |
|
83 |
startPC := start_pc. |
|
84 |
length := l. |
|
85 |
name := nm. |
|
86 |
signature := sig. |
|
87 |
slot := sl |
|
88 |
||
89 |
"Created: 6.5.1996 / 11:18:14 / cg" |
|
90 |
! ! |
|
91 |
||
135 | 92 |
!JavaLocalVariableTableEntry class methodsFor:'documentation'! |
49 | 93 |
|
94 |
version |
|
2306
4c57a9474d2b
fixed: #version_SVN ($ to §)
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
95 |
^ '$Header: /cvs/stx/stx/libjava/JavaLocalVariableTableEntry.st,v 1.10 2011-11-24 11:55:01 cg Exp $' |
2244 | 96 |
! |
97 |
||
98 |
version_CVS |
|
2306
4c57a9474d2b
fixed: #version_SVN ($ to §)
Claus Gittinger <cg@exept.de>
parents:
2244
diff
changeset
|
99 |
^ '$Header: /cvs/stx/stx/libjava/JavaLocalVariableTableEntry.st,v 1.10 2011-11-24 11:55:01 cg Exp $' |
2151 | 100 |
! |
101 |
||
102 |
version_SVN |
|
2244 | 103 |
^ '§Id: JavaLocalVariableTableEntry.st,v 1.8 2011/08/18 18:42:48 vrany Exp §' |
2108 | 104 |
! ! |