PageRenderTime 56ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
HTML | 728 lines | 639 code | 75 blank | 14 comment | 0 complexity | 4b7dc6ba81411f59b1e2fa55d1d3986b 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. BSHPackageDeclaration (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.BSHPackageDeclaration 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/BSHPackageDeclaration.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/BshMethod.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.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/BSHPackageDeclaration.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="BSHPackageDeclaration.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 BSHPackageDeclaration</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.BSHPackageDeclaration</B>
  71. </PRE>
  72. <HR>
  73. <DL>
  74. <DT><PRE>public class <B>BSHPackageDeclaration</B><DT>extends java.lang.Object</DL>
  75. </PRE>
  76. <P>
  77. <DL>
  78. <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.gjt.sp.jedit.bsh.BSHPackageDeclaration">Serialized Form</A></DL>
  79. <HR>
  80. <P>
  81. <!-- =========== FIELD SUMMARY =========== -->
  82. <A NAME="field_summary"><!-- --></A>
  83. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  84. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  85. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  86. <B>Field Summary</B></FONT></TH>
  87. </TR>
  88. <TR BGCOLOR="white" CLASS="TableRowColor">
  89. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  90. <CODE>protected &nbsp;org.gjt.sp.jedit.bsh.Node[]</CODE></FONT></TD>
  91. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#children">children</A></B></CODE>
  92. <BR>
  93. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  94. </TR>
  95. <TR BGCOLOR="white" CLASS="TableRowColor">
  96. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  97. <CODE>protected &nbsp;int</CODE></FONT></TD>
  98. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#id">id</A></B></CODE>
  99. <BR>
  100. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  101. </TR>
  102. <TR BGCOLOR="white" CLASS="TableRowColor">
  103. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  104. <CODE>static&nbsp;org.gjt.sp.jedit.bsh.SimpleNode</CODE></FONT></TD>
  105. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#JAVACODE">JAVACODE</A></B></CODE>
  106. <BR>
  107. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  111. <CODE>protected &nbsp;org.gjt.sp.jedit.bsh.Node</CODE></FONT></TD>
  112. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#parent">parent</A></B></CODE>
  113. <BR>
  114. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  115. </TR>
  116. </TABLE>
  117. &nbsp;
  118. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  119. <A NAME="constructor_summary"><!-- --></A>
  120. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  121. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  122. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  123. <B>Constructor Summary</B></FONT></TH>
  124. </TR>
  125. <TR BGCOLOR="white" CLASS="TableRowColor">
  126. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#BSHPackageDeclaration(int)">BSHPackageDeclaration</A></B>(int&nbsp;id)</CODE>
  127. <BR>
  128. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  129. </TR>
  130. </TABLE>
  131. &nbsp;
  132. <!-- ========== METHOD SUMMARY =========== -->
  133. <A NAME="method_summary"><!-- --></A>
  134. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  135. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  136. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  137. <B>Method Summary</B></FONT></TH>
  138. </TR>
  139. <TR BGCOLOR="white" CLASS="TableRowColor">
  140. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  141. <CODE>&nbsp;void</CODE></FONT></TD>
  142. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#dump(java.lang.String)">dump</A></B>(java.lang.String&nbsp;prefix)</CODE>
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  148. <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
  149. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#eval(org.gjt.sp.jedit.bsh.CallStack, org.gjt.sp.jedit.bsh.Interpreter)">eval</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html" title="class in org.gjt.sp.jedit.bsh">CallStack</A>&nbsp;callstack,
  150. <A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh">Interpreter</A>&nbsp;interpreter)</CODE>
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is the general signature for evaluation of a node.</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>&nbsp;org.gjt.sp.jedit.bsh.SimpleNode</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#getChild(int)">getChild</A></B>(int&nbsp;i)</CODE>
  158. <BR>
  159. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  163. <CODE>&nbsp;int</CODE></FONT></TD>
  164. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#getLineNumber()">getLineNumber</A></B>()</CODE>
  165. <BR>
  166. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the line number of the starting token</TD>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  170. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  171. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#getSourceFile()">getSourceFile</A></B>()</CODE>
  172. <BR>
  173. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of the source file (or more generally source) of
  174. the text from which this node was parsed.</TD>
  175. </TR>
  176. <TR BGCOLOR="white" CLASS="TableRowColor">
  177. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  178. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  179. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#getText()">getText</A></B>()</CODE>
  180. <BR>
  181. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the text of the tokens comprising this node.</TD>
  182. </TR>
  183. <TR BGCOLOR="white" CLASS="TableRowColor">
  184. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  185. <CODE>&nbsp;void</CODE></FONT></TD>
  186. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtAddChild(org.gjt.sp.jedit.bsh.Node, int)">jjtAddChild</A></B>(org.gjt.sp.jedit.bsh.Node&nbsp;n,
  187. int&nbsp;i)</CODE>
  188. <BR>
  189. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method tells the node to add its argument to the node's
  190. list of children.</TD>
  191. </TR>
  192. <TR BGCOLOR="white" CLASS="TableRowColor">
  193. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  194. <CODE>&nbsp;void</CODE></FONT></TD>
  195. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtClose()">jjtClose</A></B>()</CODE>
  196. <BR>
  197. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called after all the child nodes have been
  198. added.</TD>
  199. </TR>
  200. <TR BGCOLOR="white" CLASS="TableRowColor">
  201. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  202. <CODE>&nbsp;org.gjt.sp.jedit.bsh.Node</CODE></FONT></TD>
  203. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtGetChild(int)">jjtGetChild</A></B>(int&nbsp;i)</CODE>
  204. <BR>
  205. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns a child node.</TD>
  206. </TR>
  207. <TR BGCOLOR="white" CLASS="TableRowColor">
  208. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  209. <CODE>&nbsp;int</CODE></FONT></TD>
  210. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtGetNumChildren()">jjtGetNumChildren</A></B>()</CODE>
  211. <BR>
  212. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the number of children the node has.</TD>
  213. </TR>
  214. <TR BGCOLOR="white" CLASS="TableRowColor">
  215. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  216. <CODE>&nbsp;org.gjt.sp.jedit.bsh.Node</CODE></FONT></TD>
  217. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtGetParent()">jjtGetParent</A></B>()</CODE>
  218. <BR>
  219. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  220. </TR>
  221. <TR BGCOLOR="white" CLASS="TableRowColor">
  222. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  223. <CODE>&nbsp;void</CODE></FONT></TD>
  224. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtOpen()">jjtOpen</A></B>()</CODE>
  225. <BR>
  226. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called after the node has been made the current
  227. node.</TD>
  228. </TR>
  229. <TR BGCOLOR="white" CLASS="TableRowColor">
  230. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  231. <CODE>&nbsp;void</CODE></FONT></TD>
  232. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#jjtSetParent(org.gjt.sp.jedit.bsh.Node)">jjtSetParent</A></B>(org.gjt.sp.jedit.bsh.Node&nbsp;n)</CODE>
  233. <BR>
  234. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This pair of methods are used to inform the node of its
  235. parent.</TD>
  236. </TR>
  237. <TR BGCOLOR="white" CLASS="TableRowColor">
  238. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  239. <CODE>&nbsp;void</CODE></FONT></TD>
  240. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#prune()">prune</A></B>()</CODE>
  241. <BR>
  242. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Detach this node from its parent.</TD>
  243. </TR>
  244. <TR BGCOLOR="white" CLASS="TableRowColor">
  245. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  246. <CODE>&nbsp;void</CODE></FONT></TD>
  247. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#setSourceFile(java.lang.String)">setSourceFile</A></B>(java.lang.String&nbsp;sourceFile)</CODE>
  248. <BR>
  249. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the source file (or more generally source) of
  250. the text from which this node was parsed.</TD>
  251. </TR>
  252. <TR BGCOLOR="white" CLASS="TableRowColor">
  253. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  254. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  255. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#toString()">toString</A></B>()</CODE>
  256. <BR>
  257. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  258. </TR>
  259. <TR BGCOLOR="white" CLASS="TableRowColor">
  260. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  261. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  262. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html#toString(java.lang.String)">toString</A></B>(java.lang.String&nbsp;prefix)</CODE>
  263. <BR>
  264. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  265. </TR>
  266. </TABLE>
  267. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  268. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  269. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  270. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  271. </TR>
  272. <TR BGCOLOR="white" CLASS="TableRowColor">
  273. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  274. </TR>
  275. </TABLE>
  276. &nbsp;
  277. <P>
  278. <!-- ============ FIELD DETAIL =========== -->
  279. <A NAME="field_detail"><!-- --></A>
  280. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  281. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  282. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  283. <B>Field Detail</B></FONT></TH>
  284. </TR>
  285. </TABLE>
  286. <A NAME="JAVACODE"><!-- --></A><H3>
  287. JAVACODE</H3>
  288. <PRE>
  289. public static org.gjt.sp.jedit.bsh.SimpleNode <B>JAVACODE</B></PRE>
  290. <DL>
  291. <DL>
  292. </DL>
  293. </DL>
  294. <HR>
  295. <A NAME="parent"><!-- --></A><H3>
  296. parent</H3>
  297. <PRE>
  298. protected org.gjt.sp.jedit.bsh.Node <B>parent</B></PRE>
  299. <DL>
  300. <DL>
  301. </DL>
  302. </DL>
  303. <HR>
  304. <A NAME="children"><!-- --></A><H3>
  305. children</H3>
  306. <PRE>
  307. protected org.gjt.sp.jedit.bsh.Node[] <B>children</B></PRE>
  308. <DL>
  309. <DL>
  310. </DL>
  311. </DL>
  312. <HR>
  313. <A NAME="id"><!-- --></A><H3>
  314. id</H3>
  315. <PRE>
  316. protected int <B>id</B></PRE>
  317. <DL>
  318. <DL>
  319. </DL>
  320. </DL>
  321. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  322. <A NAME="constructor_detail"><!-- --></A>
  323. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  324. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  325. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  326. <B>Constructor Detail</B></FONT></TH>
  327. </TR>
  328. </TABLE>
  329. <A NAME="BSHPackageDeclaration(int)"><!-- --></A><H3>
  330. BSHPackageDeclaration</H3>
  331. <PRE>
  332. public <B>BSHPackageDeclaration</B>(int&nbsp;id)</PRE>
  333. <DL>
  334. </DL>
  335. <!-- ============ METHOD DETAIL ========== -->
  336. <A NAME="method_detail"><!-- --></A>
  337. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  338. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  339. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  340. <B>Method Detail</B></FONT></TH>
  341. </TR>
  342. </TABLE>
  343. <A NAME="eval(org.gjt.sp.jedit.bsh.CallStack, org.gjt.sp.jedit.bsh.Interpreter)"><!-- --></A><H3>
  344. eval</H3>
  345. <PRE>
  346. public java.lang.Object <B>eval</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html" title="class in org.gjt.sp.jedit.bsh">CallStack</A>&nbsp;callstack,
  347. <A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh">Interpreter</A>&nbsp;interpreter)
  348. throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/EvalError.html" title="class in org.gjt.sp.jedit.bsh">EvalError</A></PRE>
  349. <DL>
  350. <DD>This is the general signature for evaluation of a node.
  351. <P>
  352. <DD><DL>
  353. </DL>
  354. </DD>
  355. <DD><DL>
  356. <DT><B>Throws:</B>
  357. <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/EvalError.html" title="class in org.gjt.sp.jedit.bsh">EvalError</A></CODE></DL>
  358. </DD>
  359. </DL>
  360. <HR>
  361. <A NAME="jjtOpen()"><!-- --></A><H3>
  362. jjtOpen</H3>
  363. <PRE>
  364. public void <B>jjtOpen</B>()</PRE>
  365. <DL>
  366. <DD>This method is called after the node has been made the current
  367. node. It indicates that child nodes can now be added to it.
  368. <P>
  369. <DD><DL>
  370. </DL>
  371. </DD>
  372. <DD><DL>
  373. </DL>
  374. </DD>
  375. </DL>
  376. <HR>
  377. <A NAME="jjtClose()"><!-- --></A><H3>
  378. jjtClose</H3>
  379. <PRE>
  380. public void <B>jjtClose</B>()</PRE>
  381. <DL>
  382. <DD>This method is called after all the child nodes have been
  383. added.
  384. <P>
  385. <DD><DL>
  386. </DL>
  387. </DD>
  388. <DD><DL>
  389. </DL>
  390. </DD>
  391. </DL>
  392. <HR>
  393. <A NAME="jjtSetParent(org.gjt.sp.jedit.bsh.Node)"><!-- --></A><H3>
  394. jjtSetParent</H3>
  395. <PRE>
  396. public void <B>jjtSetParent</B>(org.gjt.sp.jedit.bsh.Node&nbsp;n)</PRE>
  397. <DL>
  398. <DD>This pair of methods are used to inform the node of its
  399. parent.
  400. <P>
  401. <DD><DL>
  402. </DL>
  403. </DD>
  404. <DD><DL>
  405. </DL>
  406. </DD>
  407. </DL>
  408. <HR>
  409. <A NAME="jjtGetParent()"><!-- --></A><H3>
  410. jjtGetParent</H3>
  411. <PRE>
  412. public org.gjt.sp.jedit.bsh.Node <B>jjtGetParent</B>()</PRE>
  413. <DL>
  414. <DD><DL>
  415. </DL>
  416. </DD>
  417. <DD><DL>
  418. </DL>
  419. </DD>
  420. </DL>
  421. <HR>
  422. <A NAME="jjtAddChild(org.gjt.sp.jedit.bsh.Node, int)"><!-- --></A><H3>
  423. jjtAddChild</H3>
  424. <PRE>
  425. public void <B>jjtAddChild</B>(org.gjt.sp.jedit.bsh.Node&nbsp;n,
  426. int&nbsp;i)</PRE>
  427. <DL>
  428. <DD>This method tells the node to add its argument to the node's
  429. list of children.
  430. <P>
  431. <DD><DL>
  432. </DL>
  433. </DD>
  434. <DD><DL>
  435. </DL>
  436. </DD>
  437. </DL>
  438. <HR>
  439. <A NAME="jjtGetChild(int)"><!-- --></A><H3>
  440. jjtGetChild</H3>
  441. <PRE>
  442. public org.gjt.sp.jedit.bsh.Node <B>jjtGetChild</B>(int&nbsp;i)</PRE>
  443. <DL>
  444. <DD>This method returns a child node. The children are numbered
  445. from zero, left to right.
  446. <P>
  447. <DD><DL>
  448. </DL>
  449. </DD>
  450. <DD><DL>
  451. </DL>
  452. </DD>
  453. </DL>
  454. <HR>
  455. <A NAME="getChild(int)"><!-- --></A><H3>
  456. getChild</H3>
  457. <PRE>
  458. public org.gjt.sp.jedit.bsh.SimpleNode <B>getChild</B>(int&nbsp;i)</PRE>
  459. <DL>
  460. <DD><DL>
  461. </DL>
  462. </DD>
  463. <DD><DL>
  464. </DL>
  465. </DD>
  466. </DL>
  467. <HR>
  468. <A NAME="jjtGetNumChildren()"><!-- --></A><H3>
  469. jjtGetNumChildren</H3>
  470. <PRE>
  471. public int <B>jjtGetNumChildren</B>()</PRE>
  472. <DL>
  473. <DD>Return the number of children the node has.
  474. <P>
  475. <DD><DL>
  476. </DL>
  477. </DD>
  478. <DD><DL>
  479. </DL>
  480. </DD>
  481. </DL>
  482. <HR>
  483. <A NAME="toString()"><!-- --></A><H3>
  484. toString</H3>
  485. <PRE>
  486. public java.lang.String <B>toString</B>()</PRE>
  487. <DL>
  488. <DD><DL>
  489. <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
  490. </DD>
  491. <DD><DL>
  492. </DL>
  493. </DD>
  494. </DL>
  495. <HR>
  496. <A NAME="toString(java.lang.String)"><!-- --></A><H3>
  497. toString</H3>
  498. <PRE>
  499. public java.lang.String <B>toString</B>(java.lang.String&nbsp;prefix)</PRE>
  500. <DL>
  501. <DD><DL>
  502. </DL>
  503. </DD>
  504. <DD><DL>
  505. </DL>
  506. </DD>
  507. </DL>
  508. <HR>
  509. <A NAME="dump(java.lang.String)"><!-- --></A><H3>
  510. dump</H3>
  511. <PRE>
  512. public void <B>dump</B>(java.lang.String&nbsp;prefix)</PRE>
  513. <DL>
  514. <DD><DL>
  515. </DL>
  516. </DD>
  517. <DD><DL>
  518. </DL>
  519. </DD>
  520. </DL>
  521. <HR>
  522. <A NAME="prune()"><!-- --></A><H3>
  523. prune</H3>
  524. <PRE>
  525. public void <B>prune</B>()</PRE>
  526. <DL>
  527. <DD>Detach this node from its parent.
  528. This is primarily useful in node serialization.
  529. (see BSHMethodDeclaration)
  530. <P>
  531. <DD><DL>
  532. </DL>
  533. </DD>
  534. <DD><DL>
  535. </DL>
  536. </DD>
  537. </DL>
  538. <HR>
  539. <A NAME="setSourceFile(java.lang.String)"><!-- --></A><H3>
  540. setSourceFile</H3>
  541. <PRE>
  542. public void <B>setSourceFile</B>(java.lang.String&nbsp;sourceFile)</PRE>
  543. <DL>
  544. <DD>Set the name of the source file (or more generally source) of
  545. the text from which this node was parsed.
  546. <P>
  547. <DD><DL>
  548. </DL>
  549. </DD>
  550. <DD><DL>
  551. </DL>
  552. </DD>
  553. </DL>
  554. <HR>
  555. <A NAME="getSourceFile()"><!-- --></A><H3>
  556. getSourceFile</H3>
  557. <PRE>
  558. public java.lang.String <B>getSourceFile</B>()</PRE>
  559. <DL>
  560. <DD>Get the name of the source file (or more generally source) of
  561. the text from which this node was parsed.
  562. This will recursively search up the chain of parent nodes until
  563. a source is found or return a string indicating that the source
  564. is unknown.
  565. <P>
  566. <DD><DL>
  567. </DL>
  568. </DD>
  569. <DD><DL>
  570. </DL>
  571. </DD>
  572. </DL>
  573. <HR>
  574. <A NAME="getLineNumber()"><!-- --></A><H3>
  575. getLineNumber</H3>
  576. <PRE>
  577. public int <B>getLineNumber</B>()</PRE>
  578. <DL>
  579. <DD>Get the line number of the starting token
  580. <P>
  581. <DD><DL>
  582. </DL>
  583. </DD>
  584. <DD><DL>
  585. </DL>
  586. </DD>
  587. </DL>
  588. <HR>
  589. <A NAME="getText()"><!-- --></A><H3>
  590. getText</H3>
  591. <PRE>
  592. public java.lang.String <B>getText</B>()</PRE>
  593. <DL>
  594. <DD>Get the text of the tokens comprising this node.
  595. <P>
  596. <DD><DL>
  597. </DL>
  598. </DD>
  599. <DD><DL>
  600. </DL>
  601. </DD>
  602. </DL>
  603. <!-- ========= END OF CLASS DATA ========= -->
  604. <HR>
  605. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  606. <A NAME="navbar_bottom"><!-- --></A>
  607. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  608. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  609. <TR>
  610. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  611. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  612. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  613. <TR ALIGN="center" VALIGN="top">
  614. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  615. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  616. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  617. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BSHPackageDeclaration.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  618. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  619. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  620. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  621. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  622. </TR>
  623. </TABLE>
  624. </TD>
  625. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  626. </EM>
  627. </TD>
  628. </TR>
  629. <TR>
  630. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  631. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
  632. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/CallStack.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
  633. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  634. <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/BSHPackageDeclaration.html" target="_top"><B>FRAMES</B></A> &nbsp;
  635. &nbsp;<A HREF="BSHPackageDeclaration.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  636. &nbsp;
  637. <NOSCRIPT>
  638. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  639. </NOSCRIPT>
  640. </FONT></TD>
  641. </TR>
  642. <TR>
  643. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  644. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  645. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  646. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  647. </TR>
  648. </TABLE>
  649. <A NAME="skip-navbar_bottom"></A>
  650. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  651. <HR>
  652. </BODY>
  653. </HTML>