PageRenderTime 103ms CodeModel.GetById 84ms app.highlight 12ms RepoModel.GetById 2ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/CallStack.html

#
HTML | 479 lines | 409 code | 58 blank | 12 comment | 0 complexity | 19524ba4508f482c955916d887587581 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:49 GMT-08:00 2008 -->
  6<TITLE>
  7CallStack (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.CallStack class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CallStack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Capabilities.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/CallStack.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="CallStack.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.bsh</FONT>
 78<BR>
 79Class CallStack</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.CallStack</B>
 83</PRE>
 84<HR>
 85<DL>
 86<DT><PRE>public class <B>CallStack</B><DT>extends java.lang.Object</DL>
 87</PRE>
 88
 89<P>
 90A stack of NameSpaces representing the call path.
 91        Each method invocation, for example, pushes a new NameSpace onto the stack.
 92        The top of the stack is always the current namespace of evaluation.
 93        <p>
 94
 95        This is used to support the this.caller magic reference and to print
 96        script "stack traces" when evaluation errors occur.
 97        <p>
 98
 99        Note: it would be awefully nice to use the java.util.Stack here.
100        Sigh... have to stay 1.1 compatible.
101        <p>
102
103        Note: How can this be thread safe, you might ask?  Wouldn't a thread 
104        executing various beanshell methods be mutating the callstack?  Don't we 
105        need one CallStack per Thread in the interpreter?  The answer is that we do.
106        Any java.lang.Thread enters our script via an external (hard) Java 
107        reference via a This type interface, e.g.  the Runnable interface 
108        implemented by This or an arbitrary interface implemented by XThis.  
109        In that case the This invokeMethod() method (called by any interface that 
110        it exposes) creates a new CallStack for each external call.
111        <p>
112<P>
113
114<P>
115<HR>
116
117<P>
118
119<!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121<A NAME="constructor_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Constructor Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#CallStack()">CallStack</A></B>()</CODE>
129
130<BR>
131&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#CallStack(org.gjt.sp.jedit.bsh.NameSpace)">CallStack</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)</CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
138</TR>
139</TABLE>
140&nbsp;
141<!-- ========== METHOD SUMMARY =========== -->
142
143<A NAME="method_summary"><!-- --></A>
144<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
146<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
147<B>Method Summary</B></FONT></TH>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>&nbsp;void</CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#clear()">clear</A></B>()</CODE>
153
154<BR>
155&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html" title="class in org.gjt.sp.jedit.bsh">CallStack</A></CODE></FONT></TD>
160<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#copy()">copy</A></B>()</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Occasionally we need to freeze the callstack for error reporting
164                purposes, etc.</TD>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE>&nbsp;int</CODE></FONT></TD>
169<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#depth()">depth</A></B>()</CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#get(int)">get</A></B>(int&nbsp;depth)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zero based.</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></FONT></TD>
185<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#pop()">pop</A></B>()</CODE>
186
187<BR>
188&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
189</TR>
190<TR BGCOLOR="white" CLASS="TableRowColor">
191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192<CODE>&nbsp;void</CODE></FONT></TD>
193<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#push(org.gjt.sp.jedit.bsh.NameSpace)">push</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;ns)</CODE>
194
195<BR>
196&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>&nbsp;void</CODE></FONT></TD>
201<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#set(int, org.gjt.sp.jedit.bsh.NameSpace)">set</A></B>(int&nbsp;depth,
202    <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;ns)</CODE>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is kind of crazy, but used by the setNameSpace command.</TD>
206</TR>
207<TR BGCOLOR="white" CLASS="TableRowColor">
208<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></FONT></TD>
210<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#swap(org.gjt.sp.jedit.bsh.NameSpace)">swap</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;newTop)</CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swap in the value as the new top of the stack and return the old
214                value.</TD>
215</TR>
216<TR BGCOLOR="white" CLASS="TableRowColor">
217<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>[]</CODE></FONT></TD>
219<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#toArray()">toArray</A></B>()</CODE>
220
221<BR>
222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></FONT></TD>
227<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#top()">top</A></B>()</CODE>
228
229<BR>
230&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
234<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
235<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html#toString()">toString</A></B>()</CODE>
236
237<BR>
238&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
239</TR>
240</TABLE>
241&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
242<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
243<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
244<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
248</TR>
249</TABLE>
250&nbsp;
251<P>
252
253<!-- ========= CONSTRUCTOR DETAIL ======== -->
254
255<A NAME="constructor_detail"><!-- --></A>
256<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
257<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
258<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
259<B>Constructor Detail</B></FONT></TH>
260</TR>
261</TABLE>
262
263<A NAME="CallStack()"><!-- --></A><H3>
264CallStack</H3>
265<PRE>
266public <B>CallStack</B>()</PRE>
267<DL>
268</DL>
269<HR>
270
271<A NAME="CallStack(org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
272CallStack</H3>
273<PRE>
274public <B>CallStack</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;namespace)</PRE>
275<DL>
276</DL>
277
278<!-- ============ METHOD DETAIL ========== -->
279
280<A NAME="method_detail"><!-- --></A>
281<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
282<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
283<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
284<B>Method Detail</B></FONT></TH>
285</TR>
286</TABLE>
287
288<A NAME="clear()"><!-- --></A><H3>
289clear</H3>
290<PRE>
291public void <B>clear</B>()</PRE>
292<DL>
293<DD><DL>
294</DL>
295</DD>
296</DL>
297<HR>
298
299<A NAME="push(org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
300push</H3>
301<PRE>
302public void <B>push</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;ns)</PRE>
303<DL>
304<DD><DL>
305</DL>
306</DD>
307</DL>
308<HR>
309
310<A NAME="top()"><!-- --></A><H3>
311top</H3>
312<PRE>
313public <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A> <B>top</B>()</PRE>
314<DL>
315<DD><DL>
316</DL>
317</DD>
318</DL>
319<HR>
320
321<A NAME="get(int)"><!-- --></A><H3>
322get</H3>
323<PRE>
324public <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A> <B>get</B>(int&nbsp;depth)</PRE>
325<DL>
326<DD>zero based.
327<P>
328<DD><DL>
329</DL>
330</DD>
331</DL>
332<HR>
333
334<A NAME="set(int, org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
335set</H3>
336<PRE>
337public void <B>set</B>(int&nbsp;depth,
338                <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;ns)</PRE>
339<DL>
340<DD>This is kind of crazy, but used by the setNameSpace command.
341                zero based.
342<P>
343<DD><DL>
344</DL>
345</DD>
346</DL>
347<HR>
348
349<A NAME="pop()"><!-- --></A><H3>
350pop</H3>
351<PRE>
352public <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A> <B>pop</B>()</PRE>
353<DL>
354<DD><DL>
355</DL>
356</DD>
357</DL>
358<HR>
359
360<A NAME="swap(org.gjt.sp.jedit.bsh.NameSpace)"><!-- --></A><H3>
361swap</H3>
362<PRE>
363public <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A> <B>swap</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;newTop)</PRE>
364<DL>
365<DD>Swap in the value as the new top of the stack and return the old
366                value.
367<P>
368<DD><DL>
369</DL>
370</DD>
371</DL>
372<HR>
373
374<A NAME="depth()"><!-- --></A><H3>
375depth</H3>
376<PRE>
377public int <B>depth</B>()</PRE>
378<DL>
379<DD><DL>
380</DL>
381</DD>
382</DL>
383<HR>
384
385<A NAME="toArray()"><!-- --></A><H3>
386toArray</H3>
387<PRE>
388public <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>[] <B>toArray</B>()</PRE>
389<DL>
390<DD><DL>
391</DL>
392</DD>
393</DL>
394<HR>
395
396<A NAME="toString()"><!-- --></A><H3>
397toString</H3>
398<PRE>
399public java.lang.String <B>toString</B>()</PRE>
400<DL>
401<DD><DL>
402<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
403</DD>
404<DD><DL>
405</DL>
406</DD>
407</DL>
408<HR>
409
410<A NAME="copy()"><!-- --></A><H3>
411copy</H3>
412<PRE>
413public <A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html" title="class in org.gjt.sp.jedit.bsh">CallStack</A> <B>copy</B>()</PRE>
414<DL>
415<DD>Occasionally we need to freeze the callstack for error reporting
416                purposes, etc.
417<P>
418<DD><DL>
419</DL>
420</DD>
421</DL>
422<!-- ========= END OF CLASS DATA ========= -->
423<HR>
424
425
426<!-- ======= START OF BOTTOM NAVBAR ====== -->
427<A NAME="navbar_bottom"><!-- --></A>
428<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
429<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
430<TR>
431<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
432<A NAME="navbar_bottom_firstrow"><!-- --></A>
433<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
434  <TR ALIGN="center" VALIGN="top">
435  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
436  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
437  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
438  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CallStack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
439  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
440  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
441  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
442  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
443  </TR>
444</TABLE>
445</TD>
446<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
447</EM>
448</TD>
449</TR>
450
451<TR>
452<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
453&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
454&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Capabilities.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
455<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
456  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/CallStack.html" target="_top"><B>FRAMES</B></A>  &nbsp;
457&nbsp;<A HREF="CallStack.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
458&nbsp;
459<NOSCRIPT>
460  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
461</NOSCRIPT>
462
463
464</FONT></TD>
465</TR>
466<TR>
467<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
468  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
469<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
470DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
471</TR>
472</TABLE>
473<A NAME="skip-navbar_bottom"></A>
474<!-- ======== END OF BOTTOM NAVBAR ======= -->
475
476<HR>
477
478</BODY>
479</HTML>