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