PageRenderTime 80ms CodeModel.GetById 36ms app.highlight 38ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/syntax/ParserRuleSet.html

#
HTML | 814 lines | 710 code | 92 blank | 12 comment | 0 complexity | 0cc18b0f825adceeba358a8359294e6f 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:14:13 GMT-08:00 2008 -->
  6<TITLE>
  7ParserRuleSet (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.syntax.ParserRuleSet 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/ParserRuleSet.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/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax"><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/syntax/ParserRuleSet.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="ParserRuleSet.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.syntax</FONT>
 78<BR>
 79Class ParserRuleSet</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.syntax.ParserRuleSet</B>
 83</PRE>
 84<HR>
 85<DL>
 86<DT><PRE>public class <B>ParserRuleSet</B><DT>extends java.lang.Object</DL>
 87</PRE>
 88
 89<P>
 90A set of parser rules.
 91<P>
 92
 93<P>
 94<HR>
 95
 96<P>
 97
 98<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 99
100<A NAME="constructor_summary"><!-- --></A>
101<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
102<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
104<B>Constructor Summary</B></FONT></TH>
105</TR>
106<TR BGCOLOR="white" CLASS="TableRowColor">
107<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#ParserRuleSet(java.lang.String, java.lang.String)">ParserRuleSet</A></B>(java.lang.String&nbsp;modeName,
108              java.lang.String&nbsp;setName)</CODE>
109
110<BR>
111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
112</TR>
113</TABLE>
114&nbsp;
115<!-- ========== METHOD SUMMARY =========== -->
116
117<A NAME="method_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Method Summary</B></FONT></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>&nbsp;void</CODE></FONT></TD>
126<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#addRule(org.gjt.sp.jedit.syntax.ParserRule)">addRule</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A>&nbsp;r)</CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>&nbsp;void</CODE></FONT></TD>
134<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#addRuleSet(org.gjt.sp.jedit.syntax.ParserRuleSet)">addRuleSet</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A>&nbsp;ruleset)</CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds all rules contained in the given ruleset.</TD>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141<CODE>&nbsp;byte</CODE></FONT></TD>
142<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getDefault()">getDefault</A></B>()</CODE>
143
144<BR>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149<CODE>&nbsp;java.util.regex.Pattern</CODE></FONT></TD>
150<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getDigitRegexp()">getDigitRegexp</A></B>()</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A></CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getEscapeRule()">getEscapeRule</A></B>()</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<CODE>&nbsp;boolean</CODE></FONT></TD>
166<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getHighlightDigits()">getHighlightDigits</A></B>()</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173<CODE>&nbsp;boolean</CODE></FONT></TD>
174<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getIgnoreCase()">getIgnoreCase</A></B>()</CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/KeywordMap.html" title="class in org.gjt.sp.jedit.syntax">KeywordMap</A></CODE></FONT></TD>
182<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getKeywords()">getKeywords</A></B>()</CODE>
183
184<BR>
185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
186</TR>
187<TR BGCOLOR="white" CLASS="TableRowColor">
188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
190<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getModeName()">getModeName</A></B>()</CODE>
191
192<BR>
193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
198<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getName()">getName</A></B>()</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/syntax/ParserRuleSet.html#getNoWordSep()">getNoWordSep</A></B>()</CODE>
207
208<BR>
209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
210</TR>
211<TR BGCOLOR="white" CLASS="TableRowColor">
212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213<CODE>&nbsp;java.util.Hashtable&lt;java.lang.String,java.lang.String&gt;</CODE></FONT></TD>
214<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getProperties()">getProperties</A></B>()</CODE>
215
216<BR>
217&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221<CODE>&nbsp;int</CODE></FONT></TD>
222<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getRuleCount()">getRuleCount</A></B>()</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
226</TR>
227<TR BGCOLOR="white" CLASS="TableRowColor">
228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A></CODE></FONT></TD>
230<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getRules(char)">getRules</A></B>(char&nbsp;ch)</CODE>
231
232<BR>
233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>As the linking between rules is not anymore done within the rule, use <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getRules(java.lang.Character)"><CODE>getRules(Character)</CODE></A> instead</I></TD>
234</TR>
235<TR BGCOLOR="white" CLASS="TableRowColor">
236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A>&gt;</CODE></FONT></TD>
238<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getRules(java.lang.Character)">getRules</A></B>(java.lang.Character&nbsp;key)</CODE>
239
240<BR>
241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
242</TR>
243<TR BGCOLOR="white" CLASS="TableRowColor">
244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
246<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getSetName()">getSetName</A></B>()</CODE>
247
248<BR>
249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A></CODE></FONT></TD>
254<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getStandardRuleSet(byte)">getStandardRuleSet</A></B>(byte&nbsp;id)</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a parser rule set that highlights everything with the
258 specified token type.</TD>
259</TR>
260<TR BGCOLOR="white" CLASS="TableRowColor">
261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262<CODE>&nbsp;int</CODE></FONT></TD>
263<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getTerminateChar()">getTerminateChar</A></B>()</CODE>
264
265<BR>
266&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of chars that can be read before the rule parsing stops.</TD>
267</TR>
268<TR BGCOLOR="white" CLASS="TableRowColor">
269<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270<CODE>&nbsp;boolean</CODE></FONT></TD>
271<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#isBuiltIn()">isBuiltIn</A></B>()</CODE>
272
273<BR>
274&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if this is a built-in ruleset.</TD>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>&nbsp;void</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#resolveImports()">resolveImports</A></B>()</CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolves all rulesets added with <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#addRuleSet(org.gjt.sp.jedit.syntax.ParserRuleSet)"><CODE>addRuleSet(ParserRuleSet)</CODE></A>.</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>&nbsp;void</CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setDefault(byte)">setDefault</A></B>(byte&nbsp;def)</CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>&nbsp;void</CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setDigitRegexp(java.util.regex.Pattern)">setDigitRegexp</A></B>(java.util.regex.Pattern&nbsp;digitRE)</CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
299</TR>
300<TR BGCOLOR="white" CLASS="TableRowColor">
301<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302<CODE>&nbsp;void</CODE></FONT></TD>
303<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setEscapeRule(org.gjt.sp.jedit.syntax.ParserRule)">setEscapeRule</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A>&nbsp;escapeRule)</CODE>
304
305<BR>
306&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
307</TR>
308<TR BGCOLOR="white" CLASS="TableRowColor">
309<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310<CODE>&nbsp;void</CODE></FONT></TD>
311<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setHighlightDigits(boolean)">setHighlightDigits</A></B>(boolean&nbsp;highlightDigits)</CODE>
312
313<BR>
314&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
315</TR>
316<TR BGCOLOR="white" CLASS="TableRowColor">
317<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318<CODE>&nbsp;void</CODE></FONT></TD>
319<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setIgnoreCase(boolean)">setIgnoreCase</A></B>(boolean&nbsp;b)</CODE>
320
321<BR>
322&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
323</TR>
324<TR BGCOLOR="white" CLASS="TableRowColor">
325<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326<CODE>&nbsp;void</CODE></FONT></TD>
327<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setKeywords(org.gjt.sp.jedit.syntax.KeywordMap)">setKeywords</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/KeywordMap.html" title="class in org.gjt.sp.jedit.syntax">KeywordMap</A>&nbsp;km)</CODE>
328
329<BR>
330&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
331</TR>
332<TR BGCOLOR="white" CLASS="TableRowColor">
333<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
334<CODE>&nbsp;void</CODE></FONT></TD>
335<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setNoWordSep(java.lang.String)">setNoWordSep</A></B>(java.lang.String&nbsp;noWordSep)</CODE>
336
337<BR>
338&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
339</TR>
340<TR BGCOLOR="white" CLASS="TableRowColor">
341<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342<CODE>&nbsp;void</CODE></FONT></TD>
343<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setProperties(java.util.Hashtable)">setProperties</A></B>(java.util.Hashtable&lt;java.lang.String,java.lang.String&gt;&nbsp;props)</CODE>
344
345<BR>
346&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
347</TR>
348<TR BGCOLOR="white" CLASS="TableRowColor">
349<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350<CODE>&nbsp;void</CODE></FONT></TD>
351<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#setTerminateChar(int)">setTerminateChar</A></B>(int&nbsp;atChar)</CODE>
352
353<BR>
354&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
355</TR>
356<TR BGCOLOR="white" CLASS="TableRowColor">
357<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
359<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#toString()">toString</A></B>()</CODE>
360
361<BR>
362&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
363</TR>
364</TABLE>
365&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
366<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
367<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
368<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
369</TR>
370<TR BGCOLOR="white" CLASS="TableRowColor">
371<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
372</TR>
373</TABLE>
374&nbsp;
375<P>
376
377<!-- ========= CONSTRUCTOR DETAIL ======== -->
378
379<A NAME="constructor_detail"><!-- --></A>
380<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
381<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
382<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
383<B>Constructor Detail</B></FONT></TH>
384</TR>
385</TABLE>
386
387<A NAME="ParserRuleSet(java.lang.String, java.lang.String)"><!-- --></A><H3>
388ParserRuleSet</H3>
389<PRE>
390public <B>ParserRuleSet</B>(java.lang.String&nbsp;modeName,
391                     java.lang.String&nbsp;setName)</PRE>
392<DL>
393</DL>
394
395<!-- ============ METHOD DETAIL ========== -->
396
397<A NAME="method_detail"><!-- --></A>
398<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
399<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
400<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
401<B>Method Detail</B></FONT></TH>
402</TR>
403</TABLE>
404
405<A NAME="getStandardRuleSet(byte)"><!-- --></A><H3>
406getStandardRuleSet</H3>
407<PRE>
408public static <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A> <B>getStandardRuleSet</B>(byte&nbsp;id)</PRE>
409<DL>
410<DD>Returns a parser rule set that highlights everything with the
411 specified token type.
412<P>
413<DD><DL>
414<DT><B>Parameters:</B><DD><CODE>id</CODE> - The token type</DL>
415</DD>
416</DL>
417<HR>
418
419<A NAME="getModeName()"><!-- --></A><H3>
420getModeName</H3>
421<PRE>
422public java.lang.String <B>getModeName</B>()</PRE>
423<DL>
424<DD><DL>
425</DL>
426</DD>
427</DL>
428<HR>
429
430<A NAME="getSetName()"><!-- --></A><H3>
431getSetName</H3>
432<PRE>
433public java.lang.String <B>getSetName</B>()</PRE>
434<DL>
435<DD><DL>
436</DL>
437</DD>
438</DL>
439<HR>
440
441<A NAME="getName()"><!-- --></A><H3>
442getName</H3>
443<PRE>
444public java.lang.String <B>getName</B>()</PRE>
445<DL>
446<DD><DL>
447</DL>
448</DD>
449</DL>
450<HR>
451
452<A NAME="getProperties()"><!-- --></A><H3>
453getProperties</H3>
454<PRE>
455public java.util.Hashtable&lt;java.lang.String,java.lang.String&gt; <B>getProperties</B>()</PRE>
456<DL>
457<DD><DL>
458</DL>
459</DD>
460</DL>
461<HR>
462
463<A NAME="setProperties(java.util.Hashtable)"><!-- --></A><H3>
464setProperties</H3>
465<PRE>
466public void <B>setProperties</B>(java.util.Hashtable&lt;java.lang.String,java.lang.String&gt;&nbsp;props)</PRE>
467<DL>
468<DD><DL>
469</DL>
470</DD>
471</DL>
472<HR>
473
474<A NAME="resolveImports()"><!-- --></A><H3>
475resolveImports</H3>
476<PRE>
477public void <B>resolveImports</B>()</PRE>
478<DL>
479<DD>Resolves all rulesets added with <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#addRuleSet(org.gjt.sp.jedit.syntax.ParserRuleSet)"><CODE>addRuleSet(ParserRuleSet)</CODE></A>.
480<P>
481<DD><DL>
482<DT><B>Since:</B></DT>
483  <DD>jEdit 4.2pre3</DD>
484</DL>
485</DD>
486</DL>
487<HR>
488
489<A NAME="addRuleSet(org.gjt.sp.jedit.syntax.ParserRuleSet)"><!-- --></A><H3>
490addRuleSet</H3>
491<PRE>
492public void <B>addRuleSet</B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A>&nbsp;ruleset)</PRE>
493<DL>
494<DD>Adds all rules contained in the given ruleset.
495<P>
496<DD><DL>
497<DT><B>Parameters:</B><DD><CODE>ruleset</CODE> - The ruleset<DT><B>Since:</B></DT>
498  <DD>jEdit 4.2pre3</DD>
499</DL>
500</DD>
501</DL>
502<HR>
503
504<A NAME="addRule(org.gjt.sp.jedit.syntax.ParserRule)"><!-- --></A><H3>
505addRule</H3>
506<PRE>
507public void <B>addRule</B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A>&nbsp;r)</PRE>
508<DL>
509<DD><DL>
510</DL>
511</DD>
512</DL>
513<HR>
514
515<A NAME="getRules(char)"><!-- --></A><H3>
516getRules</H3>
517<PRE>
518<FONT SIZE="-1">@Deprecated
519</FONT>public <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A> <B>getRules</B>(char&nbsp;ch)</PRE>
520<DL>
521<DD><B>Deprecated.</B>&nbsp;<I>As the linking between rules is not anymore done within the rule, use <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html#getRules(java.lang.Character)"><CODE>getRules(Character)</CODE></A> instead</I>
522<P>
523<DD><DL>
524</DL>
525</DD>
526</DL>
527<HR>
528
529<A NAME="getRules(java.lang.Character)"><!-- --></A><H3>
530getRules</H3>
531<PRE>
532public java.util.List&lt;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A>&gt; <B>getRules</B>(java.lang.Character&nbsp;key)</PRE>
533<DL>
534<DD><DL>
535</DL>
536</DD>
537</DL>
538<HR>
539
540<A NAME="getRuleCount()"><!-- --></A><H3>
541getRuleCount</H3>
542<PRE>
543public int <B>getRuleCount</B>()</PRE>
544<DL>
545<DD><DL>
546</DL>
547</DD>
548</DL>
549<HR>
550
551<A NAME="getTerminateChar()"><!-- --></A><H3>
552getTerminateChar</H3>
553<PRE>
554public int <B>getTerminateChar</B>()</PRE>
555<DL>
556<DD>Returns the number of chars that can be read before the rule parsing stops.
557<P>
558<DD><DL>
559
560<DT><B>Returns:</B><DD>a number of chars or -1 (default value) if there is no limit</DL>
561</DD>
562</DL>
563<HR>
564
565<A NAME="setTerminateChar(int)"><!-- --></A><H3>
566setTerminateChar</H3>
567<PRE>
568public void <B>setTerminateChar</B>(int&nbsp;atChar)</PRE>
569<DL>
570<DD><DL>
571</DL>
572</DD>
573</DL>
574<HR>
575
576<A NAME="getIgnoreCase()"><!-- --></A><H3>
577getIgnoreCase</H3>
578<PRE>
579public boolean <B>getIgnoreCase</B>()</PRE>
580<DL>
581<DD><DL>
582</DL>
583</DD>
584</DL>
585<HR>
586
587<A NAME="setIgnoreCase(boolean)"><!-- --></A><H3>
588setIgnoreCase</H3>
589<PRE>
590public void <B>setIgnoreCase</B>(boolean&nbsp;b)</PRE>
591<DL>
592<DD><DL>
593</DL>
594</DD>
595</DL>
596<HR>
597
598<A NAME="getKeywords()"><!-- --></A><H3>
599getKeywords</H3>
600<PRE>
601public <A HREF="../../../../../org/gjt/sp/jedit/syntax/KeywordMap.html" title="class in org.gjt.sp.jedit.syntax">KeywordMap</A> <B>getKeywords</B>()</PRE>
602<DL>
603<DD><DL>
604</DL>
605</DD>
606</DL>
607<HR>
608
609<A NAME="setKeywords(org.gjt.sp.jedit.syntax.KeywordMap)"><!-- --></A><H3>
610setKeywords</H3>
611<PRE>
612public void <B>setKeywords</B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/KeywordMap.html" title="class in org.gjt.sp.jedit.syntax">KeywordMap</A>&nbsp;km)</PRE>
613<DL>
614<DD><DL>
615</DL>
616</DD>
617</DL>
618<HR>
619
620<A NAME="getHighlightDigits()"><!-- --></A><H3>
621getHighlightDigits</H3>
622<PRE>
623public boolean <B>getHighlightDigits</B>()</PRE>
624<DL>
625<DD><DL>
626</DL>
627</DD>
628</DL>
629<HR>
630
631<A NAME="setHighlightDigits(boolean)"><!-- --></A><H3>
632setHighlightDigits</H3>
633<PRE>
634public void <B>setHighlightDigits</B>(boolean&nbsp;highlightDigits)</PRE>
635<DL>
636<DD><DL>
637</DL>
638</DD>
639</DL>
640<HR>
641
642<A NAME="getDigitRegexp()"><!-- --></A><H3>
643getDigitRegexp</H3>
644<PRE>
645public java.util.regex.Pattern <B>getDigitRegexp</B>()</PRE>
646<DL>
647<DD><DL>
648</DL>
649</DD>
650</DL>
651<HR>
652
653<A NAME="setDigitRegexp(java.util.regex.Pattern)"><!-- --></A><H3>
654setDigitRegexp</H3>
655<PRE>
656public void <B>setDigitRegexp</B>(java.util.regex.Pattern&nbsp;digitRE)</PRE>
657<DL>
658<DD><DL>
659</DL>
660</DD>
661</DL>
662<HR>
663
664<A NAME="getEscapeRule()"><!-- --></A><H3>
665getEscapeRule</H3>
666<PRE>
667public <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A> <B>getEscapeRule</B>()</PRE>
668<DL>
669<DD><DL>
670</DL>
671</DD>
672</DL>
673<HR>
674
675<A NAME="setEscapeRule(org.gjt.sp.jedit.syntax.ParserRule)"><!-- --></A><H3>
676setEscapeRule</H3>
677<PRE>
678public void <B>setEscapeRule</B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax">ParserRule</A>&nbsp;escapeRule)</PRE>
679<DL>
680<DD><DL>
681</DL>
682</DD>
683</DL>
684<HR>
685
686<A NAME="getDefault()"><!-- --></A><H3>
687getDefault</H3>
688<PRE>
689public byte <B>getDefault</B>()</PRE>
690<DL>
691<DD><DL>
692</DL>
693</DD>
694</DL>
695<HR>
696
697<A NAME="setDefault(byte)"><!-- --></A><H3>
698setDefault</H3>
699<PRE>
700public void <B>setDefault</B>(byte&nbsp;def)</PRE>
701<DL>
702<DD><DL>
703</DL>
704</DD>
705</DL>
706<HR>
707
708<A NAME="getNoWordSep()"><!-- --></A><H3>
709getNoWordSep</H3>
710<PRE>
711public java.lang.String <B>getNoWordSep</B>()</PRE>
712<DL>
713<DD><DL>
714</DL>
715</DD>
716</DL>
717<HR>
718
719<A NAME="setNoWordSep(java.lang.String)"><!-- --></A><H3>
720setNoWordSep</H3>
721<PRE>
722public void <B>setNoWordSep</B>(java.lang.String&nbsp;noWordSep)</PRE>
723<DL>
724<DD><DL>
725</DL>
726</DD>
727</DL>
728<HR>
729
730<A NAME="isBuiltIn()"><!-- --></A><H3>
731isBuiltIn</H3>
732<PRE>
733public boolean <B>isBuiltIn</B>()</PRE>
734<DL>
735<DD>Returns if this is a built-in ruleset.
736<P>
737<DD><DL>
738<DT><B>Since:</B></DT>
739  <DD>jEdit 4.2pre1</DD>
740</DL>
741</DD>
742</DL>
743<HR>
744
745<A NAME="toString()"><!-- --></A><H3>
746toString</H3>
747<PRE>
748public java.lang.String <B>toString</B>()</PRE>
749<DL>
750<DD><DL>
751<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
752</DD>
753<DD><DL>
754</DL>
755</DD>
756</DL>
757<!-- ========= END OF CLASS DATA ========= -->
758<HR>
759
760
761<!-- ======= START OF BOTTOM NAVBAR ====== -->
762<A NAME="navbar_bottom"><!-- --></A>
763<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
764<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
765<TR>
766<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
767<A NAME="navbar_bottom_firstrow"><!-- --></A>
768<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
769  <TR ALIGN="center" VALIGN="top">
770  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
771  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
772  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
773  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ParserRuleSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
774  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
775  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
776  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
777  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
778  </TR>
779</TABLE>
780</TD>
781<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
782</EM>
783</TD>
784</TR>
785
786<TR>
787<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
788&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRule.html" title="class in org.gjt.sp.jedit.syntax"><B>PREV CLASS</B></A>&nbsp;
789&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax"><B>NEXT CLASS</B></A></FONT></TD>
790<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
791  <A HREF="../../../../../index.html?org/gjt/sp/jedit/syntax/ParserRuleSet.html" target="_top"><B>FRAMES</B></A>  &nbsp;
792&nbsp;<A HREF="ParserRuleSet.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
793&nbsp;
794<NOSCRIPT>
795  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
796</NOSCRIPT>
797
798
799</FONT></TD>
800</TR>
801<TR>
802<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
803  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
804<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
805DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
806</TR>
807</TABLE>
808<A NAME="skip-navbar_bottom"></A>
809<!-- ======== END OF BOTTOM NAVBAR ======= -->
810
811<HR>
812
813</BODY>
814</HTML>