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